Trait opencv::optflow::PCAPriorTrait [−][src]
pub trait PCAPriorTrait { fn as_raw_PCAPrior(&self) -> *const c_void; fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void; fn get_padding(&self) -> Result<i32> { ... } fn get_basis_size(&self) -> Result<i32> { ... } fn fill_constraints(
&self,
a1: &mut f32,
a2: &mut f32,
b1: &mut f32,
b2: &mut f32
) -> Result<()> { ... } }
Expand description
@brief This class can be used for imposing a learned prior on the resulting optical flow. Solution will be regularized according to this prior. You need to generate appropriate prior file with “learn_prior.py” script beforehand.
Required methods
fn as_raw_PCAPrior(&self) -> *const c_void
fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void
Provided methods
fn get_padding(&self) -> Result<i32>
fn get_basis_size(&self) -> Result<i32>