morphologyEx static method
Mat
morphologyEx(
- InputArray rlSrc,
- int op,
- InputArray rlKernel, {
- bool bBoundaryOnForErosion = true,
- (int, int) anchor = (0, 0),
Applies a morphological operation to a run-length encoded binary image.
Implementation
static Mat morphologyEx(
InputArray rlSrc,
int op,
InputArray rlKernel, {
bool bBoundaryOnForErosion = true,
(int, int) anchor = (0, 0),
}) {
final dst = Mat.empty();
cvRun(
() => ccontrib.cv_ximgproc_rl_morphologyEx(
rlSrc.ref,
dst.ref,
op,
rlKernel.ref,
bBoundaryOnForErosion,
anchor.toPoint().ref,
ffi.nullptr,
),
);
return dst;
}