Chapter5 MachineVision
©NationalInstruments Corporation 5-29 IMAQVision for LabWindows/CVI User Manual
Youcan configure the following processing functions to overlay different
types of information on the inspection image:
• imaqFindEdge()
• imaqFindCircularEdge()
• imaqFindConcentricEdge()
• imaqClampMax()
• imaqClampMin()
• imaqFindPattern()
• imaqCountObjects()
• imaqFindTransformRect()
• imaqFindTransformRects()
• imaqFindTransformPattern()
Youcan overlay the following information with all the above functions
exceptimaqFindPattern():
The searcharea input into the function.
The searchlines used for edge detection.
The edges detected along thesearch lines
The resulto f the function.
WithimaqFindPattern(), you can overlay the search area and the result.
Selectthe informationyou want to overlay by setting the element that
corresponds to the information type to TRUEin the options input
parameter.
Use imaqClearOverlay()to clear any previous overlay information
from the image. Use imaqWriteVisionFile() to savean image with
its overlayinformation to a file. You can read the information from the
fileinto an image using imaqReadVisionFile(). As with cal ibration
information, overlayinforma tion is removedfrom an image when the
image sizeo r orientation changes.