Borrar filtros
Borrar filtros

Image Processing: Remove double edges

4 visualizaciones (últimos 30 días)
Philip
Philip el 1 de Jun. de 2011
Is there a way to remove edges that appear twice in an image?
For example, for some edges, the 1D neighbourhood may look like:
1 0 1
where the 1's represent the edges. Is there a way to remove the right-hand edge when this happens so that I am left with simply:
1 0 0
Perhaps a convolution of some sort would work, but I am unsure how to do this in MATLAB...
Thanks for your help!

Respuestas (1)

Jonas Reber
Jonas Reber el 6 de Jun. de 2011
you could take another derivative (2nd) and only keep the positive values
1 0 1 => 0 -1 1 (depenting on the direction you are coming from)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by