ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Move multiple ROI's

Solved!
Go to solution

Hi all!

 

I am developing a VI for visual inspection and I am trying to move a group of rectangular ROI's to a given angle and position.  How can I rotate a whole group of ROI's?  I use a coordinate system now and it rotates with the image.  I get the ROI's to rotate separately, but not as a group following the coordinate system.

 

Any suggestions?

 

 

Regards,

 

Kristian

0 Kudos
Message 1 of 2
(3,346 Views)
Solution
Accepted by topic author Kristian_Ring

I managed to get the TransformROI function to do what I needed. I fed the group of ROI's into it along with the angle and x/y values from the coordinate system. The thing I overlooked was that I could simply set the reference system values to 0 to get it to update each time.

0 Kudos
Message 2 of 2
(3,340 Views)