cv.fisheyeDistortPoints - MATLAB File Help |
Distorts 2D points using fisheye model
distorted = cv.fisheyeDistortPoints(undistorted, K, D);
[...] = cv.fisheyeDistortPoints(..., 'OptionName',optionValue, ...);
K = [fx 0 cx; 0 fy cy; 0 0 1]
.[k1,k2,k3,k4]
.Note that the function assumes the camera matrix of the undistorted points
to be identity. This means if you want to transform back points undistorted
with cv.fisheyeUndistortPoints you have to multiply them with inv(P)
.