undistortImage
Correct image for lens distortion
Syntax
Description
[
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.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2014a