06-15-2014 10:48 PM
Hello everyone,
Now, there is a problem to find the calculate circle number and distinguish the two kinds of circle in the following picture. You will find that there is two kinds of hole in the following picture, one is blind hole(3 holes), the another is through hole(19 holes).
That is to say, the first task is to calculate circle number, the second task is to distinguish the two kinds of circle in the following picture.
Can you give me some advice how to deal with this problem in the NI Vision Development Module or NI Vision Assistant.
Thank you.
Kindly Regards
kevin.wang
06-16-2014 01:09 AM
finding the through hole is no issue but finding the other hole is difficult from your image. Can you try a different lighting like a low angle lighting?
06-16-2014 05:09 AM
Yes, it is difficult to find the blind holes.Maybe the light affect the quality of picture.
Please find the following picture, there is a result about the through hole and blind hole. But I don't know how to deal with this problem.
06-16-2014 05:46 AM
Can you post the image without the overlay? Is the green overlay through holes?
06-16-2014 06:47 AM
Yes, you are right. The through holes is overlay by the the green square point, and tge blind holes is marked by red circle. Please find the original picture and analyzed picture in the attached files.
06-16-2014 07:48 AM
Hmm... Tough image to get the half holes.Do you have other lighting then the current that you are using? Can you tilt the light so like providing low angle light ?
06-16-2014 08:01 AM
I am sorry that we don't have any other angle lighting picture. The picture(Original f ) is a part of the whole which other company provide to us, and the picture(Analyzed f) is also the same company provide. They used the picture Original f to get the analyzed result.
06-16-2014 08:15 AM
In that case let me try some filter technique. Just a wild guess did you try canny edge detection?
06-16-2014 08:25 AM
Yes, maybe it will be OK by some filter technique. I don't use the Canny, but I have try the sobel, the result is not good.
06-16-2014 08:29 AM
Canny is not avilable in vision assistant. You can find it in labVIEW though.