[−][src]Struct opencv::optflow::PCAPrior
@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
impl PCAPrior
[src]
pub fn as_raw_PCAPrior(&self) -> *const c_void
[src]
pub fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void
[src]
impl PCAPrior
[src]
Trait Implementations
impl Boxed for PCAPrior
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for PCAPrior
[src]
impl PCAPriorTrait for PCAPrior
[src]
pub fn as_raw_PCAPrior(&self) -> *const c_void
[src]
pub fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void
[src]
pub fn get_padding(&self) -> Result<i32>
[src]
pub fn get_basis_size(&self) -> Result<i32>
[src]
pub fn fill_constraints(
&self,
a1: &mut f32,
a2: &mut f32,
b1: &mut f32,
b2: &mut f32
) -> Result<()>
[src]
&self,
a1: &mut f32,
a2: &mut f32,
b1: &mut f32,
b2: &mut f32
) -> Result<()>
impl Send for PCAPrior
[src]
Auto Trait Implementations
impl RefUnwindSafe for PCAPrior
[src]
impl !Sync for PCAPrior
[src]
impl Unpin for PCAPrior
[src]
impl UnwindSafe for PCAPrior
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,