Binary Morphology Flashcards
How does erosion work?
If the center of the structuring element is over an object pixel, and any other element is over a background pixel,
we set the center pixel to become background
How does dilation work?
If the center of the structuring element is over the background, and any of the other elements are over an object pixel,
then the center pixel is set as an object pixel
Erosion makes an object smaller and Dilation makes an object …
Larger
What is Opening?
Eroding and then Dilating
This gets rid of sticky out bits and enlarges holes
What is Closing?
Dilating and then Eroding
Will fill in holes and fill out sticky out bits
Why is opening useful?
Separates distinct objects in a thresholded image
Why is closing useful?
Identifies a single object, even when it may look like two distinct objects in the source image.