[−][src]Struct opencv::ccalib::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.
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.
Methods
impl MultiCameraCalibration
[src]
pub fn as_raw_MultiCameraCalibration(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[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: &PtrOfFeature2D,
descriptor: &PtrOfFeature2D,
matcher: &PtrOfDescriptorMatcher
) -> Result<MultiCameraCalibration>
[src]
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: &PtrOfFeature2D,
descriptor: &PtrOfFeature2D,
matcher: &PtrOfDescriptorMatcher
) -> Result<MultiCameraCalibration>
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" )
pub fn load_images(&mut self) -> Result<()>
[src]
pub fn initialize(&mut self) -> Result<()>
[src]
pub fn optimize_extrinsics(&mut self) -> Result<f64>
[src]
pub fn run(&mut self) -> Result<f64>
[src]
pub fn write_parameters(&mut self, filename: &str) -> Result<()>
[src]
Trait Implementations
impl Drop for MultiCameraCalibration
[src]
impl Send for MultiCameraCalibration
[src]
Auto Trait Implementations
impl RefUnwindSafe for MultiCameraCalibration
impl !Sync for MultiCameraCalibration
impl Unpin for MultiCameraCalibration
impl UnwindSafe for MultiCameraCalibration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,