Identify specific shape [1 Attachment]

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Identify specific shape [1 Attachment]

opencv-users mailing list
Hi, In the above image I wish to count the number of bulges. (I would like to count the number of crests.)  In the above case there are 5.

How can I do that? You could say I am looking for ellipses/circles as I move from top to bottom. I am open to any ideas.  
T

 

Reply | Threaded
Open this post in threaded view
|

Re: Identify specific shape

opencv-users mailing list
Hi,
 Separate out the central black blob.
 Then draw a convex hull on the blob image.
 Do reverse thresholding.
 Do blob analysis, eliminate small blobs and then count the remaining blobs.
 

 Hope this helps,
 

 Kishor Durve