Skip to main content

Module resample

Module resample 

Source
Expand description

Bilinear resampling for undoing geometric transforms.

Inverse-maps each output pixel through the estimated affine transform to find its source coordinates, then bilinear-interpolates from the four nearest source pixels.

Functions§

resample_bilinear
Inverse-map bilinear resampling to undo a geometric transform.