Morphology#
Erode#
|
Apply morphological erosion (local minimum) to a 2D raster. |
Dilate#
|
Apply morphological dilation (local maximum) to a 2D raster. |
Opening#
|
Apply morphological opening (erosion then dilation) to a 2D raster. |
Closing#
|
Apply morphological closing (dilation then erosion) to a 2D raster. |
Gradient#
|
Morphological gradient: dilation minus erosion. |
White top-hat#
White top-hat: original minus opening. |
Black top-hat#
Black top-hat: closing minus original. |
Kernel Construction#
Return a boolean 2D array for a circular structuring element. |