01-11-2012 04:15 AM
Hello,
we am using IMAQ Count Objects 2 vi to count balls of BGA device, after balls detected as objects, we need examine each ball for defect analysis.since 4 boundaries of the device demonstrates as higher intensity as well comparing with balls. so it causes the bright objects which located around the boundaries can not be detecetd as bright objects when IMAQ count objects 2 vi used. I use grayscale image as input for IMAQ count objects 2 vi, threshould is set to 100, the result image as below:
from above img we can see the balls which has rectangular box are the objects detecetd. but the bright objects which are distributed around the edge of the devcie can not be detected (no red color rectangular box displayed). anybody can help to give advice how to process so we can detect these balls as bright objects. appreciate for your helps. Thanks
01-11-2012 06:46 AM
Hello
Two options.
Either you have to work on the light, in order to try to separate objects from the background (try different angles, try backlight if possible).
Or change your detection method. Did your tried match pattern? Or maybe you can try to detect the small black dots in the center of your balls with the count objets vi.
Regards
01-11-2012 07:40 AM - edited 01-11-2012 07:42 AM
Set your threshold value higher. It looks like the objects you want to detect are very bright, so set the threshold around 200, maybe even higher. It will eliminate the gradient area around the border and should isolate your objects near the border.
You might need to do some additional processing. It looks like a few of the objects are very close to the edge. I think IMAQ Separate might do the job.
Bruce