Hi all I have an image; the Trimmed satellite image with Latitude and longitude coordinates from here:
It comes with a .tfw file. (6 x 1).
How on Earth do I use the .tfw file to assign coordinates to each pixel? I have just got the mapping toolbox. Thanks

 채택된 답변

Kelly Kearney
Kelly Kearney 2011년 4월 28일

0 개 추천

You can use worldfileread to read the data into a referencing matrix, which can then be used to calculate coordinates for any pixel in the image.
doc worldfileread
doc pix2map
If you just want to display the image, though, geoshow and mapshow handle tif/tfw paired files.
tiffile = 'KEN_satellite_trimmed.tif';
geoshow(tiffile);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mapping Toolbox에 대해 자세히 알아보기

질문:

2011년 4월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by