Sarin Sukumar A wrote: > I have a project where i want to detect and count bubbles in a test tube. > I am using opencv; i used hough circle detecting algorithm. But its of no > use for this purpose > Any one know any kind of algorithm to count specific objects or any shape > analyzing techniques? > any kind of information or ideas are welcomed > thanks in advance > YOurs SaRIn.... > I don't know specifically about bubble counting but my first blush at how to do this would be to run an edge detection filter, smooth it somewhat with a simple kernel, perhaps one slightly weighted to make circles of whatever the average diameter of your bubbles are to fill in any 1 pixel gap type issues. Then go through and count the "holes" in the resultant image (look for closed polygons). -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist