Coordinate Conversion from XY in Satellite image to latitude and longitude
7 ビュー (過去 30 日間)
古いコメントを表示
My associate and I are trying to convert XY Coordinates in a satellite image to latitude and longitude.
Here is the process:
We opened the image into Matlab using " geotiffread" function,
Did the process and found some XY Coordinates.
Now we need to convert back those [x,y] coordinates into latitude and longitude.
How can we do that? Thanks.
0 件のコメント
採用された回答
KSSV
2016 年 8 月 23 日
file = 'Matlab_Question.tif' ;
info = geotiffinfo(file);
[x,y] = pix2map(info.RefMatrix,1,1);
[lat0,lon0] = projinv(info, x,y) ;
[x,y] = pix2map(info.RefMatrix,864,859);
[lat1,lon1] = projinv(info, x,y) ;
2 件のコメント
KSSV
2016 年 8 月 23 日
I think it can be checked... You can plot those values which are not the indices, with the indices which are from the image; check whether those points are really falling outside...
参考
カテゴリ
Help Center および File Exchange で Projected Coordinate Reference Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!