[−][src]Struct opencv::stitching::Stitcher
High level image stitcher.
It's possible to use this class without being aware of the entire stitching pipeline. However, to be able to achieve higher stitching stability and quality of the final images at least being familiar with the theory is recommended.
Note:
- A basic example on image stitching can be found at opencv_source_code/samples/cpp/stitching.cpp
- A basic example on image stitching in Python can be found at opencv_source_code/samples/python/stitching.py
- A detailed example on image stitching can be found at opencv_source_code/samples/cpp/stitching_detailed.cpp
Implementations
impl Stitcher
[src]
pub fn as_raw_Stitcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_Stitcher(&mut self) -> *mut c_void
[src]
impl Stitcher
[src]
pub const ORIG_RESOL: f64
[src]
pub fn create(mode: Stitcher_Mode) -> Result<Ptr<Stitcher>>
[src]
Creates a Stitcher configured in one of the stitching modes.
Parameters
- mode: Scenario for stitcher operation. This is usually determined by source of images to stitch and their transformation. Default parameters will be chosen for operation in given scenario.
Returns
Stitcher class instance.
C++ default parameters
- mode: Stitcher::PANORAMA
Trait Implementations
impl Boxed for Stitcher
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for Stitcher
[src]
impl Send for Stitcher
[src]
impl StitcherTrait for Stitcher
[src]
fn as_raw_Stitcher(&self) -> *const c_void
[src]
fn as_raw_mut_Stitcher(&mut self) -> *mut c_void
[src]
fn registration_resol(&self) -> Result<f64>
[src]
fn set_registration_resol(&mut self, resol_mpx: f64) -> Result<()>
[src]
fn seam_estimation_resol(&self) -> Result<f64>
[src]
fn set_seam_estimation_resol(&mut self, resol_mpx: f64) -> Result<()>
[src]
fn compositing_resol(&self) -> Result<f64>
[src]
fn set_compositing_resol(&mut self, resol_mpx: f64) -> Result<()>
[src]
fn pano_confidence_thresh(&self) -> Result<f64>
[src]
fn set_pano_confidence_thresh(&mut self, conf_thresh: f64) -> Result<()>
[src]
fn wave_correction(&self) -> Result<bool>
[src]
fn set_wave_correction(&mut self, flag: bool) -> Result<()>
[src]
fn interpolation_flags(&self) -> Result<InterpolationFlags>
[src]
fn set_interpolation_flags(
&mut self,
interp_flags: InterpolationFlags
) -> Result<()>
[src]
&mut self,
interp_flags: InterpolationFlags
) -> Result<()>
fn wave_correct_kind(&self) -> Result<Detail_WaveCorrectKind>
[src]
fn set_wave_correct_kind(&mut self, kind: Detail_WaveCorrectKind) -> Result<()>
[src]
fn features_finder(&mut self) -> Result<Ptr<Feature2D>>
[src]
fn features_finder_1(&self) -> Result<Ptr<Feature2D>>
[src]
fn set_features_finder(&mut self, features_finder: Ptr<Feature2D>) -> Result<()>
[src]
fn features_matcher(&mut self) -> Result<Ptr<dyn Detail_FeaturesMatcher>>
[src]
fn features_matcher_1(&self) -> Result<Ptr<dyn Detail_FeaturesMatcher>>
[src]
fn set_features_matcher(
&mut self,
features_matcher: Ptr<dyn Detail_FeaturesMatcher>
) -> Result<()>
[src]
&mut self,
features_matcher: Ptr<dyn Detail_FeaturesMatcher>
) -> Result<()>
fn matching_mask(&self) -> Result<UMat>
[src]
fn set_matching_mask(&mut self, mask: &UMat) -> Result<()>
[src]
fn bundle_adjuster(&mut self) -> Result<Ptr<dyn Detail_BundleAdjusterBase>>
[src]
fn bundle_adjuster_1(&self) -> Result<Ptr<dyn Detail_BundleAdjusterBase>>
[src]
fn set_bundle_adjuster(
&mut self,
bundle_adjuster: Ptr<dyn Detail_BundleAdjusterBase>
) -> Result<()>
[src]
&mut self,
bundle_adjuster: Ptr<dyn Detail_BundleAdjusterBase>
) -> Result<()>
fn estimator(&mut self) -> Result<Ptr<dyn Detail_Estimator>>
[src]
fn estimator_1(&self) -> Result<Ptr<dyn Detail_Estimator>>
[src]
fn set_estimator(&mut self, estimator: Ptr<dyn Detail_Estimator>) -> Result<()>
[src]
fn warper(&mut self) -> Result<Ptr<dyn WarperCreator>>
[src]
fn warper_1(&self) -> Result<Ptr<dyn WarperCreator>>
[src]
fn set_warper(&mut self, creator: Ptr<dyn WarperCreator>) -> Result<()>
[src]
fn exposure_compensator(
&mut self
) -> Result<Ptr<dyn Detail_ExposureCompensator>>
[src]
&mut self
) -> Result<Ptr<dyn Detail_ExposureCompensator>>
fn exposure_compensator_1(&self) -> Result<Ptr<dyn Detail_ExposureCompensator>>
[src]
fn set_exposure_compensator(
&mut self,
exposure_comp: Ptr<dyn Detail_ExposureCompensator>
) -> Result<()>
[src]
&mut self,
exposure_comp: Ptr<dyn Detail_ExposureCompensator>
) -> Result<()>
fn seam_finder(&mut self) -> Result<Ptr<dyn Detail_SeamFinder>>
[src]
fn seam_finder_1(&self) -> Result<Ptr<dyn Detail_SeamFinder>>
[src]
fn set_seam_finder(
&mut self,
seam_finder: Ptr<dyn Detail_SeamFinder>
) -> Result<()>
[src]
&mut self,
seam_finder: Ptr<dyn Detail_SeamFinder>
) -> Result<()>
fn blender(&mut self) -> Result<Ptr<Detail_Blender>>
[src]
fn blender_1(&self) -> Result<Ptr<Detail_Blender>>
[src]
fn set_blender(&mut self, b: Ptr<Detail_Blender>) -> Result<()>
[src]
fn estimate_transform(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray
) -> Result<Stitcher_Status>
[src]
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray
) -> Result<Stitcher_Status>
fn compose_panorama(
&mut self,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
[src]
&mut self,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn compose_panorama_images(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
[src]
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn stitch(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
[src]
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn stitch_mask(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
[src]
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn component(&self) -> Result<Vector<i32>>
[src]
fn cameras(&self) -> Result<Vector<Detail_CameraParams>>
[src]
fn work_scale(&self) -> Result<f64>
[src]
fn result_mask(&self) -> Result<UMat>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Stitcher
impl !Sync for Stitcher
impl Unpin for Stitcher
impl UnwindSafe for Stitcher
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>,