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.bullin...@iosb.fraunhofer.de<mailto:sebastian.bullin...@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.roua...@spatialys.com>
Sent: Thursday, March 25, 2021 7:15:52 PM
To: Bullinger, Sebastian; gdal-dev@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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to