12-04-2007 06:21 PM
12-05-2007 09:24 AM
Hi,
You could for instance threshold the image to get the parts "over" a certain color to stand out. Otherwise you could use the golden template function where you compare your image with a template of a perfect image with correct LED color.
After both two examples you would get an image containing the correct LEDs as badly drawn filled circles. Then you could use a morphology function to enhance the circles appearance to be able thereafter to count them correctly.
Hope it helps. I advise you to post vision questions in the proper Machine Vision part of the forum in the future to get adequate response more easily.