0% found this document useful (0 votes)
13 views

Morphological Image Processing - Part3

The document discusses grayscale morphological image processing and describes grayscale erosion, opening and closing, using morphological operations to segment coins from an image, and the top hat transform which opens an image then subtracts it from the original.

Uploaded by

amir hossein
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Morphological Image Processing - Part3

The document discusses grayscale morphological image processing and describes grayscale erosion, opening and closing, using morphological operations to segment coins from an image, and the top hat transform which opens an image then subtracts it from the original.

Uploaded by

amir hossein
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Morphological Image

Processing
part3
Grayscale Morphology
Grayscale Morphology
Gray Scale Erosion
Example
Opening for Grayscale Image
Closing for Grayscale Image
Illustration of 1-D Grayscale Opening and
Closing

opening

closing
Example of Grayscale Opening and Closing
Example
• Segment the coins from the image
MATLAB Code
Top Hat Transform
• Open the image with a structuring element subtract it from the
original
• Leaves only details smaller than structuring element

f ℎ = 𝑓 − (𝑓 𝑜 𝑏)

𝑓𝑜𝑏

t t
Summary / Questions
• Morphological algorithms are a useful set of tools for extracting
features of interest in a binary image, including
• Finding connected region
• Filtering out very large or very small region
• Finding the boundary of regions
• Filling in the interior of regions
• Finding the skeleton of region
• Morphological algorithms can be extended to grayscale images
• What does “dilation” and “erosion” mean for grayscale?

You might also like