Regions of Interest Functions

NI Vision for LabWindows/CVI Function

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 InterestConstruct ROI 2imaqConstructROI2
Regions of InterestCreate ROIimaqCreateROI
Regions of InterestGet ROI Bounding BoximaqGetROIBoundingBox
Regions of InterestGet ROI ColorimaqGetROIColor
Regions of InterestGet Window ROIimaqGetWindowROI
Regions of InterestSet ROI ColorimaqSetROIColor
Regions of InterestSet Window ROIimaqSetWindowROI

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 InterestContoursAdd Annulus ContourimaqAddAnnulusContour
Regions of InterestContoursAdd Closed ContourimaqAddClosedContour
Regions of InterestContoursAdd Line ContourimaqAddLineContour
Regions of InterestContoursAdd Open ContourimaqAddOpenContour
Regions of InterestContoursAdd Oval ContourimaqAddOvalContour
Regions of InterestContoursAdd Point ContourimaqAddPointContour
Regions of InterestContoursAdd Rect ContourimaqAddRectContour
Regions of InterestContoursAdd Rotated Rect ContourimaqAddRotatedRectContour2
Regions of InterestContoursCopy ContourimaqCopyContour
Regions of InterestContoursGet ContourimaqGetContour
Regions of InterestContoursGet Contour ColorimaqGetContourColor
Regions of InterestContoursGet Contour CountimaqGetContourCount
Regions of InterestContoursGet Contour InfoimaqGetContourInfo2
Regions of InterestContoursMove ROIimaqMoveContour
Regions of InterestContoursRemove ContourimaqRemoveContour
Regions of InterestContoursSet Contour ColorimaqSetContourColor

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 InterestRegions of Interest ManipulationMask To ROIimaqMaskToROI
Regions of InterestRegions of Interest ManipulationROI ProfileimaqROIProfile
Regions of InterestRegions of Interest ManipulationROI To MaskimaqROIToMask
Regions of InterestRegions of Interest ManipulationTransform ROIimaqTransformROI2