dilate static method
Morphological dilation: expands bright regions, fills small dark gaps.
kernelSize — Structuring element size (odd). Default: 3.
Implementation
static Uint8List dilate(
Uint8List gray,
int width,
int height, {
int kernelSize = 3,
}) {
return _morphologyOp(gray, width, height, kernelSize, _MorphOp.dilate);
}