SuperRes_DenseOpticalFlowExtTrait

Trait SuperRes_DenseOpticalFlowExtTrait 

Source
pub trait SuperRes_DenseOpticalFlowExtTrait: AlgorithmTrait + SuperRes_DenseOpticalFlowExtTraitConst {
    // Required method
    fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void;

    // Provided methods
    fn calc(
        &mut self,
        frame0: &impl ToInputArray,
        frame1: &impl ToInputArray,
        flow1: &mut impl ToOutputArray,
        flow2: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn calc_def(
        &mut self,
        frame0: &impl ToInputArray,
        frame1: &impl ToInputArray,
        flow1: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn collect_garbage(&mut self) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

§C++ default parameters
  • flow2: noArray()
Source

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

§Note

This alternative version of SuperRes_DenseOpticalFlowExtTrait::calc function uses the following default values for its arguments:

  • flow2: noArray()
Source

fn collect_garbage(&mut self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§