Make distortion correction work for GPU backend
The distortion correction is not implemented on the GPU backend.
The current solution is to use the CPU backend, which can be quite slow.
A workaround, waiting for a full-GPU implementation of interpn()
, is "D2H + interpn + H2D" : not elegant but still usable.