Trait StitcherTraitConst

Source
pub trait StitcherTraitConst {
Show 21 methods // Required method fn as_raw_Stitcher(&self) -> *const c_void; // Provided methods fn registration_resol(&self) -> Result<f64> { ... } fn seam_estimation_resol(&self) -> Result<f64> { ... } fn compositing_resol(&self) -> Result<f64> { ... } fn pano_confidence_thresh(&self) -> Result<f64> { ... } fn wave_correction(&self) -> Result<bool> { ... } fn interpolation_flags(&self) -> Result<InterpolationFlags> { ... } fn wave_correct_kind(&self) -> Result<Detail_WaveCorrectKind> { ... } fn features_finder(&self) -> Result<Ptr<Feature2D>> { ... } fn features_matcher(&self) -> Result<Ptr<Detail_FeaturesMatcher>> { ... } fn matching_mask(&self) -> Result<UMat> { ... } fn bundle_adjuster(&self) -> Result<Ptr<Detail_BundleAdjusterBase>> { ... } fn estimator(&self) -> Result<Ptr<Detail_Estimator>> { ... } fn warper(&self) -> Result<Ptr<WarperCreator>> { ... } fn exposure_compensator(&self) -> Result<Ptr<Detail_ExposureCompensator>> { ... } fn seam_finder(&self) -> Result<Ptr<Detail_SeamFinder>> { ... } fn blender(&self) -> Result<Ptr<Detail_Blender>> { ... } fn component(&self) -> Result<Vector<i32>> { ... } fn cameras(&self) -> Result<Vector<Detail_CameraParams>> { ... } fn work_scale(&self) -> Result<f64> { ... } fn result_mask(&self) -> Result<UMat> { ... }
}
Expand description

Constant methods for crate::stitching::Stitcher

Required Methods§

Provided Methods§

Source

fn registration_resol(&self) -> Result<f64>

Source

fn seam_estimation_resol(&self) -> Result<f64>

Source

fn compositing_resol(&self) -> Result<f64>

Source

fn pano_confidence_thresh(&self) -> Result<f64>

Source

fn wave_correction(&self) -> Result<bool>

Source

fn interpolation_flags(&self) -> Result<InterpolationFlags>

Source

fn wave_correct_kind(&self) -> Result<Detail_WaveCorrectKind>

Source

fn features_finder(&self) -> Result<Ptr<Feature2D>>

Source

fn features_matcher(&self) -> Result<Ptr<Detail_FeaturesMatcher>>

Source

fn matching_mask(&self) -> Result<UMat>

Source

fn bundle_adjuster(&self) -> Result<Ptr<Detail_BundleAdjusterBase>>

Source

fn estimator(&self) -> Result<Ptr<Detail_Estimator>>

Source

fn warper(&self) -> Result<Ptr<WarperCreator>>

Source

fn exposure_compensator(&self) -> Result<Ptr<Detail_ExposureCompensator>>

Source

fn seam_finder(&self) -> Result<Ptr<Detail_SeamFinder>>

Source

fn blender(&self) -> Result<Ptr<Detail_Blender>>

Source

fn component(&self) -> Result<Vector<i32>>

Returns indeces of input images used in panorama stitching

Source

fn cameras(&self) -> Result<Vector<Detail_CameraParams>>

Returns estimated camera parameters for all stitched images

Source

fn work_scale(&self) -> Result<f64>

Source

fn result_mask(&self) -> Result<UMat>

Return the mask of the panorama.

The mask is a 8U UMat with the values: 0xFF (white) for pixels filled by the input images, 0 (black) for unused pixels. It can be used as the mask for inpaint.

§Returns

The mask.

Implementors§