[−][src]Trait opencv::cudaoptflow::CUDA_DenseOpticalFlow
Base interface for dense optical flow algorithms.
Required methods
pub fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void
[src]
pub fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void
[src]
Provided methods
pub fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
[src]
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
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()