[][src]Struct opencv::videostab::RansacParams

pub struct RansacParams { /* fields omitted */ }

Describes RANSAC method parameters.

Implementations

impl RansacParams[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]

impl Drop for RansacParams[src]

impl RansacParamsTrait for RansacParams[src]

impl Send for RansacParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.