Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ROI on IMAQ and the alternative ROI option

Is there an option on IMAQ that allows the user to specify an ROI and an alternative ROI for the same image ???
0 Kudos
Message 1 of 2
(3,175 Views)
A viewer can only have one ROI associated with it at any given time, however you could store multiple ROIs in an array and apply them arbitrarily using IMAQ Set ROI or pull off different ROIs for different processing steps in your program.

Alternately, a single region can have multiple contours. Use the Group and Ungroup functions to manipulate the contours within the ROI. Take a look at the ROI descriptor data type to get an idea about the relation between an ROI and a contour.

There is a good ROI example called Region of Interest.vi in the \LabVIEW x\examples\Vision\2. Functions\Display folder. This example only manages one ROI, however you can hold down the CTRL key to draw multiple contours.

Regards,

Brent R.
Applications Engineer
National Instr
uments
0 Kudos
Message 2 of 2
(3,175 Views)