Module ccalib

Source
Expand description

§Custom Calibration Pattern for 3D reconstruction

Modules§

prelude

Structs§

CustomPattern
MultiCameraCalibration
Class for multiple camera calibration that supports pinhole camera and omnidirection camera. For omnidirectional camera model, please refer to omnidir.hpp in ccalib module. It first calibrate each camera individually, then a bundle adjustment like optimization is applied to refine extrinsic parameters. So far, it only support “random” pattern for calibration, see randomPattern.hpp in ccalib module for details. Images that are used should be named by “cameraIdx-timestamp.*”, several images with the same timestamp means that they are the same pattern that are photographed. cameraIdx should start from 0.
MultiCameraCalibration_edge
MultiCameraCalibration_vertex
RandomPatternCornerFinder
Class for finding features points and corresponding 3D in world coordinate of a “random” pattern, which can be to be used in calibration. It is useful when pattern is partly occluded or only a part of pattern can be observed in multiple cameras calibration. The pattern can be generated by RandomPatternGenerator class described in this file.
RandomPatternGenerator

Constants§

CALIB_FIX_CENTER
CALIB_FIX_GAMMA
CALIB_FIX_K1
CALIB_FIX_K2
CALIB_FIX_P1
CALIB_FIX_P2
CALIB_FIX_SKEW
CALIB_FIX_XI
CALIB_USE_GUESS
HEAD
INVALID
MultiCameraCalibration_OMNIDIRECTIONAL
MultiCameraCalibration_PINHOLE
RECTIFY_CYLINDRICAL
RECTIFY_LONGLATI
RECTIFY_PERSPECTIVE
RECTIFY_STEREOGRAPHIC
XYZ
XYZRGB

Traits§

CustomPatternTrait
Mutable methods for crate::ccalib::CustomPattern
CustomPatternTraitConst
Constant methods for crate::ccalib::CustomPattern
MultiCameraCalibrationTrait
Mutable methods for crate::ccalib::MultiCameraCalibration
MultiCameraCalibrationTraitConst
Constant methods for crate::ccalib::MultiCameraCalibration
MultiCameraCalibration_edgeTrait
Mutable methods for crate::ccalib::MultiCameraCalibration_edge
MultiCameraCalibration_edgeTraitConst
Constant methods for crate::ccalib::MultiCameraCalibration_edge
MultiCameraCalibration_vertexTrait
Mutable methods for crate::ccalib::MultiCameraCalibration_vertex
MultiCameraCalibration_vertexTraitConst
Constant methods for crate::ccalib::MultiCameraCalibration_vertex
RandomPatternCornerFinderTrait
Mutable methods for crate::ccalib::RandomPatternCornerFinder
RandomPatternCornerFinderTraitConst
Constant methods for crate::ccalib::RandomPatternCornerFinder
RandomPatternGeneratorTrait
Mutable methods for crate::ccalib::RandomPatternGenerator
RandomPatternGeneratorTraitConst
Constant methods for crate::ccalib::RandomPatternGenerator

Functions§

calibrate
Perform omnidirectional camera calibration, the default depth of outputs is CV_64F.
calibrate_def
Perform omnidirectional camera calibration, the default depth of outputs is CV_64F.
init_undistort_rectify_map
Computes undistortion and rectification maps for omnidirectional camera image transform by a rotation R. It output two maps that are used for cv::remap(). If D is empty then zero distortion is used, if R or P is empty then identity matrices are used.
project_points
Projects points for omnidirectional camera using CMei’s model
project_points_1
Projects points for omnidirectional camera using CMei’s model
project_points_1_def
@overload
project_points_def
Projects points for omnidirectional camera using CMei’s model
stereo_calibrate
Stereo calibration for omnidirectional camera model. It computes the intrinsic parameters for two cameras and the extrinsic parameters between two cameras. The default depth of outputs is CV_64F.
stereo_calibrate_def
Stereo calibration for omnidirectional camera model. It computes the intrinsic parameters for two cameras and the extrinsic parameters between two cameras. The default depth of outputs is CV_64F.
stereo_reconstruct
Stereo 3D reconstruction from a pair of images
stereo_reconstruct_def
Stereo 3D reconstruction from a pair of images
stereo_rectify
Stereo rectification for omnidirectional camera model. It computes the rectification rotations for two cameras
undistort_image
Undistort omnidirectional images to perspective images
undistort_image_def
Undistort omnidirectional images to perspective images
undistort_points
Undistort 2D image points for omnidirectional camera using CMei’s model