[gdal-dev] Geolocation arrays - location interpretation

Even Rouault even.rouault at spatialys.com
Thu Sep 28 12:25:48 PDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170928/84de0ed4/attachment.html>


More information about the gdal-dev mailing list