[][src]Trait opencv::cudaoptflow::CUDA_DenseOpticalFlow

pub trait CUDA_DenseOpticalFlow: AlgorithmTrait {
    pub fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void; pub fn calc(
        &mut self,
        i0: &dyn ToInputArray,
        i1: &dyn ToInputArray,
        flow: &mut dyn ToInputOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Base interface for dense optical flow algorithms.

Required methods

Loading content...

Provided methods

pub fn calc(
    &mut self,
    i0: &dyn ToInputArray,
    i1: &dyn ToInputArray,
    flow: &mut dyn ToInputOutputArray,
    stream: &mut Stream
) -> Result<()>
[src]

Calculates a dense optical flow.

Parameters

  • I0: first input image.
  • I1: second input image of the same size and the same type as I0.
  • flow: computed flow image that has the same size as I0 and type CV_32FC2.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()
Loading content...

Implementors

Loading content...