How can I convert known GPS coordinates to image pixels, and again image pixels to world GPS coordinates?
4 ビュー (過去 30 日間)
古いコメントを表示
I 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?
2 件のコメント
回答 (1 件)
Ahmet Cecen
2016 年 12 月 12 日
A simple start would be to get any two points:
dx = abs(point2gpsx - point1gpsx)/abs(point2imagex - point1imagex)
So by using a simple ratio, find how long a single pixel is in the x direction in GPS coordinates. Repeat for y direction. Then you can calculate the edges of the image in GPS coordinates, then use a meshgrid to get the coordinates for the rest.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Automated Driving Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!