Geographic coordinate to Image coordinate

Illustration
hwe Kanote - 2022-01-18T13:40:24+00:00
Question: Geographic coordinate to Image coordinate

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?

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

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. 
 
Then you can use the function geographicToIntrinsic to obtain the intrinsic coordinates. The function can be called as,
 
 
[xIntrinsic, yIntrinsic] = geographicToIntrinsic(R,lat, lon)

 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!