undistortPoints | R Documentation |
undistortPoints
transforms a set of coordinates
representing points in an image to compensate for radial and tangential lens
distortion.
undistortPoints(
points,
camera_matrix,
dist_coefs,
new_camera_matrix = camera_matrix
)
points |
A 2xN matrix of X/Y coordinates. |
camera_matrix |
A 3x3 camera intrinsic matrix as returned by
|
dist_coefs |
A single row matrix with 4, 5, 8, 12 or 14 elements as
returned by |
new_camera_matrix |
A 3x3 camera intrinsic matrix as returned by
|
A 2xN matrix of transformed X/Y coordinates.
Simon Garnier, garnier@njit.edu
undistort
, calibrateCamera
,
getOptimalNewCameraMatrix
# See the help vignette:
## Not run:
vignette("z8_calib", package = "Rvision")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.