Remove radial/tangential lens distortion from images.


[Up] [Top]

Documentation for package ‘lensDistortion’ version 1.0

Help Pages

rLensDistortion-package Remove radial/tangential lens distortion
fullaParameters data frame with some calibration parameters for fulla correction.
getOptimalNewCameraMatrix generate a new optimal camera matrix
lensDistortion Remove radial/tangential lens distortion
openCVParameters data frame with some calibration parameters for fulla correction.
radialDistortedToUndistortedFulla Convert radially distorted to undistorted coords w/ Hugin/Fulla. Given distorted image coords (0-based) and distortion parameters, returns the corresponding image coords in the UNdistorted image. Parrots fulla, i.e. solves (1b) for r.
radialDistortedToUndistortedOpenCV Converts distorted coords to undistorted coords using OpenCV model.
radialUndistortedToDistortedFulla Convert undistorted to radially distorted Hugin/Fulla. Given undistorted image coords (0-based) and distortion parameters, returns the corresponding image coords in the distorted image. Parrots fulla, i.e. implements eqn (1) in Details.
radialUndistortedToDistortedOpenCV Convert undistorted to radially distorted OpenCV 5-param. Given undistorted image coords and distortion parameters, returns the corresponding image coords in the distorted image. Parrots openCV model [eqn (1) in details].
rLensDistortion Remove radial/tangential lens distortion
unRadialDistortFulla removes radial distortion from an image using Fulla/Hugin model. Given an image and parameters a,b,c,d,e,f : un-distorts an image that has been barrel distorted, using the same model/algorithm as FULLA (command line prog)
unRadialDistortOpenCV removes radial distortion from an image using OpenCV model. This is basically a port of the InitUndistortRectifyMap function in OpenCV.