[−][src]Struct opencv::videostab::RansacParams
Describes RANSAC method parameters.
Implementations
impl RansacParams
[src]
pub fn as_raw_RansacParams(&self) -> *const c_void
[src]
pub fn as_raw_mut_RansacParams(&mut self) -> *mut c_void
[src]
impl RansacParams
[src]
pub fn default() -> Result<RansacParams>
[src]
pub fn new(size: i32, thresh: f32, eps: f32, prob: f32) -> Result<RansacParams>
[src]
Constructor
Parameters
- size: Subset size.
- thresh: Maximum re-projection error value to classify as inlier.
- eps: Maximum ratio of incorrect correspondences.
- prob: Required success probability.
pub fn default2d_motion(model: MotionModel) -> Result<RansacParams>
[src]
Parameters
- model: Motion model. See cv::videostab::MotionModel.
Returns
Default RANSAC method parameters for the given motion model.
Trait Implementations
impl Boxed for RansacParams
[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 RansacParams
[src]
impl RansacParamsTrait for RansacParams
[src]
fn as_raw_RansacParams(&self) -> *const c_void
[src]
fn as_raw_mut_RansacParams(&mut self) -> *mut c_void
[src]
fn size(&self) -> i32
[src]
fn set_size(&mut self, val: i32)
[src]
fn thresh(&self) -> f32
[src]
fn set_thresh(&mut self, val: f32)
[src]
fn eps(&self) -> f32
[src]
fn set_eps(&mut self, val: f32)
[src]
fn prob(&self) -> f32
[src]
fn set_prob(&mut self, val: f32)
[src]
fn niters(&self) -> Result<i32>
[src]
impl Send for RansacParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for RansacParams
impl !Sync for RansacParams
impl Unpin for RansacParams
impl UnwindSafe for RansacParams
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,
pub 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.
pub 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>,