Method Erode
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Erode(InputArray, OutputArray, InputArray, bool, Point?)
Erodes an run-length encoded binary image by using a specific structuring element.
public static void Erode(InputArray rlSrc, OutputArray rlDest, InputArray rlKernel, bool bBoundaryOn = true, Point? anchor = null)
Parameters
rlSrcInputArrayinput image
rlDestOutputArrayresult
rlKernelInputArraykernel
bBoundaryOnboolindicates whether pixel outside the image boundary are assumed to be on (True: works in the same way as the default of cv::erode, False: is a little faster)
anchorPoint?position of the anchor within the element; default value (0, 0) is usually the element center.