Morpho¶
-
morpho.
Dilate
(clip clip[, int size=5, int shape=0])¶
-
morpho.
Erode
(clip clip[, int size=5, int shape=0])¶
-
morpho.
Open
(clip clip[, int size=5, int shape=0])¶
-
morpho.
Close
(clip clip[, int size=5, int shape=0])¶
-
morpho.
TopHat
(clip clip[, int size=5, int shape=0])¶
-
morpho.
BottomHat
(clip clip[, int size=5, int shape=0])¶ A set of simple morphological filters. Useful for working with mask clips.
Parameters (common to all functions):
- clip
- Clip to be processed. Must be 8-16 bits per sample.
- size
- Size of the structuring element, in pixels.
- shape
Shape of the structuring element. Possible values are:
0: Square 1: Diamond 2: Circle