[][src]Struct opencv::ccalib::MultiCameraCalibration

pub struct MultiCameraCalibration { /* fields omitted */ }

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.

For more details, please refer to paper B. Li, L. Heng, K. Kevin and M. Pollefeys, "A Multiple-Camera System Calibration Toolbox Using A Feature Descriptor-Based Calibration Pattern", in IROS 2013.

Implementations

impl MultiCameraCalibration[src]

impl MultiCameraCalibration[src]

pub fn new(
    camera_type: i32,
    n_cameras: i32,
    file_name: &str,
    pattern_width: f32,
    pattern_height: f32,
    verbose: i32,
    show_extration: i32,
    n_mini_matches: i32,
    flags: i32,
    criteria: TermCriteria,
    detector: Ptr<Feature2D>,
    descriptor: Ptr<Feature2D>,
    matcher: Ptr<dyn DescriptorMatcher>
) -> Result<MultiCameraCalibration>
[src]

C++ default parameters

  • verbose: 0
  • show_extration: 0
  • n_mini_matches: 20
  • flags: 0
  • criteria: TermCriteria(TermCriteria::COUNT+TermCriteria::EPS,200,1e-7)
  • detector: AKAZE::create(AKAZE::DESCRIPTOR_MLDB,0,3,0.006f)
  • descriptor: AKAZE::create(AKAZE::DESCRIPTOR_MLDB,0,3,0.006f)
  • matcher: DescriptorMatcher::create("BruteForce-L1")

Trait Implementations

impl Boxed for MultiCameraCalibration[src]

impl Drop for MultiCameraCalibration[src]

impl MultiCameraCalibrationTrait for MultiCameraCalibration[src]

impl Send for MultiCameraCalibration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.