Pixel coordinates of a point on the map
1 回表示 (過去 30 日間)
古いコメントを表示
I am looking for a function that gives the pixel coordinates of the points in the map that are specified by their (latitude, longitude) coordinates. My map is a piece of the US map.
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 10 月 7 日
You need to calibrate it. You need to click at least two points and specify their lat and long so you can fix a coordinate system and get a spatial calibration (pixels per degree). So then when someone specifies (types in) a lat and long, you can find out how many degrees that is from the origin's lat and long, and then, knowing the lat and long of the origin, and the spatial calibration factor, tell the user what pixel that location would be at on the map image.
5 件のコメント
Image Analyst
2012 年 10 月 8 日
Sorry - I don't have that toolbox. Since no one else here seems to be able to help you either, you might have to call them. Hopefully you're current on your maintenance contract.
参考
カテゴリ
Help Center および File Exchange で Modify Image Colors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!