morpho_utilities
Wrappers over morphological functions.
-
Yayi.morpho_utilities.MClose(im, size=1, se=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Closes of the input image with se as structuring element. Homothetic dilation/erosion is used if size > 1.
-
Yayi.morpho_utilities.MDilate(im, size=1, se=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Dilates im with the structuring element se.
| Parameters: |
- im (image) – input image to dilate
- size (integer) – the size of the dilation.
- se (structuring-element) – the structuring element used for the dilation.
|
Note
This operation is homothetic if size > 1.
-
Yayi.morpho_utilities.MErode(im, size=1, se=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Erodes im with the structuring element se.
Note
This operation is homothetic if size > 1.
-
Yayi.morpho_utilities.MInf(im1, im2)[source]
Computes the infimum (value intersection) of two images
\[\forall p \in \mathcal{D}(im_1) \cap \mathcal{D}(im_2), im_o(p) = im_1(p) \wedge im_2(p)\]
-
Yayi.morpho_utilities.MOpen(im, size=1, se=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Opens of the input image with se as structuring element. Homothetic dilation/erosion is used if size > 1.
-
Yayi.morpho_utilities.MSup(im1, im2)[source]
Computes the supremum (value union) of two images.
\[\forall p \in \mathcal{D}(im_1) \cap \mathcal{D}(im_2), im_o(p) = im_1(p) \vee im_2(p)\]
-
Yayi.morpho_utilities.MWatershed(imIn, nl=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Thick version of the watershed
-
Yayi.morpho_utilities.MWatershedCons(imIn, mk, nl=<YayiStructuringElementPython.StructuringElement object at 0x111690d00>)[source]
Thick version of the constrained watershed