SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingAnubhav Kumar
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingJohn Williams
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processingVinayak Narayanan
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING anam singla
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Region filling
Region fillingRegion filling
Region fillinghetvi naik
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary ExtractionMaria Akther
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Kalyan Acharjya
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentationasodariyabhavesh
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domainAshish Kumar
 

La actualidad más candente (20)

Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Image compression
Image compression Image compression
Image compression
 
Region filling
Region fillingRegion filling
Region filling
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 

Similar a 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
 
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
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
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 a 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...
 
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
 
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
 
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
 
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
 
Chapter 9 newer
Chapter 9   newerChapter 9   newer
Chapter 9 newer
 

Último

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 

Último (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
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
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

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.