pub trait PCAPriorTraitConst {
    fn as_raw_PCAPrior(&self) -> *const 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

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

Provided Methods

Implementors