erode static method
Morphological erosion: shrinks bright regions, removes small bright noise.
kernelSize — Structuring element size (odd). Default: 3.
Implementation
static Uint8List erode(
Uint8List gray,
int width,
int height, {
int kernelSize = 3,
}) {
return _morphologyOp(gray, width, height, kernelSize, _MorphOp.erode);
}