pub trait SuperRes_BroxOpticalFlowTrait: SuperRes_BroxOpticalFlowTraitConst + SuperRes_DenseOpticalFlowExtTrait {
// Required method
fn as_raw_mut_SuperRes_BroxOpticalFlow(&mut self) -> *mut c_void;
// Provided methods
fn set_alpha(&mut self, val: f64) -> Result<()> { ... }
fn set_gamma(&mut self, val: f64) -> Result<()> { ... }
fn set_scale_factor(&mut self, val: f64) -> Result<()> { ... }
fn set_inner_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_outer_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_solver_iterations(&mut self, val: i32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::superres::SuperRes_BroxOpticalFlow
Required Methods§
fn as_raw_mut_SuperRes_BroxOpticalFlow(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_scale_factor(&mut self, val: f64) -> Result<()>
fn set_scale_factor(&mut self, val: f64) -> Result<()>
Sourcefn set_inner_iterations(&mut self, val: i32) -> Result<()>
fn set_inner_iterations(&mut self, val: i32) -> Result<()>
Number of lagged non-linearity iterations (inner loop)
§See also
setInnerIterations getInnerIterations
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.