1 / 15

Morphological Operation

Morphological Operation. What if your images are binary masks? Binary image processing is a well-studied field, based on set theory, called Mathematical Morphology. Slides from Alexei Efros. Preliminaries. Preliminaries. Preliminaries. Basic Concepts in Set Theory.

cachez
Download Presentation

Morphological Operation

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. Morphological Operation • What if your images are binary masks? • Binary image processing is a well-studied field, based on set theory, called Mathematical Morphology Slides from Alexei Efros

  2. Preliminaries

  3. Preliminaries

  4. Preliminaries

  5. Basic Concepts in Set Theory • A is a set in , a=(a1,a2) an element of A, aA • If not, then aA • : null (empty) set • Typical set specification: C={w|w=-d, for d  D} • A subset of B: AB • Union of A and B: C=AB • Intersection of A and B: D=AB • Disjoint sets: AB=  • Complement of A: • Difference of A and B: A-B={w|w  A, w  B}=

  6. Dilation and Erosion • Two basic operations: • A is the image, B is the “structural element”, a mask akin to a kernel in convolution • Dilation : • (all shifts of B that have a non-empty overlap with A) • Erosion : • (all shifts of B that are fully contained within A)

  7. Dilation

  8. Dilation

  9. Erosion

  10. Erosion Original image Eroded image

  11. Erosion Eroded once Eroded twice

  12. 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 • Prove to yourself that they are not the same thing. Play around with bwmorph in Matlab.

  13. Opening and Closing OPENING: The original image eroded twice and dilated twice (opened). Most noise is removed CLOSING: The original image dilated and then eroded. Most holes are filled.

  14. Boundary Extraction

  15. Boundary Extraction

More Related