OpenLvVision_OpenCv.lvlib:AddWeighted.vim

Calculates the weighted sum of two arrays.

The function addWeighted calculates the weighted sum of two arrays as follows:

$ \texttt{dst}(I) = \texttt{saturate} ( \texttt{src1}(I) \cdot \texttt{alpha} + \texttt{src2}(I) \cdot \texttt{beta} + \texttt{gamma} ) $

Where I is a multi-dimensional index of array elements. In case of multi-channel arrays, each channel is processed independently.

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:AddWeighted.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.

cdbl

Alpha

weight of the first array elements.

cdbl

Beta

weight of the second array elements.

cdbl

Gamma

scalar added to each sum.

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.