On jeudi 28 septembre 2017 17:26:52 CEST Agram, Piyush S (334D) wrote: > Hi Even, > I think I have figured out how the GeoLocTransformer works. Dumped out > the backmap and might have some changes. > > 1) Rounding up to the nearest integer is definitely the issue here. > > 2) I’m going to try this first – maybe a weighted approach will be > better. For now, if a pixel falls in the middle of square – I’m going to > add it to all of the 4 vertices. Then average all the data that went into a > pixel of the backmap.
Perhaps bilinear resampling so that the weights are proportionnal ? > 3) For the regular grid tests, if this shows improvement (hopefully) – > I can share the implementation and we can possibly discuss about adding a > weighting scheme. I don’t want to increase the runtime too much by adding > complexity. I think (sub-pixel) accuracy is more important than speed. Speed improvements can be investigated later if needed. -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
