pub struct PCAPrior { /* private fields */ }
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.
Implementations
Trait Implementations
sourceimpl Boxed for PCAPrior
impl Boxed for PCAPrior
sourceimpl PCAPriorTrait for PCAPrior
impl PCAPriorTrait for PCAPrior
fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void
sourceimpl PCAPriorTraitConst for PCAPrior
impl PCAPriorTraitConst for PCAPrior
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<()>
impl Send for PCAPrior
Auto Trait Implementations
impl RefUnwindSafe for PCAPrior
impl !Sync for PCAPrior
impl Unpin for PCAPrior
impl UnwindSafe for PCAPrior
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more