Geographic coordinate to Image coordinate

3 次查看(过去 30 天)
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?

采纳的回答

Supreeth Subbaraya
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 个评论
MOHIT
MOHIT 2016-12-12
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?

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by