Expand description
Lens distortion correction.
Implements polynomial undistortion (WarpRectilinear as specified in DNG opcode 3).
The model corrects barrel and pincushion distortion by computing, for each output pixel, the corresponding distorted source position and sampling it with bilinear interpolation.
Functionsยง
- apply_
warp_ rectilinear - Apply WarpRectilinear lens distortion correction.
- apply_
warp_ rectilinear_ tangential - Apply WarpRectilinear with additional tangential distortion correction.