Function opencv::imgproc::undistort
[−]
[src]
pub fn undistort(src: &Mat, dst: &Mat, cameraMatrix: &Mat, distCoeffs: &Mat, newCameraMatrix: &Mat) -> Result<(), String>
corrects lens distortion for the given camera matrix and distortion coefficients
default value for arguments: - newCameraMatrix: default noArray()