Hello, I have A.tif with 4 bands where I read the bands and I do some calculations and write them on B.tif. The end result is B.tif. The problem is that it does not maintain the georeferencing, so I need to copy them from A.tif. How can I achieve that? In other words how do I copy coordinates from A.tif to B.tif??
OpenCV doesn’t handle GeoTIFF tags. (AFAIK libtiff doesn’t handle geotiff neither).
You might try to transfer the georeferencing data between two images using libgeotiff or similar library.