OpenLvVision_OpenCv.lvlib:MeanStdDev.vim

Calculates a mean and standard deviation of array elements.

The function meanStdDev calculates the mean and the standard deviation of array elements independently for each channel and returns them via the output parameters:

$ \begin{array}{l} N = \sum\limits_{I, \ \texttt{mask}(I) \ne 0} 1 \\ \texttt{mean}_c = \frac{\sum\limits_{I : \ \texttt{mask}(I) \ne 0} \texttt{src}(I)_c}{N} \\ \texttt{stddev}_c = \sqrt{\frac{\sum\limits_{I : \ \texttt{mask}(I) \ne 0} \left( \texttt{src}(I)_c - \texttt{mean}_c \right)^2}{N}} \end{array} $

For detailed information, please refer to the OpenCV documentation

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

Src

input array that should have from 1 to 4 channels.

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

i1ddbl

Mean

Calculated mean value

    idbl

    Numeric

i1ddbl

StandardDeviation

calculated standard deviation.

    idbl

    Numeric