Chapter3 Grayscaleand Color Measurements
IMAQVision for LabWindows/CVI User Manual 3-4 ni.com
Figure3-2. ROIConstructor
2. Select an ROItool from the tools palette.
3. Drawan ROI on your image. Resize and reposition the ROI until it
designates the area you want to inspect.
4. Click the OK buttonto ou tput a descriptor of the region you selected.
Youcan input the ROI descriptor into many analysis and processing
functions.Youcan also convert the ROI descriptor into an image mask,
which you can use to processselected regions in the image. Use
imaqROIToMask()to convert the ROI descriptor into an image mask.
The tools palette, shownin Figure 3-3, auto matically transforms from the
palette on the left to the palette on the right when you manipulate an ROI
tool in an image window.The palette on the right displays the
characteristicsof the ROI you are drawing.