Filter löschen
Filter löschen

Image pixel conversion to Latitude and longitude of that position

3 Ansichten (letzte 30 Tage)
Manjeet Singh
Manjeet Singh am 8 Jul. 2015
Kommentiert: Image Analyst am 8 Jul. 2015
Hi all
I am working on a project with matlab. I am trying to convert a image pixels into its corresponding latitude and longitude of that position to find that location on the google map. I have a 618x998 image that I ma using. details of its upper left corner or pixel(1,1) are as lat = 50.421442 and long = -104.592987. and its far corner (618,998) lat = 50.412676 and long = -104.584345. its pixel resolution is 1pixel = 1.0465 meters.
Is there any way i can covert a certain pixel let say 125,285 into its corresponding lat and long position with this available info. Please help me with this problem.

Antworten (1)

Alex
Alex am 8 Jul. 2015
You need to change the XTick, YTick properties of the image.
  5 Kommentare
Alex
Alex am 8 Jul. 2015
Sorry about that. I corrected it now. A.Parent.XTick.
Image Analyst
Image Analyst am 8 Jul. 2015
This just puts up axes tick marks - it doesn't "convert" anything. If you have a certain row and column, you'd need to use a typical scaling equation to turn the (row, column) coordinate into a (latitude, longitude) coordinate.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Orange finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by