Support
Search:     Advanced search
Browse by category:
Contact Us



Morphological Operator

Add comment
Views: 515
Votes: 0
Comments: 0
Posted: 06 Jun, 2008
by: Admin A.
Updated: 07 Jun, 2008
by: Admin A.
Morphology
Applies a morphological operation to the image.

Category:Image Processing

 
Description
Morphological operators take an image and a structuring element as input and combine them using a set operator (intersection, union, inclusion, complement). They process objects in the input image based on characteristics of its shape, which are defined in the structuring element.
The structuring element is shifted over the image and at each pixel of the image its elements are compared with the underlying pixels. If the two sets of elements match the condition defined by the set operator, the pixel underneath the origin of the structuring element is set to a predefined value.
The operators are useful for the analysis of images and common usages include edge detection, noise removal, image enhancement and image segmentation.
Static Properties
Morphological Operator
Selects the morphological operator to apply. You can choose from the following operators:
Erode. The effect of the operator on a image is the erosion of the boundaries of regions of foreground pixels. Therefore, areas of foreground pixels shrink, and holes within those areas become larger.
Dilate. This operator is complementary to Erode operator. The effect on a image is to gradually enlarge the boundaries of regions of foreground pixels. Therefore areas of foreground pixels grow in size while holes within those regions become smaller.
Open. This operator is derived from applying an erosion followed by a dilatation. Opening preserves foreground regions that have a similar shape to the structuring element, while eliminates all other regions of foreground pixels.
Close. This operator is derived from applying a dilatation followed by an erosion. The Close operator is complementary to the Open operator. Close preserves background regions that have a similar shape to the structuring element, while eliminates all other regions of background pixels.
Gradient. This operator is the result of subtracting an erosion from a dilatation. The gradient operator diminish edges which are similar to the structuring element and enhances edges which differ from the structuring element.
Top Hat. This operator is the result of subtracting a opening from the original image. It enhances foreground peaks.
Black Hat. This operator is the result of subtracting the original image from a closing. It enhances background peaks.
Iterations
Number of times the morphological operator is executed.
Display Operation
Specifies whether or not to display the image resulting from the operation.
Rows
Number of rows of the structuring element.
Columns
Number of columns of the structuring element.
Anchor Row
Row where the structuring element anchor is positioned.
Anchor Col
Column where the structuring element anchor is positioned.
Structuring Element
Shape of the structuring element defined in a matrix.
Dynamic Properties
Input Properties
InputImage
Holds the image or ROI to be processed by the operation. Can be gray level or color image.
Output Properties
OutputImage
Holds the resulting image from the operation.
 
See also:
Sample
 
Others in this Category
document Image Threshold
document Image Adjustments
document Gradient filters
document Convolution
document Smoothing Filters
document Image Arithmetics



RSS