Settings
- MorphOpCode - The morphology operation (function) that this step performs when run. It is a list box containing allowable values for this setting:
- Erode (Default) - Apply the AND operator to the neighborhood such that the pixel at the center of the neighborhood is eroded (set to Off) if any of the pixels in the neighborhood are Off.
- Weak Erode - Apply the AND operator to the neighborhood such that the pixel at the center of the neighborhood is eroded (set to Off) only if 2 or more pixels in the neighborhood are already Off. This operator is like a diluted erosion.
- Shape Erode - Apply the AND operator to the neighborhood such that the pixel at the center of the neighborhood is eroded (set to Off) if it is located along the contour of the object. This allows an object to erode while maintaining its original shape.
- Noise Erode - Erode single and sparse pixels groups.
- Dilate - Apply the OR operator to the neighborhood such that the pixel at the center of the neighborhood is dilated (set to On) if any of the pixels in the neighborhood are On.
- Weak Dilate - Apply the OR operator to the neighborhood such that the pixel at the center of the neighborhood is deleted (set to On) only if 2 or more pixels in the neighborhood are already On. This operator is like a diluted full dilation.
- Shape Dilate - Apply the OR operator to the neighborhood such that the pixel at the center of the neighborhood is dilated (set to On) if it is located along the contour of the object. This allows an object to dilate while maintaining its original shape.
- NOP - The output matches the input, no changes are done.
- Border - The value of virtual pixels surrounding the region being processed. Border pixels are used in 3x3 neighborhood operations of real pixels that are on the edge of the input region. Border values are either Dark or Light.
Default: Dark
- Threshold - Is a value from 0 to 255. This value determines whether a pixel is On or Off, depending on the Polarity (Normal/Reverse) selected. With Normal polarity, pixels greater than or equal to this value are treated as On. With Reverse polarity, pixels greater than or equal to this value are treated as Off, and pixels less than this value are treated as On.
- Iterations - The number of times the morphology operation is performed on the input image. If you enter a value less than one, one iteration is performed.
Default: 1
- Polarity - The polarity of the objects being processed:
- Light - A pixel above the threshold is considered On and a pixel below the threshold is considered Off. In this case, erosion means erosion of white - shrink light objects and dilation means dilation of white - grow light objects.
- Dark - A pixel below the threshold is considered On and a pixel above the threshold is considered Off. In this case, erosion means erosion of dark - shrink dark objects and dilation means dilation of dark - grow dark objects.
- Source Is Binary - Flag indicating that the input image is a binary image (all pixels are either 0 or 1). When this flag is On, the threshold value does not have any effect.
Default: Disabled