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: 

I want to center the display of a ROI Selection in the lower right corner

How can i center an Imag in a ROI Selection Window, on the right lower Corner ?

I´m using LABVIEW 6.1 with IMAQ Vison 6.1
0 Kudos
Message 1 of 4
(3,181 Views)
I'm not sure what you want to accomplish, but most of the IMAQ ROI VIs have an ROI descriptor parameter that contains the coordinates of an ROI. You could use this input to set the location of your ROI where you desire. If this does not help, please be more specific about what you are trying to do.
0 Kudos
Message 2 of 4
(3,181 Views)
i want to draw a roi on a big image.. and i want to draw it mostly on the right lower corner.. so i would like it when it would always display the right lower corner, not the left upper
0 Kudos
Message 3 of 4
(3,181 Views)
You can use zoom to control the portion of the image that is displayed in a window. If you always want the lower right corner to be displayed, you can calculate the center of the displayed image based on image size, window size, and zoom factor.

Center (x,y) = Image size (x,y) - 1/2 Window size (x,y) / zoom factor.

Bruce
Bruce Ammons
Ammons Engineering
Message 4 of 4
(3,181 Views)