National Instruments IMAQTM User Manual page 84

Vision for visual basic
Table of Contents

Advertisement

Chapter 5
Performing Machine Vision Tasks
Tip
You can select the color of overlays by using one of these methods. If you do not
supply a color to an overlay method, the
is used.
IMAQ Vision for Visual Basic User Manual
DrawRectangle
image.
—Overlays a CWIMAQOval object on an image.
DrawOval
—Overlays a CWIMAQArc object on an image.
DrawArc
—Overlays a picture object onto the image.
DrawPicture
—Overlays text on an image.
DrawText
—Overlays an ROI described by the CWIMAQRegions
DrawRegions
object on an image.
You can configure the following CWMachineVision methods to overlay
different types of information about the inspection image:
FindStraightEdge
FindCircularEdge
FindConcentricEdge
MeasureMaximumDistance
MeasureMinimumDistance
FindPattern
CountAndMeasureObjects
FindCoordTransformUsingRect
FindCoordTransformUsingTwoRects
FindCoordTransformUsingPattern
You can overlay the following information with all the above methods
except
CWMachineVision.FindPattern
The search area input into the method
The search lines used for edge detection
The edges detected along the search lines
The result of the method
Each of the above CWMachineVision methods has a settings object input
that allows you to select the information you want to overlay. Set the
boolean property that corresponds to the information you want to overlay
—Overlays a CWIMAQRectangle object on an
CWIMAQOverlay.DefaultColor
5-32
property
:
ni.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Imaq

Table of Contents