read and write greographic coordinate of an image
4 次查看(过去 30 天)
显示 更早的评论
hi guys,
I have georeferenced images on envi on which I apply several treatment under matlab. the problem is that I have outputs of images that are not georeferenced. how to make it possible to read and write the coordinates on its images.
Thank you
0 个评论
采纳的回答
Cam Salzberger
2017-10-25
Hello Safa,
I assume that the georeferenced images are GeoTIFFs or something similar. MATLAB is able to pull the image along with its referencing information in using geotiffread, for that file type at least. You can get more referencing information with geotiffinfo.
Once you have done your manipulation, you can write a new image while providing referencing information with geotiffwrite.
If that is not what you are asking, can you clarify what file types you are using, and what you mean by "read and write coordinates on its images"?
-Cam
2 个评论
Cam Salzberger
2017-10-25
Hmm, I'm not aware if there is a particular HDR format that allows for the georeferencing information to be stored in the image (the way TIFF files are extensible). If the information is stored separately from the image (like in a TFW file), you can possibly read that separately with worldfileread. If there is another file format, you may need to find or create another function for parsing it.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!