SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operationsmukesh bhardwaj
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentationasodariyabhavesh
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processingasodariyabhavesh
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingJohn Williams
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationVARUN KUMAR
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation pptGichelle Amon
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extractionRishabh shah
 
Image segmentation
Image segmentationImage segmentation
Image segmentationDeepak Kumar
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESVicky Kumar
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processingAbinaya B
 

What's hot (20)

Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Canny Edge Detection
Canny Edge DetectionCanny Edge Detection
Canny Edge Detection
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Unit ii
Unit iiUnit ii
Unit ii
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 

Similar to Morphological image processing

Lec_9_ Morphological ImageProcessing .pdf
Lec_9_ Morphological ImageProcessing .pdfLec_9_ Morphological ImageProcessing .pdf
Lec_9_ Morphological ImageProcessing .pdfnagwaAboElenein
 
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
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary ExtractionMaria Akther
 
Lec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].pptLec07-CH9-MORPHOL [Recovered].ppt
Lec07-CH9-MORPHOL [Recovered].pptAyeleNugusie
 
COM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingCOM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingHemantha Kulathilake
 
Morphological image processing.pdf
Morphological image processing.pdfMorphological image processing.pdf
Morphological image processing.pdfErwin512140
 
morphological tecnquies in image processing
morphological tecnquies in image processingmorphological tecnquies in image processing
morphological tecnquies in image processingsoma saikiran
 
DigitalImageProcessing 9-Morphology.ppt
DigitalImageProcessing 9-Morphology.pptDigitalImageProcessing 9-Morphology.ppt
DigitalImageProcessing 9-Morphology.pptFazaFoudhaili
 
Morphological.pdf
Morphological.pdfMorphological.pdf
Morphological.pdfpawankamal3
 
Morphology gonzalez-woods
Morphology gonzalez-woodsMorphology gonzalez-woods
Morphology gonzalez-woodsSonam Maurya
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphologyRumah Belajar
 
Morphological Operations (2).pptx
Morphological Operations (2).pptxMorphological Operations (2).pptx
Morphological Operations (2).pptxRiyaLuThra7
 
Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Kazi Mostafa
 
An application of morphological
An application of morphologicalAn application of morphological
An application of morphologicalNaresh Chilamakuri
 
2nd lect CADCAM.pptx
2nd lect CADCAM.pptx2nd lect CADCAM.pptx
2nd lect CADCAM.pptxAhmed Sobhi
 

Similar to 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...
 
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
 
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
 
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
 
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 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
 
Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images
 
An application of morphological
An application of morphologicalAn application of morphological
An application of morphological
 
2nd lect CADCAM.pptx
2nd lect CADCAM.pptx2nd lect CADCAM.pptx
2nd lect CADCAM.pptx
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

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.