[][src]Struct opencv::ccalib::RandomPatternCornerFinder

pub struct RandomPatternCornerFinder { /* fields omitted */ }

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.

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.

Methods

impl RandomPatternCornerFinder[src]

impl RandomPatternCornerFinder[src]

pub fn new(
    pattern_width: f32,
    pattern_height: f32,
    nmini_match: i32,
    depth: i32,
    verbose: i32,
    show_extraction: i32,
    detector: &PtrOfFeature2D,
    descriptor: &PtrOfFeature2D,
    matcher: &PtrOfDescriptorMatcher
) -> Result<RandomPatternCornerFinder>
[src]

C++ default parameters

  • nmini_match: 20
  • depth: CV_32F
  • verbose: 0
  • show_extraction: 0
  • detector: AKAZE::create(AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f)
  • descriptor: AKAZE::create(AKAZE::DESCRIPTOR_MLDB,0, 3, 0.005f)
  • matcher: DescriptorMatcher::create("BruteForce-L1" )

pub fn load_pattern(&mut self, pattern_image: &Mat) -> Result<()>[src]

pub fn load_pattern_1(
    &mut self,
    pattern_image: &Mat,
    pattern_key_points: &VectorOfKeyPoint,
    pattern_descriptors: &Mat
) -> Result<()>
[src]

pub fn compute_object_image_points(
    &mut self,
    input_images: &VectorOfMat
) -> Result<()>
[src]

pub fn compute_object_image_points_for_single(
    &mut self,
    input_image: &Mat
) -> Result<VectorOfMat>
[src]

pub fn get_object_points(&mut self) -> Result<VectorOfMat>[src]

pub fn get_image_points(&mut self) -> Result<VectorOfMat>[src]

Trait Implementations

impl Drop for RandomPatternCornerFinder[src]

impl Send for RandomPatternCornerFinder[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.