Chapter3 Grayscaleand Color Measurements
©NationalInstruments Corporation 3-3 IMAQVision for LabWindows/CVI User Manual
Holddown <Shift> while drawing an ROI if you want to constrain the ROI
tothe horizontal, vertical, or diagonal axes when possible. Use the selection
tool to position an ROIby its control points or vertices. ROIs are context
sensitive,meaning that the cursor actions differ depending on the ROI with
which you interact. For example,if you m oveyour cursor over the side of
arectangle, the cursor changes to indicate that you can click and drag the
side to resizethe rectangle. If you want to draw more than one ROI in a
window,hold down <Ctrl> while drawing additional ROIs.
Youcandisplay the IMAQ Vision tools palette as part of an ROI constructor
windowor in a separate, floatin g window.Follow these steps to invoke an
ROIconstructor and define an ROI from within the ROI constructor
window:
1. UseimaqConstructROI() todisplayanimageandthetoolspalette
in an ROIconstructor window, as shown in Figure 3-2.
Freehand Drawa freehand region in the image.
Action:Click on the initial position, drag to the desired shape and
release the mouse buttonto complete the shape.
Zoom Zoom-in or zoom-out in an image.
Action: Click on the image to zoom in. Hold down <Shift> and
clicktozoomout.
Pan Panaroundanimage.
Action: Click on an initial position, drag to the desired position
andrelease the mouse button to complete the pan.
Table3-1. ToolsPalette Functions (Continued)
Icon Tool N ame Function