Module morphology

Module morphology 

Source
Expand description

Functions for computing morphological operators.

Structs§

Mask
A mask used in grayscale morphological operations.

Functions§

close
Dilation followed by erosion.
close_mut
An in-place version of close().
dilate
Sets all pixels within distance k of a foreground pixel to white.
dilate_mut
An in-place version of dilate().
erode
Sets all pixels within distance k of a background pixel to black.
erode_mut
An in-place version of erode().
grayscale_close
Grayscale dilation followed by grayscale erosion.
grayscale_dilate
Computes the morphologic dilation of image with the given mask.
grayscale_erode
Computes the morphologic erosion of image with the given mask.
grayscale_open
Grayscale erosion followed by grayscale dilation.
open
Erosion followed by dilation.
open_mut
An in-place version of open().