Filter2D
OpenLvVision_OpenCv.lvlib:Filter2D.vim
Convolves an image with the kernel.
The function applies an arbitrary linear filter to an image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values according to the specified border mode.
The function does actually compute correlation, not the convolution:
That is, the kernel is not mirrored around the anchor point. If you need a real convolution, flip the kernel using flip and set the new anchor to (kernel.cols - anchor.x - 1, kernel.rows - anchor.y - 1).
The function uses the DFT-based algorithm in case of sufficiently large kernels ($\sim 11 \times 11$ or larger) and the direct algorithm for small kernels.
For detailed information, please refer to the OpenCV documentation

| 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. |
| 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. |
| code |
| 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. |
| Src input image. |
| Dst output image of the same size and the same number of channels as src. |
| Anchor anchor of the kernel that indicates the relative position of a filtered point within the kernel; the anchor should lie within the kernel; default value (-1,-1) means that the anchor is at the kernel center. |
| X |
| Y |
| Delta number of times dilation is applied. |
| 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. |
| Kernel convolution kernel (or rather a correlation kernel), a single-channel floating point matrix; if you want to apply different kernels to different channels, split the image into separate color planes using split and process them individually. |
|
| 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. |
| 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. |
| code |
| 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. |
| Dst out output image of the same size and the same number of channels as src. |













