2D Morphological Operator ( IAMorphological )
Parameters:
Name |
Short Name |
Type |
Description |
Type |
type |
string |
Available morphological operators: "Erode", "Dilate", "Open", "Close", "Top-Hat", "Black Top-Hat" or "Gradient" |
Size |
size |
integer |
Diameter of the structuring element in pixels |
Shape |
shape |
string |
Shape of the structuring element: "Box" or "Disc" |
Description:
Grayscale or binary morphological operators using a structuring element defined by "Shape" and "Size".
Erode or Dilate shrinks or grows (bright) objects by the structuring element.
Open or Close splits (bright) objects, enlarges holes or fills holes smaller than the structuring element.
The white top-hat transform yields those objects that are smaller than the structuring element (i.e., places where the structuring element does not fit in), and are brighter than their surroundings. This results those pixels which are removed by opening using the same structuring element.
The black top-hat yields those objects that are smaller than the structuring element, and are darker than their surroundings.
Gradient calculates morphological gradient of an image.