Function opencv::imgproc::init_undistort_rectify_map [] [src]

pub fn init_undistort_rectify_map(cameraMatrix: &Mat, distCoeffs: &Mat, R: &Mat, newCameraMatrix: &Mat, size: Size, m1type: i32, map1: &Mat, map2: &Mat) -> Result<(), String>

initializes maps for cv::remap() to correct lens distortion and optionally rectify the image