National Instruments IMAQ Vision for LabWindows TM /CVI User Manual

Page 85

Advertising
background image

Chapter 5

Performing Machine Vision Tasks

© National Instruments Corporation

5-33

IMAQ Vision for LabWindows/CVI User Manual

The following list contains the kinds of information you can overlay
with the previous functions except

imaqFindPattern()

,

imaqCountObjects()

, and

imaqFindTransformPattern()

.

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

,

imaqCountObjects()

, and

imaqFindTransformPattern()

, 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()

.

Note

As with calibration information, overlay information is removed from an image

when the image size or orientation changes.

Advertising