how can we close an image mophologically?

4 次查看(过去 30 天)
hi, what is the significance of 'se' in 'imclose' function?

采纳的回答

Image Analyst
Image Analyst 2013-3-31
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.

更多回答(1 个)

Matt J
Matt J 2013-3-31
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