LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting an image coordinate system

I have an IMAQ Image Display control on my front panel that will be displaying images of a landscape taken from the air. I want to be able to create a grid coordinate system for the image so that when the user clicks it, the front panel will display the approximate GPS coordinates of that location.

The scale of the images will be in the tens to hundreds of meters across. I will have the coordinate at the center of the image and the heading of the aircraft.

Is there a system already available for creating some kind of arbitrary coordinate system that can be matched with the coordinates of a mouse click? Does anyone have any advice on creating such a thing?
0 Kudos
Message 1 of 3
(3,131 Views)
Try this. You can load an image to a picture container...then create an event based on "mouse down". Now whenever the user clicks on the picture container the event structure will report the coordinates (in pixels) of where it was clicked.

-Brett Burger
0 Kudos
Message 2 of 3
(3,114 Views)
download the last vi posted in this thread.

http://forums.ni.com/ni/board/message?board.id=170&message.id=126884#M126884
0 Kudos
Message 3 of 3
(3,107 Views)