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
Mutable methods for crate::superres::SuperRes_DenseOpticalFlowExt
Required Methods§
fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void
Provided Methods§
Sourcefn calc(
&mut self,
frame0: &impl ToInputArray,
frame1: &impl ToInputArray,
flow1: &mut impl ToOutputArray,
flow2: &mut impl ToOutputArray,
) -> Result<()>
fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>
§C++ default parameters
- flow2: noArray()
Sourcefn calc_def(
&mut self,
frame0: &impl ToInputArray,
frame1: &impl ToInputArray,
flow1: &mut impl ToOutputArray,
) -> Result<()>
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()
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.