How do i remove all the open contours

In the picture attached, I have used canny edge detection I wanna get rid of those lines and open contours and want to retain only the small balls, closed contours how do i do it I am really desperate to do this please help me

10 commentaires

Chok Chuan
Chok Chuan le 30 Avr 2015
This is the link if you cannot see the file attach please help me.
Image Analyst
Image Analyst le 30 Avr 2015
Modifié(e) : Image Analyst le 30 Avr 2015
Don't use third party image hosting sites. Attach images right here with the green and brown frame icon if you want us to see it in your post. Or with the paper clip icon if you don't want us to too it right away. Also attach your original image and your m-file.
Chok Chuan
Chok Chuan le 30 Avr 2015
Chok Chuan
Chok Chuan le 30 Avr 2015
I have attached a image here I would like to find the three small closed contour and remove the lines. I have to do this for 8 more pictures so I will be using a for loops
Chok Chuan
Chok Chuan le 30 Avr 2015
no one? :/
Image Analyst
Image Analyst le 30 Avr 2015
We're waiting for you to finish your post. Did you see where I suggested: "Also attach your original image and your m-file."?
Chok Chuan
Chok Chuan le 30 Avr 2015
is this what you need?
Chok Chuan
Chok Chuan le 30 Avr 2015
the above CONTOUR LINES.fig is the result after I have used edge detection I want to know how to get the three ball like figure and remove all the unwanted open contoured lines. The big circle need not to be removed
Chok Chuan
Chok Chuan le 30 Avr 2015
if you think i've used the wrong edging method I can show you a pic before I used the edge method, maybe you can tell me the appropriate way

Connectez-vous pour commenter.

Réponses (1)

Community Treasure Hunt

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

Start Hunting!

Translated by