showReprojectionErrors
Syntax
Description
showReprojectionErrors(
visualizes the
mean reprojection error for each calibration image as a bar graph for the camera-IMU
calibration parameters.params
)
showReprojectionErrors(
specifies one or more name-value arguments.params
,Name=Value
)
returns the axes that the reprojection errors are plotted on.ax
= showReprojectionErrors(___)
Input Arguments
Output Arguments
Tips
If there are large reprojection errors in a small number of calibration images, it could indicate one of these issues in the image dataset:
The motion of the camera that is too fast, causing motion blur.
The camera did not capture all of the patterns of the calibration board in the affected calibration images. This may cause camera-pose estimation inaccuracy.
To improve calibration results, use the
estimateCameraIMUTransform
function and remove the images with large reprojection errors from the specified calibration images.If there are large reprojection errors for all calibration images, consider recollecting the dataset to get more accurate calibration results.
If both reprojection error and IMU prediction error are low, then that is an indication of good calibration results. Use the
showIMUPredictionErrors
function to visualize the IMU prediction errors.Using calibration results with larger reprojection errors may result in the IMU-predicted poses having similar reprojection errors while using visual-inertial odometry (VIO). Use the
Threshold
name-value argument to plot a reprojection error threshold value that matches your expectation from your VIO.
Version History
Introduced in R2024a