Trait opencv::video::prelude::VariationalRefinement [−][src]
pub trait VariationalRefinement: DenseOpticalFlow + VariationalRefinementConst {
fn as_raw_mut_VariationalRefinement(&mut self) -> *mut c_void;
fn calc_uv(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow_u: &mut dyn ToInputOutputArray,
flow_v: &mut dyn ToInputOutputArray
) -> Result<()> { ... }
fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_sor_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_omega(&mut self, val: f32) -> Result<()> { ... }
fn set_alpha(&mut self, val: f32) -> Result<()> { ... }
fn set_delta(&mut self, val: f32) -> Result<()> { ... }
fn set_gamma(&mut self, val: f32) -> Result<()> { ... }
}
Required methods
fn as_raw_mut_VariationalRefinement(&mut self) -> *mut c_void
Provided methods
fn calc_uv(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow_u: &mut dyn ToInputOutputArray,
flow_v: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc_uv(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow_u: &mut dyn ToInputOutputArray,
flow_v: &mut dyn ToInputOutputArray
) -> Result<()>
@ref calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>
fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>
Number of outer (fixed-point) iterations in the minimization procedure.
See also
setFixedPointIterations getFixedPointIterations
fn set_sor_iterations(&mut self, val: i32) -> Result<()>
fn set_sor_iterations(&mut self, val: i32) -> Result<()>
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
See also
setSorIterations getSorIterations
Implementations
Creates an instance of VariationalRefinement