Azzera filtri
Azzera filtri

Geographic coordinate to Image coordinate

7 visualizzazioni (ultimi 30 giorni)
I have images which are extracted from google earth and I would like to transform geography coordinate to simple image coordinate (x,y) of some point. I have four corner point coordinates of image. The point which I transform is 16 48 36.49 N, 96 7 0.82. What should I do and What are useful methods?

Risposta accettata

Supreeth Subbaraya
Supreeth Subbaraya il 5 Ago 2014
You should use the georasterref function to create geographic raster reference object. For example,
R = georasterref('LatitudeLimits', [27 28], 'LongitudeLimits', [86 87],'RasterSize', [121 121])
The raster size is your image size. The documentation for georasterref can be found here.
Then you can use the function geographicToIntrinsic to obtain the intrinsic coordinates. The function can be called as,
[xIntrinsic, yIntrinsic] = geographicToIntrinsic(R,lat, lon)
The documentation for geographicToIntrinsic is found here
  4 Commenti
MOHIT
MOHIT il 12 Dic 2016
Hi... It is still not clear can you please clarify it my question is following...
I also have few known points in an image and same points I have as GPS coordinates also. How can I georeference my image to get all points in the image as GPS points?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by