National Instruments IMAQ Vision for LabWindows TM /CVI User Manual

Page 84

Advertising
background image

Chapter 5

Performing Machine Vision Tasks

IMAQ Vision for LabWindows/CVI User Manual

5-32

ni.com

Use the following functions to overlay search regions, inspection results,
and other information, such as text and bitmaps.

imaqOverlayPoints()

—Overlays points on an image. Specify a

point by its x-coordinate and y-coordinate.

imaqOverlayLine()

—Overlays a line on an image. Specify a line

by its start and end points.

imaqOverlayRect()

—Overlays a rectangle on an image.

imaqOverlayOval()

—Overlays an oval or a circle on the image.

imaqOverlayArc()

—Overlays an arc on the image.

imaqOverlayMetafile()

—Overlays a metafile on the image.

imaqOverlayText()

—Overlays text on an image.

imaqOverlayROI()

—Overlays an ROI on an image.

imaqOverlayClosedContour()

—Overlays a closed contour on an

image.

imaqOverlayOpenContour()

—Overlays an open contour on an

image.

To use these functions, pass in the image on which you want to overlay
information and the information that you want to overlay.

Tip

You can select the color of overlays with these functions.

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

Advertising