Optimize the edge detection

Good evening everyone
to highlight the shape of objects in a scene, I called to edge detection. My concern is how to remove small segments of contours which carries no information in relation to objects.
with bwareaopen(BW, P) I improved a little the result, given where I continue to vary P, I eliminate more segments but I destroy the contour of the object.
Can you help me?
thank you

 Respuesta aceptada

Spandan Tiwari
Spandan Tiwari el 27 de Abr. de 2012

1 voto

imopen might be more selective in removing segments based on their size.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by