Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Object measurement

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?

0 Kudos
Message 1 of 3
(3,014 Views)

here is a pic of process

0 Kudos
Message 2 of 3
(3,013 Views)

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

Applications Engineer
National Instruments
Download All
0 Kudos
Message 3 of 3
(2,992 Views)