OpenLvVision_OpenCv.lvlib:BitwiseXor.vim

Calculates the per-element bit-wise "exclusive or" operation on two arrays or an array and a scalar.

The function bitwiseXor calculates the per-element bit-wise logical "exclusive-or" operation for:

  • Two arrays (when src1 and src2 have the same size):
    $ \texttt{dst}(I) = \texttt{src1}(I) \oplus \texttt{src2}(I) \quad \texttt{if mask}(I) \ne 0 $
  • An array and a scalar (when src2 is constructed from Scalar or has the same number of elements as src1.channels()):
    $ \texttt{dst}(I) = \texttt{src1}(I) \oplus \texttt{src2} \quad \texttt{if mask}(I) \ne 0 $
  • A scalar and an array (when src1 is constructed from Scalar or has the same number of elements as src2.channels()):
    $ \texttt{dst}(I) = \texttt{src1} \oplus \texttt{src2}(I) \quad \texttt{if mask}(I) \ne 0 $

In case of floating-point arrays, their machine-specific bit representations (usually IEEE754-compliant) are used for the operation. In case of multi-channel arrays, each channel is processed independently. In the second and third cases above, the scalar is first converted to the array type.

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:BitwiseXor.vim

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src1

First input array or image

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src2

Second input array, image or constant

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst

Output array or image that has the same size and number of channels as the input arrays or image.

the depth is defined by src1/src2.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Mask

Mask - 8-bit single channel array or image, that specifies elements of the output image to be changed.

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

iOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst out

Output array or image that has the same size and number of channels as the input arrays or image.

the depth is defined by src1/src2.