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

 채택된 답변

Spandan Tiwari
Spandan Tiwari 2012년 4월 27일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by