morphology
DESCRIPTION
MorphologyTRANSCRIPT
![Page 1: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/1.jpg)
By,
Hemant Tulsani
M. Tech. (Signal Processing)
00110100512
![Page 2: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/2.jpg)
Morphological image processing (or
morphology) describes a range of image
processing techniques that deal with the shape
(or morphology) of features in an image.
Morphological operations are typically applied
to remove imperfections introduced during
segmentation, and so typically operate on bi-
level images.
![Page 3: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/3.jpg)
Fit: All on pixels in the structuring element cover on pixels in the image
Hit: Any on pixel in the structuring element covers an on pixel in the image
B
AC
Structuring Element
All morphological processing operations are based
on these simple ideas
![Page 4: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/4.jpg)
Structuring elements can be any size and make
any shape
However, for simplicity we will use rectangular
structuring elements with their origin at the
middle pixel
1 1 1
1 1 1
1 1 1
0 0 1 0 0
0 1 1 1 0
1 1 1 1 1
0 1 1 1 0
0 0 1 0 0
0 1 0
1 1 1
0 1 0
![Page 5: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/5.jpg)
Fundamentally morphological image processing
is very like spatial filtering
The structuring element is moved across every
pixel in the original image to give a pixel in a
new processed image
The value of this new pixel depends on the
operation performed
There are two basic morphological operations:
erosion and dilation
![Page 6: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/6.jpg)
Erosion of image f by structuring element s is
given by f s
The structuring element s is positioned with its
origin at (x, y) and the new pixel value is
determined using the rule:
otherwise 0
fits if 1),(
fsyxg
![Page 7: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/7.jpg)
Structuring Element
Original Image Processed Image
![Page 8: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/8.jpg)
Original image Erosion by 3*3
square structuring
element
Erosion by 5*5
square structuring
element
![Page 9: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/9.jpg)
Erosion can split apart joined objects
Erosion can strip away extrusions
Erosion shrinks objects
![Page 10: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/10.jpg)
Dilation of image f by structuring element s is
given by f s
The structuring element s is positioned with its
origin at (x, y) and the new pixel value is
determined using the rule:
otherwise 0
hits if 1),(
fsyxg
![Page 11: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/11.jpg)
Structuring Element
Original Image Processed Image With Dilated Pixels
![Page 12: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/12.jpg)
Original image Dilation by 3*3
square structuring
element
Dilation by 5*5
square structuring
element
![Page 13: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/13.jpg)
Dilation can repair breaks
Dilation can repair intrusions
Watch out: Dilation enlarges objects
![Page 14: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/14.jpg)
More interesting morphological operations can
be performed by performing combinations of
erosions and dilations
The most widely used of these compound
operations are:
Opening
Closing
![Page 15: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/15.jpg)
The opening of image f by structuring element
s, denoted f ○ s is simply an erosion followed by
a dilation
f ○ s = (f s) s
Original shape After erosion After dilation
(opening)
![Page 16: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/16.jpg)
Structuring Element
Original Image Processed Image
![Page 17: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/17.jpg)
The closing of image f by structuring element s,
denoted f • s is simply a dilation followed by an
erosion
f • s = (f s)s
Original shape After dilation After erosion
(closing)
Note a disc shaped structuring element is used
![Page 18: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/18.jpg)
Structuring Element
Original Image Processed Image
![Page 19: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/19.jpg)
Morphological reconstruction used for
extracting meaningful information about
shapes in an image.
It involves two images and a structuring
element.
One image, the marker, is the starting point
for the transformation.
The other image, the mask, constrains the
transformation.
![Page 20: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/20.jpg)
a) Mask.
b) Marker.
c) Intermediate Result (100
iterations).
d) Intermediate Result (200
iterations).
e) Intermediate Result (300
iterations).
f) Final Result.
![Page 21: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/21.jpg)
Extract specified configuration of pixels.
![Page 22: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/22.jpg)
Image under consideration
![Page 23: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/23.jpg)
Boundary Extraction
![Page 24: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/24.jpg)
Skeletonization
![Page 25: Morphology](https://reader033.vdocument.in/reader033/viewer/2022052704/577cc7801a28aba711a123d1/html5/thumbnails/25.jpg)