01-31-2011 06:01 AM
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
Solved! Go to Solution.
01-31-2011 06:45 AM
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.