[gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

Bullinger, Sebastian sebastian.bullinger at iosb.fraunhofer.de
Fri Mar 26 00:57:41 PDT 2021


Thank you for pointing out these references.


Best regards,

Sebastian


--
Dr. Sebastian Bullinger
Department Object Recognition
Fraunhofer Institute of
Optronics, Sytem Technologies and Image Exploitation IOSB
Gutleuthausstr. 1, 76275 Ettlingen, Germany
Phone +49 7243 992-197
sebastian.bullinger at iosb.fraunhofer.de<mailto:sebastian.bullinger at iosb.fraunhofer.de>
www.iosb.fraunhofer.de<https://webmail.iosb.fraunhofer.de/owa/redir.aspx?C=GM65JhP8Gk6mqlokIktWtqcWz_hm-dIIiaYxp7LDE5w39h4r54rwzTEQR1dXSKQtdNkO601Flpk.&URL=http%3a%2f%2fwww.iosb.fraunhofer.de%2f>
________________________________
From: Even Rouault <even.rouault at spatialys.com>
Sent: Thursday, March 25, 2021 7:15:52 PM
To: Bullinger, Sebastian; gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images


If it is not possible to get this information, could you point out the code snippet that performs the rectification step?
Since GDAL's code base is quite large, it is not easy to find the appropriate location.
Entry point of the logic to compute the transformation from source pixel coordinates to target pixel coordinates

https://github.com/OSGeo/gdal/blob/master/gdal/alg/gdaltransformer.cpp#L1380

And in the first step of this transformation, when using polynomial adjustment of GCPs, you'll use:

https://github.com/OSGeo/gdal/blob/master/gdal/alg/gdal_crs.cpp

Even

--

http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210326/4dc87ec8/attachment.html>


More information about the gdal-dev mailing list