[−][src]Struct opencv::optflow::OpticalFlowPCAFlow
PCAFlow algorithm.
Implementations
impl OpticalFlowPCAFlow
[src]
pub fn as_raw_OpticalFlowPCAFlow(&self) -> *const c_void
[src]
pub fn as_raw_mut_OpticalFlowPCAFlow(&mut self) -> *mut c_void
[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]
_prior: Ptr<PCAPrior>,
_basis_size: Size,
_sparse_rate: f32,
_retained_corners_fraction: f32,
_occlusions_threshold: f32,
_damping_factor: f32,
_clahe_clip: f32
) -> Result<OpticalFlowPCAFlow>
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]
fn as_raw_Algorithm(&self) -> *const c_void
[src]
fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for OpticalFlowPCAFlow
[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 DenseOpticalFlow for OpticalFlowPCAFlow
[src]
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
[src]
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
[src]
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
[src]
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
[src]
impl Drop for OpticalFlowPCAFlow
[src]
impl OpticalFlowPCAFlowTrait for OpticalFlowPCAFlow
[src]
fn as_raw_OpticalFlowPCAFlow(&self) -> *const c_void
[src]
fn as_raw_mut_OpticalFlowPCAFlow(&mut self) -> *mut c_void
[src]
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
[src]
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
[src]
impl Send for OpticalFlowPCAFlow
[src]
Auto Trait Implementations
impl RefUnwindSafe for OpticalFlowPCAFlow
impl !Sync for OpticalFlowPCAFlow
impl Unpin for OpticalFlowPCAFlow
impl UnwindSafe for OpticalFlowPCAFlow
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>,