FILLING Boundary of the irregulay edge (serrated) of binari image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
see the white area , on edges have serrated,, picture : <http://tinypic.com/view.php?pic=4q6gw4&s=6>
I need m-file coding ,,, i have a problem,, how to flatten the (serrated) irregulary edge of the image,,, i already used 'imfill'.. imfill it doesnt work,, the edge still irregulary,, i want to flatten the serrated,,
0 comentarios
Respuesta aceptada
Walter Roberson
el 16 de Jun. de 2012
You are suffering from staircase effect. You need "anti-aliasing". http://www.mathworks.com/matlabcentral/fileexchange/20979 might help.
0 comentarios
Más respuestas (1)
Image Analyst
el 16 de Jun. de 2012
I usually hear this called "jaggies" http://en.wikipedia.org/wiki/Jaggies It's caused by aliasing. With a higher resolution they will go away, but, of course, you now have a different resolution which is just an artificially made up one. If you use anti-aliasing (averaging), they will also go away but the image will no longer be binary - it will be grayscale.
2 comentarios
Walter Roberson
el 16 de Jun. de 2012
With a higher resolution, they do not go away: they just become less noticeable. (Well, at least until the resolution becomes a small rational multiple of the wavelength of light: then you get diffraction effects that make the edge more prominent.)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!