12,396,146 members (62,168 online)
Rate this:
See more:
Hi, in my program i was able to detect finger tips and valleys using ConvexHull() and cvConvexityDefects(). But there are more than 1 circles in each finger tip. now i want to remove unwanted circles and draw only one circle for each finger tip.how can i do that? i hope my question is clear Thanx in advance
Posted 8-Apr-13 11:00am

Rate this:

## Solution 1

I think that your circles you observe on the finger tip are all nested in each other. And I think that you want to have only the outer nested circle, remove all inner ones. If this so, you can develop a simple algorithm: find a convex hull of each "circle". Say, collect all hull points and choose the "leftmost" and "rightmost" point of each "circle" and create such an x-interval between those minimal/maximum x values. If I'm not much mistaken, the inner circle will always have the nested interval compared to an outer one. This way, you will be able to find out the most outer "circle".

—SA
Hard_Rockz 9-Apr-13 1:40am

Thank you so much....

My pleasure.
Good lick, call again.
—SA

Top Experts
Last 24hrsThis month
 OriginalGriff 130 Jochen Arndt 85 ppolymorphe 80 BillWoodruff 70 0x01AA 50
 OriginalGriff 6,128 ppolymorphe 2,430 Karthik Bangalore 2,382 F-ES Sitecore 1,877 Richard MacCutchan 1,752