Image Processing
Image Processing
10CS762 /10IS762
Digital Image Processing
Prepared by
Harivinod N
Assistant Professor,
Dept. of Computer Science and Engineering,
VCET Puttur
2016-17
Question and Answers || Unit 8: Mathematical Morphology
Applications of morphology
Q8. Explain the procedure for boundary extraction using morphological operators.
Q9. What do you mean by skeletanization? Explain thinning by structural elements.
Q10. How Region/Hole filling is achieved through morphology?
Gray-scale
scale dilation and erosion
Q11. Describe Umbra, Top surface.
Q12. Explain how erosion and dilation can be applied to a grayscale image?
Segmentation
Q13. Describe top hat transformation with a diagram.
Q14. Explain morphological segmentation and watershed.
If Ψ does not depend on the position of the origin O , then the compatibility with translation:
principle reduces to invariance under translation
If Ψ does not depend on the scale λ,, then compatibility with change of scale reduces to
invariance to change of scale
3. Local knowledge
The morphological transformation Ψ satisfies the local know ledge principle if for any
bounded point set Z' in the transformation Ψ (X) there exists a bounded set Z, knowledge of
which is sufficient to provide Ψ.
Ψ
The local knowledge principle may be written
writt symbolically as
4. Upper semi-continuity
The upper semi-continuity
continuity principle says that the morphological transformation does not
exhibit any abrupt changes.
Example:
Note: In the above example in a point p(x,y), x denotes column number starting with 0 and y
denotes row number starting with 0
Erosion: Erosion combines two sets using vector subtraction of set elements and is the dual
operator of dilation.
This formula says that every point p from the image is tested.
tested The result of the erosion is
given by those points p for which all possible p + b are in X.
Example:
Dilation followed by erosion is called closing. Closing removes holes in the image.
If an image X is unchanged by opening with the structuring element B, it is called open with
respect to B. Similarly, if an image X is unchanged by closing with B,, it is called closed with
respect to B.
Illustration:
Result of opening by 3x3
square structuring element
Properties
Another significant fact is that iteratively used openings and closings are idempotent,
Reapplication of these transformations does not change the previous result.
Application
1. Preprocessing fingerprint images.
2. Closing connects objects that are close to each other, fills up small holes, and
smoothes the object outline by filling up narrow gulfs
3. Opening and closing with an isotropic structuring element is used to eliminate specific
image details smaller than the structuring element the global shape of the objects is
not distorted.
AΘB β(A)
Illustration
Example
Umbra
Example
Illustration ( f is 1-dimentional
dimentional function)
Illustration ( f is 1-dimentional
dimentional function)
transformation.
The top hat transformation is a good tool for extracting light objects (or dark ones) on a dark
(or light) but slowly changing background. Those parts of the image that cannot fit into
structuring element K are removed by opening. Subtracting the opened image from the
original provides an image where removed objects stand out clearly. The actual segmentation
can be performed by simple thresholding.
thresh
Marker extraction resembles human behavior when one is asked to indicate objects; the
person just points to objects and does not outline boundaries.
The marker of an object or set X is a set
et M that is included in X. Marker M can computed
manually or semi-automatic
automatic marking methods. When the objects are marked, they can be
grown from the markers, using the watershed transformation which is motivated by the
topographic view of images.
Binary Morphological Segmentation using watersheds
Morphological segmentation in binary images aims to find regions corresponding to
individual overlappingg objects (typically particles).
Each particle is marked first.. Ultimate
U erosion may be used for this purposee or markers may
be placed manually.
The next task is to grow objects from the markers; provided they are kept within the limits of
the original set and parts of objects are not joined when they come close to each other. The
oldest technique for this purpose
ose is called conditional dilation.
Gray-scale
scale segmentation using watersheds
The markers and watersheds method can also be applied to gray-scale
gray scale segmentation.
The contour of a region in a gray-level
gray level image corresponds to points in the image where gray-
gray
levels change most quickly i.e. gradient
g magnitude is high.
Gradient can be approximated as “Beucher's gradient”
The main problem with segmentation via gradient images
without markers is over segmentation, i.e the image is
partitioned into too many regions.
regions
The watershed segmentation methods with markers do
not suffer from over segmentation.
*****