Hi all,
Is it possible to specify the resampling algorithm used in sat_sim? The documentation notes it uses bicubic interpolation, and I haven't spotted a setting that allows this to be altered. The inverse tool, mapproject, has a --nearest-neighbor option.
My use case is that I'm wanting to transform a pixel mask from "world space" to "sensor space". Bicubic interpolation has problems with under/overshooting with integer data, creating ringing artefacts around the masked areas. I'm therefore interested in trying nearest neighbour sampling instead.
(I think I could also do it by building an RPC model, then passing that into GDAL to do the inverse transform with whatever resampling I request, but I'd prefer to use the true camera model as I've got it available)
Cheers,
Daniel