SlideShare une entreprise Scribd logo
1  sur  33
SEMINAR ON : 
BY: 
Raghukumar 
D.S.
ABSTRCT 
 Introduction 
 Set Theory Concepts 
 Structuring Elements , Hits or fits 
 Dilation And Erosion 
 Opening And Closing 
 Hit-or-Miss Transformation 
 Basic Morphological Algorithms 
 Implementation 
 Conclusion
Introduction 
 Morphological – Shape , form , Structure 
►Extracting and Describing image component 
regions 
►Usually applied to binary images 
►Based on set Theory
Set Theory 
BASICS: 
If A and B are two sets then 
 UNION = AUB 
 INTERSECTION = A∩B 
 COMPLIMENT = (A)c 
 DIFFERENCE = A-B
BASIC LOGIC OPERATIONS : 
A B A AND B 
A.B 
A OR B 
A+B 
NOT(A) 
− 
푨 
0 0 0 0 1 
0 1 0 1 1 
1 0 0 1 0 
1 1 1 1 0
LOGIC OPERATIONS REPRESENTATION:
Structuring Elements 
 Structuring elements can be any size 
 Structuring make any shape 
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 
Rectangular structuring elements with their origin at the middle 
pixel
Hits And Fits 
Hit: Any on pixel in the 
structuring element 
covers an on pixel in the 
image 
B 
A 
C 
Fit: All on pixels in the 
structuring element cover 
on pixels in the image 
Structuring Element
0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 1 1 0 0 0 0 0 0 0 
0 0 1 B 1 1 1 1 0 C 
0 0 0 0 
0 1 1 1 1 1 1 1 0 0 0 0 
0 1 1 1 1 1 1 1 0 0 0 0 
0 0 1 1 1 1 1 1 0 0 0 0 
0 0 1 1 1 1 1 1 1 0 0 0 
0 0 1 1 1 1 1 A 
1 1 1 1 0 
0 0 0 0 0 1 1 1 1 1 1 0 
0 0 0 0 0 0 0 0 0 0 0 0 
1 1 1 
1 1 1 
1 1 1 
Structuring 
Element 1 
0 1 0 
1 1 1 
0 1 0 
Structuring 
Element 2 
Hits And Fits
Dilation 
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: 
1 if hits 
   
 
0 otherwise 
( , ) 
s f 
g x y 

Example 
Structuring Element 
Original Image 
Processed Image
Original Image Processed Image With Dilated Pixels 
Structuring Element 
Example
Erosion 
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: 
   
 
1 if fits 
0 otherwise 
( , ) 
s f 
g x y
Structuring Element 
Original Image 
Processed Image With Eroded Pixels 
Example
Original Image Processed Image 
Structuring Element 
Example
Erosion v/s Dilation 
Erosion 
 removal of structures of 
certain shape and size, 
given by SE 
 Erosion can split apart 
Dilation 
joined objects and strip 
away extrusions 
 filling of holes of 
certain shape and 
size, given by SE 
 can repair breaks 
and intrusions
Opening And Closing 
 can be performed by performing combinations of 
erosions and dilations 
Combine to 
keep general shape but 
smooth with respect to 
Opening object 
Closing background
Opening 
 Erosion followed by dilation 
 denoted by ∘ 
A B  (AB) B
Original Image Processed Image 
Structuring Element 
Example
Original Image Processed Image 
Structuring Element 
Example
Closing 
 Dilation followed by erosion 
 denoted by • 
f • s = (f s)s 
Original Image Processed Image 
Structuring Element 
Example
Original Image Processed Image 
Structuring Element 
Example
Opening V/S Closing 
Opening 
 AB is a subset 
(subimage) of A 
 If C is a subset of D, 
then C B is a subset 
of D B 
 (A B) B = A B 
Closing 
 A is a subset 
(subimage) of AB 
 If C is a subset of D, 
then C B is a subset 
of D B 
 (A B) B = A B 
Note: repeated openings/closings has no effect!
Hit or Miss Transformation 
Useful to identify specified configuration of pixels, 
such as, isolated foreground pixels or pixels at end 
of lines (end points) 
A*B  (AB1)(AB2)
Illustration 
Original Image A and B1 A eroded by B1 
Complement of Original 
Image and B2
Erosion of A complement 
And B2 
Intersection of eroded images
Morphological Algorithms 
Using the simple technique we have 
looked at so far we can begin to consider 
some more interesting morphological 
algorithms 
We will look at: 
 Boundary extraction
Boundary Extraction 
Extracting the boundary (or outline) of an object 
is often extremely useful 
The boundary can be given simply as 
β(A) = A – (AB)
Illusration
Example 
A simple image and the result of 
performing boundary extraction using a 
square structuring element 
Original Image Extracted Boundary
Conclusion 
Morphology is powerful set of tools for extracting 
features in an image 
We implement algorithms like Thinning thickening 
Skeletons etc. various purpose of image 
processing activities like semantation.
Thank you

Contenu connexe

Tendances

morphological image processing
morphological image processingmorphological image processing
morphological image processing
John Williams
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
Yahya Alkhaldi
 

Tendances (20)

Image Restoration
Image RestorationImage Restoration
Image Restoration
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Image compression .
Image compression .Image compression .
Image compression .
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Segmentation
SegmentationSegmentation
Segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
 
Noise
NoiseNoise
Noise
 

Similaire à Morphological image processing

dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
YogeshNeelappa2
 
Lec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].pptLec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].ppt
AyeleNugusie
 
Morphological.pdf
Morphological.pdfMorphological.pdf
Morphological.pdf
pawankamal3
 
Dilation and erosion
Dilation and erosionDilation and erosion
Dilation and erosion
Aswin Pv
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
Rumah Belajar
 

Similaire à Morphological image processing (20)

Lec_9_ Morphological ImageProcessing .pdf
Lec_9_ Morphological ImageProcessing .pdfLec_9_ Morphological ImageProcessing .pdf
Lec_9_ Morphological ImageProcessing .pdf
 
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
 
DIP_14_54_boundary extraction in dip .ppt
DIP_14_54_boundary extraction in dip .pptDIP_14_54_boundary extraction in dip .ppt
DIP_14_54_boundary extraction in dip .ppt
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
morph.ppt
morph.pptmorph.ppt
morph.ppt
 
CV_Chap 3 Features Detection
CV_Chap 3 Features DetectionCV_Chap 3 Features Detection
CV_Chap 3 Features Detection
 
Lec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].pptLec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].ppt
 
Morphological Image Processing
Morphological Image ProcessingMorphological Image Processing
Morphological Image Processing
 
COM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingCOM2304: Morphological Image Processing
COM2304: Morphological Image Processing
 
Dip Morphological
Dip MorphologicalDip Morphological
Dip Morphological
 
Morphological image processing.pdf
Morphological image processing.pdfMorphological image processing.pdf
Morphological image processing.pdf
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
morphological tecnquies in image processing
morphological tecnquies in image processingmorphological tecnquies in image processing
morphological tecnquies in image processing
 
DigitalImageProcessing 9-Morphology.ppt
DigitalImageProcessing 9-Morphology.pptDigitalImageProcessing 9-Morphology.ppt
DigitalImageProcessing 9-Morphology.ppt
 
Morphological.pdf
Morphological.pdfMorphological.pdf
Morphological.pdf
 
Dilation and erosion
Dilation and erosionDilation and erosion
Dilation and erosion
 
Morphology gonzalez-woods
Morphology gonzalez-woodsMorphology gonzalez-woods
Morphology gonzalez-woods
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
 
Morphological image Processing
Morphological image ProcessingMorphological image Processing
Morphological image Processing
 
Morphological Operations (2).pptx
Morphological Operations (2).pptxMorphological Operations (2).pptx
Morphological Operations (2).pptx
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Dernier (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

Morphological image processing

  • 1. SEMINAR ON : BY: Raghukumar D.S.
  • 2. ABSTRCT  Introduction  Set Theory Concepts  Structuring Elements , Hits or fits  Dilation And Erosion  Opening And Closing  Hit-or-Miss Transformation  Basic Morphological Algorithms  Implementation  Conclusion
  • 3. Introduction  Morphological – Shape , form , Structure ►Extracting and Describing image component regions ►Usually applied to binary images ►Based on set Theory
  • 4. Set Theory BASICS: If A and B are two sets then  UNION = AUB  INTERSECTION = A∩B  COMPLIMENT = (A)c  DIFFERENCE = A-B
  • 5. BASIC LOGIC OPERATIONS : A B A AND B A.B A OR B A+B NOT(A) − 푨 0 0 0 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 0
  • 7. Structuring Elements  Structuring elements can be any size  Structuring make any shape 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 Rectangular structuring elements with their origin at the middle pixel
  • 8. Hits And Fits Hit: Any on pixel in the structuring element covers an on pixel in the image B A C Fit: All on pixels in the structuring element cover on pixels in the image Structuring Element
  • 9. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 B 1 1 1 1 0 C 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 A 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 Structuring Element 1 0 1 0 1 1 1 0 1 0 Structuring Element 2 Hits And Fits
  • 10. Dilation 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: 1 if hits     0 otherwise ( , ) s f g x y 
  • 11. Example Structuring Element Original Image Processed Image
  • 12. Original Image Processed Image With Dilated Pixels Structuring Element Example
  • 13. Erosion 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:     1 if fits 0 otherwise ( , ) s f g x y
  • 14. Structuring Element Original Image Processed Image With Eroded Pixels Example
  • 15. Original Image Processed Image Structuring Element Example
  • 16. Erosion v/s Dilation Erosion  removal of structures of certain shape and size, given by SE  Erosion can split apart Dilation joined objects and strip away extrusions  filling of holes of certain shape and size, given by SE  can repair breaks and intrusions
  • 17. Opening And Closing  can be performed by performing combinations of erosions and dilations Combine to keep general shape but smooth with respect to Opening object Closing background
  • 18. Opening  Erosion followed by dilation  denoted by ∘ A B  (AB) B
  • 19. Original Image Processed Image Structuring Element Example
  • 20. Original Image Processed Image Structuring Element Example
  • 21. Closing  Dilation followed by erosion  denoted by • f • s = (f s)s 
  • 22. Original Image Processed Image Structuring Element Example
  • 23. Original Image Processed Image Structuring Element Example
  • 24. Opening V/S Closing Opening  AB is a subset (subimage) of A  If C is a subset of D, then C B is a subset of D B  (A B) B = A B Closing  A is a subset (subimage) of AB  If C is a subset of D, then C B is a subset of D B  (A B) B = A B Note: repeated openings/closings has no effect!
  • 25. Hit or Miss Transformation Useful to identify specified configuration of pixels, such as, isolated foreground pixels or pixels at end of lines (end points) A*B  (AB1)(AB2)
  • 26. Illustration Original Image A and B1 A eroded by B1 Complement of Original Image and B2
  • 27. Erosion of A complement And B2 Intersection of eroded images
  • 28. Morphological Algorithms Using the simple technique we have looked at so far we can begin to consider some more interesting morphological algorithms We will look at:  Boundary extraction
  • 29. Boundary Extraction Extracting the boundary (or outline) of an object is often extremely useful The boundary can be given simply as β(A) = A – (AB)
  • 31. Example A simple image and the result of performing boundary extraction using a square structuring element Original Image Extracted Boundary
  • 32. Conclusion Morphology is powerful set of tools for extracting features in an image We implement algorithms like Thinning thickening Skeletons etc. various purpose of image processing activities like semantation.