[][src]Struct opencv::optflow::OpticalFlowPCAFlow

pub struct OpticalFlowPCAFlow { /* fields omitted */ }

PCAFlow algorithm.

Implementations

impl OpticalFlowPCAFlow[src]

impl OpticalFlowPCAFlow[src]

pub fn new(
    _prior: Ptr<PCAPrior>,
    _basis_size: Size,
    _sparse_rate: f32,
    _retained_corners_fraction: f32,
    _occlusions_threshold: f32,
    _damping_factor: f32,
    _clahe_clip: f32
) -> Result<OpticalFlowPCAFlow>
[src]

Creates an instance of PCAFlow algorithm.

Parameters

  • _prior: Learned prior or no prior (default). see also: cv::optflow::PCAPrior
  • _basisSize: Number of basis vectors.
  • _sparseRate: Controls density of sparse matches.
  • _retainedCornersFraction: Retained corners fraction.
  • _occlusionsThreshold: Occlusion threshold.
  • _dampingFactor: Regularization term for solving least-squares. It is not related to the prior regularization.
  • _claheClip: Clip parameter for CLAHE.

C++ default parameters

  • _prior: Ptr()
  • _basis_size: Size(18,14)
  • _sparse_rate: 0.024
  • _retained_corners_fraction: 0.2
  • _occlusions_threshold: 0.0003
  • _damping_factor: 0.00002
  • _clahe_clip: 14

Trait Implementations

impl AlgorithmTrait for OpticalFlowPCAFlow[src]

impl Boxed for OpticalFlowPCAFlow[src]

impl DenseOpticalFlow for OpticalFlowPCAFlow[src]

impl Drop for OpticalFlowPCAFlow[src]

impl OpticalFlowPCAFlowTrait for OpticalFlowPCAFlow[src]

impl Send for OpticalFlowPCAFlow[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.