Professional Documents
Culture Documents
Morphology Intro
Morphology Intro
Dilation is one of the elementary operators of Mathematical Morphology, that is, it is a building block for a large class of operators. The key process in the dilation operator is the local comparison of a shape, called structural element, with the object to be transformed. When the structural element is positioned at a given point and it touches the object, then this point will appear in the result of the transformation, otherwise it will not. The images bellow show an original object and the result of its dilation by a 3x3 square structural element.
The image bellow shows the original object (yellow foreground), the transformed object (white foreground), and the structural element (red foreground) when positioned in a critical point.
The images bellow shows a more complex object and the result of its dilation by a digital disk as a structural element.
Erosion Example
The erosion is one of the elementary operators of Mathematical Morphology, that is, it is one of the building blocks of a large class of operators. The key mechanism under the erosion operator is the local comparison of a shape, called structural element, with the object that will be transformed. If, when positioned at a given point, the structural element is included in the object then this point will appear in the result of the transformation, otherwise not. The figures below show an object and the result of its erosion by a 3x3 cross.
The figure below shows the original image (foreground in black and white, and background in blue), the transformed image (foreground in white), and structural element positioned in a critical point.
The figure below shows a more complex object and the result of its erosion by a digital disk.
Opening Operator
This morphological operator can be expressed as a composition of an erosion followed by a dilation, both by the same input structural element. As erosions and dilations, the key mechanism under the opening operator is the local comparison of a shape, the structural element, with the object that will be transformed. If, when positioned at a given point, the structural element is included in the object than the whole structural element will appear in the result of the transformation, otherwise none of its points will appear. The following figures present a binary image and the result of its opening by a small Euclidian disk.
Closing Operator
This morphological operator can be expressed as composition of a dilation followed by an erosion. As in the opening operator, the key mechanism under the closing operator is the local comparison of a shape, the structural element, with the object that will be transformed. if, when positioned at a given point, the structural element is included in the complement of the image, then the whole structural element will appear in the complement of the transformed image, otherwise none of its points will appear in this image. The following figures present a binary image and the result of its closing bu a small euclidian disk.
The following figure presents a colored composition of the original image, its closing by a small Euclidian disk and the structural element positioned in some critical points.