Geographic coordinate to Image coordinate

3 views (last 30 days)
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?

Accepted Answer

Supreeth Subbaraya
Supreeth Subbaraya on 5 Aug 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 Comments
MOHIT
MOHIT on 12 Dec 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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!