Regions of Interest Functions
Regions of Interest functions allow you to create, modify, and extract information about regions of interest (ROIs).
The following table lists the Regions of Interest functions. The functions in the Regions of Interest class are grouped according to the types of operations they perform. The first column contains the name of the class. The second column contains names of function subclasses. The third column contains names of individual function panels. Each Regions of Interest function panel represents one function.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Regions of Interest | — | Construct ROI 2 | imaqConstructROI2 |
Regions of Interest | — | Create ROI | imaqCreateROI |
Regions of Interest | — | Get ROI Bounding Box | imaqGetROIBoundingBox |
Regions of Interest | — | Get ROI Color | imaqGetROIColor |
Regions of Interest | — | Get Window ROI | imaqGetWindowROI |
Regions of Interest | — | Set ROI Color | imaqSetROIColor |
Regions of Interest | — | Set Window ROI | imaqSetWindowROI |
Contours Functions
Contour functions allow you to create and modify individual contours of a region of interest.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Regions of Interest | Contours | Add Annulus Contour | imaqAddAnnulusContour |
Regions of Interest | Contours | Add Closed Contour | imaqAddClosedContour |
Regions of Interest | Contours | Add Line Contour | imaqAddLineContour |
Regions of Interest | Contours | Add Open Contour | imaqAddOpenContour |
Regions of Interest | Contours | Add Oval Contour | imaqAddOvalContour |
Regions of Interest | Contours | Add Point Contour | imaqAddPointContour |
Regions of Interest | Contours | Add Rect Contour | imaqAddRectContour |
Regions of Interest | Contours | Add Rotated Rect Contour | imaqAddRotatedRectContour2 |
Regions of Interest | Contours | Copy Contour | imaqCopyContour |
Regions of Interest | Contours | Get Contour | imaqGetContour |
Regions of Interest | Contours | Get Contour Color | imaqGetContourColor |
Regions of Interest | Contours | Get Contour Count | imaqGetContourCount |
Regions of Interest | Contours | Get Contour Info | imaqGetContourInfo2 |
Regions of Interest | Contours | Move ROI | imaqMoveContour |
Regions of Interest | Contours | Remove Contour | imaqRemoveContour |
Regions of Interest | Contours | Set Contour Color | imaqSetContourColor |
Regions of Interest Manipulation Functions
The following functions are available only with a licensed version of NI Vision.
Regions of Interest Manipulation functions allow you to transform regions of interest based on a coordinate system, convert mask images to and from regions of interest and extract region of interest profiles from images.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Regions of Interest | Regions of Interest Manipulation | Mask To ROI | imaqMaskToROI |
Regions of Interest | Regions of Interest Manipulation | ROI Profile | imaqROIProfile |
Regions of Interest | Regions of Interest Manipulation | ROI To Mask | imaqROIToMask |
Regions of Interest | Regions of Interest Manipulation | Transform ROI | imaqTransformROI2 |