Struct opencv::ccalib::RandomPatternCornerFinder
source · [−]pub struct RandomPatternCornerFinder { /* private fields */ }
Expand description
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.
Implementations
sourceimpl RandomPatternCornerFinder
impl RandomPatternCornerFinder
sourcepub fn new(
pattern_width: f32,
pattern_height: f32,
nmini_match: i32,
depth: i32,
verbose: i32,
show_extraction: i32,
detector: Ptr<Feature2D>,
descriptor: Ptr<Feature2D>,
matcher: Ptr<dyn DescriptorMatcher>
) -> Result<RandomPatternCornerFinder>
pub fn new(
pattern_width: f32,
pattern_height: f32,
nmini_match: i32,
depth: i32,
verbose: i32,
show_extraction: i32,
detector: Ptr<Feature2D>,
descriptor: Ptr<Feature2D>,
matcher: Ptr<dyn DescriptorMatcher>
) -> Result<RandomPatternCornerFinder>
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”)
Trait Implementations
sourceimpl Boxed for RandomPatternCornerFinder
impl Boxed for RandomPatternCornerFinder
sourceimpl Drop for RandomPatternCornerFinder
impl Drop for RandomPatternCornerFinder
sourceimpl RandomPatternCornerFinderTrait for RandomPatternCornerFinder
impl RandomPatternCornerFinderTrait for RandomPatternCornerFinder
fn as_raw_mut_RandomPatternCornerFinder(&mut self) -> *mut c_void
fn load_pattern(&mut self, pattern_image: &Mat) -> Result<()>
fn load_pattern_1(
&mut self,
pattern_image: &Mat,
pattern_key_points: &Vector<KeyPoint>,
pattern_descriptors: &Mat
) -> Result<()>
fn compute_object_image_points(
&mut self,
input_images: Vector<Mat>
) -> Result<()>
fn compute_object_image_points_for_single(
&mut self,
input_image: Mat
) -> Result<Vector<Mat>>
fn get_object_points(&mut self) -> Result<Vector<Mat>>
fn get_image_points(&mut self) -> Result<Vector<Mat>>
sourceimpl RandomPatternCornerFinderTraitConst for RandomPatternCornerFinder
impl RandomPatternCornerFinderTraitConst for RandomPatternCornerFinder
fn as_raw_RandomPatternCornerFinder(&self) -> *const c_void
impl Send for RandomPatternCornerFinder
Auto Trait Implementations
impl RefUnwindSafe for RandomPatternCornerFinder
impl !Sync for RandomPatternCornerFinder
impl Unpin for RandomPatternCornerFinder
impl UnwindSafe for RandomPatternCornerFinder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more