How can I convert known GPS coordinates to image pixels, and again image pixels to world GPS coordinates?
조회 수: 1 (최근 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에서 Point Cloud Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!