how can we close an image mophologically?

1 visualización (últimos 30 días)
shana
shana el 31 de Mzo. de 2013
hi, what is the significance of 'se' in 'imclose' function?

Respuesta aceptada

Image Analyst
Image Analyst el 31 de Mzo. de 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.

Más respuestas (1)

Matt J
Matt J el 31 de Mzo. de 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