Geographic coordinate to Image coordinate

3 visualizaciones (últimos 30 días)
Shwe Kanote
Shwe Kanote el 4 de Ag. de 2014
Comentada: MOHIT el 12 de Dic. de 2016
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?

Respuesta aceptada

Supreeth Subbaraya
Supreeth Subbaraya el 5 de Ag. de 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 comentarios
MOHIT
MOHIT el 12 de Dic. de 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?

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by