1 / 35

DIGITAL IMAGE PROCESSING

DIGITAL IMAGE PROCESSING . Instructors: Dr J. Shanbehzadeh Shanbehzadeh@gmail.com Mostafa Mahdijo mostafa.mahdijoo@gmail.com. Kharazmi University. DIGITAL IMAGE PROCESSING. Chapter 9 – Morphological Image Processing. Instructors: Dr J. Shanbehzadeh Shanbehzadeh@gmail.com

jonah
Download Presentation

DIGITAL IMAGE PROCESSING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Shanbehzadeh@gmail.com MostafaMahdijo mostafa.mahdijoo@gmail.com ( J.ShanbehzadehM.Mahdijo) Kharazmi University

  2. DIGITAL IMAGE PROCESSING Chapter 9 – Morphological Image Processing Instructors: Dr J. Shanbehzadeh Shanbehzadeh@gmail.com MostafaMahdijo mostafa.mahdijoo@gmail.com ( J.ShanbehzadehM.Mahdijo)

  3. Road map of chapter 9 9.1 9.1 9.2 9.2 9.3 9.3 9.4 9.4 • Erosion and Dilation • Opening and Closing • Hit-or-Miss Transformation • Preliminaries • 9.1 Preliminaries • 9.2 Erosion and Dilation • 9.3 Opening and Closing • 9.4 Hit-or-Miss Transformation

  4. preview • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing • Morphology: form and structure • Extracting image components for : • representation and description of region shape • From • Image processing methods • Input: Image Output: Image • To Image processing methods Input: Image Output: Attributes ( J.ShanbehzadehM.Mahdijo)

  5. Preliminaries • Reflection and Translation: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing • Translation: (B)z = {c | c = b + z, for b є B} ( J.ShanbehzadehM.Mahdijo)

  6. Preliminaries • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing • Structuring Elements : ( J.ShanbehzadehM.Mahdijo)

  7. Preliminaries • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing Structuring Elements: ( J.ShanbehzadehM.Mahdijo)

  8. Preliminaries • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing Erosion: ( J.ShanbehzadehM.Mahdijo)

  9. Preliminaries • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  10. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  11. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing • Erosion (More examples): ( J.ShanbehzadehM.Mahdijo)

  12. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing • Erosion (More examples): ( J.ShanbehzadehM.Mahdijo)

  13. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing Erosion in removing salt noise: ( J.ShanbehzadehM.Mahdijo)

  14. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing Dilation: ( J.ShanbehzadehM.Mahdijo)

  15. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  16. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  17. Erosion and Dilation Dilation : • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  18. Erosion and Dilation Dilation in edge detection: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3- Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  19. Erosion and Dilation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing Duality: Proof: ( J.ShanbehzadehM.Mahdijo)

  20. Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • opening:smoothes the contour of an object , breaks narrow isthmuses, and eliminates thin protrusions. • closing: Smooth sections of contours, but as opposed to Opening, it generally fuses narrow breaks and long thin gulfs, eliminates small holes, and fills gaps in the contour ( J.ShanbehzadehM.Mahdijo)

  21. Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • Duality ( J.ShanbehzadehM.Mahdijo)

  22. Opening and Closing opening : Separate out the circles from the lines, so that they can be counted. Opening with a disk shaped structuring element 11 pixels in diameter gives • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  23. Opening and Closing opening : Extracting the horizontal and vertical lines The results of an Opening with a 3×9 vertically and 9x3 horizontally oriented structuring element is shown • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  24. Opening and Closing Opening in removing salt noise: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  25. Opening and Closing Opening in removing pepper noise: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  26. Opening and Closing Closing: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  27. Opening and Closing • Closing (More examples): • Removing the small holes while retaining the large holes • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing Closing with a 22 pixel diameter disk • Closing with a disk-shaped structuring element with a diameter larger than the smaller holes ( J.ShanbehzadehM.Mahdijo)

  28. Opening and Closing • Closing (More examples): • Enhance binary images of objects obtained from thresholding • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  29. Opening and Closing Closing for pepper noise: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  30. Opening and Closing Closing for salt noise: • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  31. Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  32. Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing (a) A o B is a subset (subimage) of A. (b) If C is a subset of D, then C o B is a subset of D o B. (c) (A o B) o B = A o B. (a) A is a subset (subimage) of A • B. (b) If C is a subset of D, then C • B is a subset of D • B. (c) (A•B)•B=A•B. ( J.ShanbehzadehM.Mahdijo)

  33. Opening and Closing • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  34. The Hit-or-Miss Transformation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

  35. The Hit-or-Miss Transformation • preview • 9.1- Preliminaries • 9.2-Erosion and Dilation • 9.3-Opening and Closing ( J.ShanbehzadehM.Mahdijo)

More Related