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개)

Community Treasure Hunt

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

Start Hunting!

Translated by