07-26-2012 01:47 PM
How do you measure multiple objects. My current process is to acquire an image convert it to grayscale. Then use sobel edge filtering. Then set up pattern matching to get about 10 matches. Set a coordinate to the first match, then find edges of first match, and get the geometry distance of the first and last edges. That works fine for only 1 match. Do I have to repeat the coordinate, edge detection, and geometry distance for all the matches or is there a better way to do that?
07-26-2012 02:08 PM
here is a pic of process
07-27-2012 03:58 PM
Hi jamridge,
The best way to do recursive inspections would be to use the Index Measurement step. You can refer to the attached documents for implementation.
NI Vision Page 7-8
http://www.ni.com/pdf/manuals/373379h.pdf
Tim O