erode static method
Mat
erode(
- InputArray rlSrc,
- InputArray rlKernel, {
- bool bBoundaryOn = true,
- (int, int) anchor = (0, 0),
Erodes an run-length encoded binary image by using a specific structuring element.
Implementation
static Mat erode(
InputArray rlSrc,
InputArray rlKernel, {
bool bBoundaryOn = true,
(int, int) anchor = (0, 0),
}) {
final dst = Mat.empty();
cvRun(
() => ccontrib.cv_ximgproc_rl_erode(
rlSrc.ref,
dst.ref,
rlKernel.ref,
bBoundaryOn,
anchor.toPoint().ref,
ffi.nullptr,
),
);
return dst;
}