Expand description
Functions for computing morphological operators.
Functionsยง
- close
- Dilation followed by erosion.
- close_
mut - Dilation followed by erosion.
- dilate
- Sets all pixels within distance
k
of a foreground pixel to white. - dilate_
mut - Sets all pixels within distance
k
of a foreground pixel to white. - erode
- Sets all pixels within distance
k
of a background pixel to black. - erode_
mut - Sets all pixels within distance
k
of a background pixel to black. - open
- Erosion followed by dilation.
- open_
mut - Erosion followed by dilation.