undistort function
Mat
undistort(
- InputArray src,
- InputArray cameraMatrix,
- InputArray distCoeffs, {
- OutputArray? dst,
- InputArray? newCameraMatrix,
Implementation
Mat undistort(
InputArray src,
InputArray cameraMatrix,
InputArray distCoeffs, {
OutputArray? dst,
InputArray? newCameraMatrix,
}) {
dst ??= Mat.empty();
newCameraMatrix ??= Mat.empty();
cvRun(() => ccalib3d.Undistort(src.ref, dst!.ref, cameraMatrix.ref, distCoeffs.ref, newCameraMatrix!.ref));
return dst;
}