how can we close an image mophologically?

1 visualizzazione (ultimi 30 giorni)
hi, what is the significance of 'se' in 'imclose' function?

Risposta accettata

Image Analyst
Image Analyst il 31 Mar 2013
The structuring element tells the operation which pixels it is supposed to act upon and which pixels it is supposed to ignore. For example if you're doing a dilation, and your structuring element is
0 1 0
1 1 1
0 1 0
Then it will look only at those pixels in the "+" shape when deciding which of them is the maximum (which is what a dilation is). A closing is a dilation followed by an erosion (local minimum) and has the effect of closing up little nooks and crannies in your binary image, or of expanding out bright areas in your gray scale image.

Più risposte (1)

Matt J
Matt J il 31 Mar 2013
Basically, holes in your image that can be covered by the SE will be closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by