How to get image coordinate and geo coordinate values when a geotiff image is cut into a specific area?
4 次查看(过去 30 天)
显示 更早的评论
How to get image coordinate and geo coordinate values when a geotiff image is cut into a specific area?
I'm trying to save a satellite image by cutting a certain area by a certain area.
At this time, I want to save the cut image to include the original metadata and changed coordinate information.
info = geotiffinfo(image);
The geotiffinfo of the original image is empty in the Bounding Box, Spatial Ref, and CornerCoords fields.
I have information about GeoTIFFCodes and GeoTIFFTags.
It also has the value of TiePoints.
The method I tried was to get an image coordinate cut using Geotiffinfo, impinfo of an image and convert it into a geographic coordinate, but the metadata of that image didn't even contain the resolution value of the pixel.
So when I opened this image in QGIS, I saw pixel resolution and extents.
So what I'm curious about is how to get geographic coordinates and image coordinates when I cut this image into a specific area.
Metadata we know now are coordinate system type, original image coordinate, geographic coordinate, image width, height information, etc.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!