beautypg.com

National Instruments IMAQ Vision for Measurement Studio User Manual

Page 75

background image

Chapter 5

Machine Vision

© National Instruments Corporation

5-29

IMAQ Vision for LabWindows/CVI User Manual

You can 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()

You can overlay the following information with all the above functions
except

imaqFindPattern()

:

The search area input into the function.

The search lines used for edge detection.

The edges detected along the search lines

The result of the function.

With

imaqFindPattern()

, you can overlay the search area and the result.

Select the information you want to overlay by setting the element that
corresponds to the information type to TRUE in the options input
parameter.

Use

imaqClearOverlay()

to clear any previous overlay information

from the image. Use

imaqWriteVisionFile()

to save an image with

its overlay information to a file. You can read the information from the
file into an image using

imaqReadVisionFile()

. As with calibration

information, overlay information is removed from an image when the
image size or orientation changes.