OpenLvVision_OpenCv.lvlib:Normalize.vim

Normalizes the norm or value range of an array.

when normType=NORM_MINMAX (for dense arrays only). The optional mask specifies a sub-array to be normalized. This means that the norm or min-n-max are calculated over the sub-array, and then this sub-array is modified to be normalized.

The function normalize normalizes, scales, and shifts the input array elements so that:

  • When normType = NORM_INF, NORM_L1, or NORM_L2 (where p = ∞, 1, or 2 respectively):
    $ \| \texttt{dst} \|_{L_p} = \texttt{alpha} $
  • Or, so that:
    $ \min_I \texttt{dst}(I) = \texttt{alpha}, \quad \max_I \texttt{dst}(I) = \texttt{beta} $

For detailed information, please refer to the OpenCV documentation

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

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst

output array of the same size as src .

cdbl

Alpha

norm value to normalize to or the lower range boundary in case of the range normalization.

cdbl

Beta

upper range boundary in case of the range normalization; it is not used for the norm normalization.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Mask

optional operation mask.

ci32

NormType

normalization type (see NormTypes).

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.