OpenLvVision_OpenCv.lvlib:Dilate.vim

Dilates an image by using a specific structuring element.

The function dilates the source image using the specified structuring element that determines the shape of a pixel neighborhood over which the maximum is taken:

$ \texttt{dst}(x,y) = \max_{(x',y'): \, \texttt{element}(x',y') \neq 0} \texttt{src}(x+x',y+y') $

The function supports the in-place mode. Dilation can be applied several (iterations) times. In case of multi-channel images, each channel is processed independently.

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:Dilate.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 image; the number of channels can be arbitrary, but the depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst

output image of the same size and type as src.

cnclst

Anchor

position of the anchor within the element; default value (-1, -1) means that the anchor is at the element center.

    ci32

    X

    ci32

    Y

ci32

iterations

number of times dilation is applied.

ci32

BorderTypes

pixel extrapolation method, see BorderTypes. BORDER_WRAP is not suported.

BORDER_CONSTANT = 0, !< `iiiiii|abcdefgh|iiiiiii` with some specified `i`

BORDER_REPLICATE = 1, `aaaaaa|abcdefgh|hhhhhhh`

BORDER_REFLECT = 2, `fedcba|abcdefgh|hgfedcb`

BORDER_WRAP = 3, `cdefgh|abcdefgh|abcdefg`

BORDER_REFLECT_101 = 4, `gfedcb|abcdefgh|gfedcba`

BORDER_TRANSPARENT = 5, `uvwxyz|abcdefgh|ijklmno` - Treats outliers as transparent.

BORDER_ISOLATED = 16 Interpolation restricted within the ROI boundaries.

c1ddbl

borderValue

border value in case of a constant border

    cdbl

c2du8

Kernel

structuring element used for dilation; if element=Mat(), a 3 x 3 rectangular structuring element is used. Kernel can be created using getStructuringElement

    cu8

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 image of the same size and type as src.