Morphological erosion
ID: morphological-erosion
For foreground set and structuring element , morphological erosion isThus an output position is retained only when every offset in the translated structuring element lands inside the foreground. This can shrink regions and remove features narrower than the neighborhood.[ref]
Morphological Filtering in the scikit-image documentation. Erosion, local-neighborhood minimum and disk example
For and , only starts zero and one have their successor in , giving . The point five disappears. For grayscale data with a flat footprint, the analogous operation takes a local minimum. An image implementation additionally chooses border rules; the set formula assumes the ambient space outside is background.
New to topics? Read the docs here!