Chapter5 MachineVision
IMAQVision for LabWindows/CVI User Manual 5-4 ni.com
Figure5-2. CoordinateSystems of a Reference Image and Inspection Image
b. If you use imaqFindTransformRects(), specify two
rectangles,each containing one separate, s traight boundary of the
object,as shown in Figure 5-3. The boun daries cannot be parallel.
Theregions must be large enough to include the boundaries in all
the images you want to inspect.
1 Search Area for the Coordinate System
2 Object Edges
3 Origin of the Coordinate System
4 Measurement Area
1
4
1
4
a. b.
2
3
3
2