Correct image for lens distortion
[
returns
an image, J
,newOrigin
]
= undistortImage(I
,cameraParams
)J
, containing the input image, I
,
with lens distortion removed. The function also returns the [x,y]
location of the output image origin. The location is set in terms
of the input intrinsic coordinates specified in cameraParams
.
[
specifies
the interpolation method for the function to use on the input image.J
,newOrigin
]
= undistortImage(I
,cameraParams
,interp
)
[
specifies
one or more J
,newOrigin
]
= undistortImage(___,Name,Value
)Name,Value
pair arguments, using
any of the preceding syntaxes. Unspecified properties have their default
values.
Camera Calibrator | cameraIntrinsics
| cameraParameters
| estimateCameraParameters
| extrinsics
| Stereo Camera Calibrator | stereoParameters
| triangulate
| undistortPoints