Morphological Operators Pv8
Morphological Operators Pv8
Morphological operations
HITS
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 1 0 0 0
0 0 1 1 1 0 0 0 0 0 1 0 0 0
0 1 1 1 1 1 0 0 1 1 1 1 1 0
0 0 1 1 1 0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
Erosion
Structuring Element
Erosion Example
Original Image Processed Image
Structuring Element
Dilation
2
With A and B as sets in Z , the dilation of A by B,
denoted A B, is defined as
A
A B= z | B
z
Dilation example (Gonzalez)
Dilation Example
Original Image Processed Image
Structuring Element
Dilation Example
Original Image Processed Image With Dilated Pixels
Structuring Element
Dilation
Growing or thickening effect on the objects of a binary image
The extent of thickening is a function of shape of the
structuring element used
superimpose the structuring element on top of the input image
so that the origin of the structuring element coincides with the
input pixel position.
If at least one pixel in the structuring element coincides with a
foreground pixel in the image underneath, then the input pixel
is set to the foreground value.
If all the corresponding pixels in the image are background,
however, the input pixel is left at the background value.
Opening and closing (compound
operations)
- +
+ -
Morphological processing - example