pub struct Rapid { /* private fields */ }
Expand description
wrapper around rapid function for uniform access
Implementations§
source§impl Rapid
impl Rapid
pub fn create( pts3d: &impl ToInputArray, tris: &impl ToInputArray ) -> Result<Ptr<Rapid>>
Trait Implementations§
source§impl AlgorithmTrait for Rapid
impl AlgorithmTrait for Rapid
source§impl AlgorithmTraitConst for Rapid
impl AlgorithmTraitConst for Rapid
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for Rapid
impl Boxed for Rapid
source§impl RapidTrait for Rapid
impl RapidTrait for Rapid
fn as_raw_mut_Rapid(&mut self) -> *mut c_void
source§impl RapidTraitConst for Rapid
impl RapidTraitConst for Rapid
fn as_raw_Rapid(&self) -> *const c_void
source§impl TrackerTrait for Rapid
impl TrackerTrait for Rapid
fn as_raw_mut_Tracker(&mut self) -> *mut c_void
source§fn compute(
&mut self,
img: &impl ToInputArray,
num: i32,
len: i32,
k: &impl ToInputArray,
rvec: &mut impl ToInputOutputArray,
tvec: &mut impl ToInputOutputArray,
termcrit: TermCriteria
) -> Result<f32>
fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>
C++ default parameters Read more
fn clear_state(&mut self) -> Result<()>
source§impl TrackerTraitConst for Rapid
impl TrackerTraitConst for Rapid
fn as_raw_Tracker(&self) -> *const c_void
impl Send for Rapid
Auto Trait Implementations§
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