pub struct Detail_NoBundleAdjuster { /* private fields */ }
Expand description
Stub bundle adjuster that does nothing.
Implementations§
Source§impl Detail_NoBundleAdjuster
impl Detail_NoBundleAdjuster
pub fn default() -> Result<Detail_NoBundleAdjuster>
Trait Implementations§
Source§impl Boxed for Detail_NoBundleAdjuster
impl Boxed for Detail_NoBundleAdjuster
Source§unsafe fn from_raw(
ptr: <Detail_NoBundleAdjuster as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <Detail_NoBundleAdjuster as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(
&self,
) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <Detail_NoBundleAdjuster as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for Detail_NoBundleAdjuster
impl Debug for Detail_NoBundleAdjuster
Source§impl Detail_BundleAdjusterBaseTrait for Detail_NoBundleAdjuster
impl Detail_BundleAdjusterBaseTrait for Detail_NoBundleAdjuster
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
Source§impl Detail_BundleAdjusterBaseTraitConst for Detail_NoBundleAdjuster
impl Detail_BundleAdjusterBaseTraitConst for Detail_NoBundleAdjuster
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_EstimatorTrait for Detail_NoBundleAdjuster
impl Detail_EstimatorTrait for Detail_NoBundleAdjuster
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
Source§fn apply(
&mut self,
features: &Vector<Detail_ImageFeatures>,
pairwise_matches: &Vector<Detail_MatchesInfo>,
cameras: &mut Vector<Detail_CameraParams>,
) -> Result<bool>
fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams>, ) -> Result<bool>
Estimates camera parameters. Read more
Source§impl Detail_EstimatorTraitConst for Detail_NoBundleAdjuster
impl Detail_EstimatorTraitConst for Detail_NoBundleAdjuster
fn as_raw_Detail_Estimator(&self) -> *const c_void
Source§impl Detail_NoBundleAdjusterTrait for Detail_NoBundleAdjuster
impl Detail_NoBundleAdjusterTrait for Detail_NoBundleAdjuster
fn as_raw_mut_Detail_NoBundleAdjuster(&mut self) -> *mut c_void
Source§impl Detail_NoBundleAdjusterTraitConst for Detail_NoBundleAdjuster
impl Detail_NoBundleAdjusterTraitConst for Detail_NoBundleAdjuster
fn as_raw_Detail_NoBundleAdjuster(&self) -> *const c_void
Source§impl Drop for Detail_NoBundleAdjuster
impl Drop for Detail_NoBundleAdjuster
Source§impl From<Detail_NoBundleAdjuster> for Detail_BundleAdjusterBase
impl From<Detail_NoBundleAdjuster> for Detail_BundleAdjusterBase
Source§fn from(s: Detail_NoBundleAdjuster) -> Self
fn from(s: Detail_NoBundleAdjuster) -> Self
Converts to this type from the input type.
Source§impl From<Detail_NoBundleAdjuster> for Detail_Estimator
impl From<Detail_NoBundleAdjuster> for Detail_Estimator
Source§fn from(s: Detail_NoBundleAdjuster) -> Self
fn from(s: Detail_NoBundleAdjuster) -> Self
Converts to this type from the input type.
impl Send for Detail_NoBundleAdjuster
Auto Trait Implementations§
impl Freeze for Detail_NoBundleAdjuster
impl RefUnwindSafe for Detail_NoBundleAdjuster
impl !Sync for Detail_NoBundleAdjuster
impl Unpin for Detail_NoBundleAdjuster
impl UnwindSafe for Detail_NoBundleAdjuster
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more