how can I smooth a bw image?

4 visualizaciones (últimos 30 días)
adrian firmansyah
adrian firmansyah el 26 de Mayo de 2016
Respondida: Nut el 26 de Mayo de 2016
hello all, i have a final image as an output, as a result of processing image edges got irregular and I want to make it smooth on the edge. how can it be possible for me to smooth/refine just the edges not the complete image? waiting for replies

Respuestas (1)

Nut
Nut el 26 de Mayo de 2016
Hi,
I don't know an exact way, so I just propose two ideas:
1) use "imdilate" with a high value for the parameter, this may smooth the edges but also enlarge the objects. Then, to get back the starting dimensions, use "imerode".
2) try to use 'ConvexImage' property of "regionprops" function:
I hope this could help you.

Community Treasure Hunt

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

Start Hunting!

Translated by