Azzera filtri
Azzera filtri

how can I smooth a bw image?

3 visualizzazioni (ultimi 30 giorni)
adrian firmansyah
adrian firmansyah il 26 Mag 2016
Risposto: Nut il 26 Mag 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

Risposte (1)

Nut
Nut il 26 Mag 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