[−][src]Struct opencv::types::PtrOfSparsePyrLKOpticalFlow
Methods
impl PtrOfSparsePyrLKOpticalFlow
[src]
pub fn as_raw_PtrOfSparsePyrLKOpticalFlow(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
Trait Implementations
impl Algorithm for PtrOfSparsePyrLKOpticalFlow
[src]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
Clears the algorithm state
fn empty(&self) -> Result<bool>
[src]
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
fn save(&self, filename: &str) -> Result<()>
[src]
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
fn get_default_name(&self) -> Result<String>
[src]
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
impl SparseOpticalFlow for PtrOfSparsePyrLKOpticalFlow
[src]
fn as_raw_SparseOpticalFlow(&self) -> *mut c_void
[src]
fn calc(
&mut self,
prev_img: &Mat,
next_img: &Mat,
prev_pts: &Mat,
next_pts: &mut Mat,
status: &mut Mat,
err: &mut Mat
) -> Result<()>
[src]
&mut self,
prev_img: &Mat,
next_img: &Mat,
prev_pts: &Mat,
next_pts: &mut Mat,
status: &mut Mat,
err: &mut Mat
) -> Result<()>
Calculates a sparse optical flow. Read more
impl SparsePyrLKOpticalFlow for PtrOfSparsePyrLKOpticalFlow
[src]
fn as_raw_SparsePyrLKOpticalFlow(&self) -> *mut c_void
[src]
fn get_win_size(&self) -> Result<Size>
[src]
fn set_win_size(&mut self, win_size: Size) -> Result<()>
[src]
fn get_max_level(&self) -> Result<i32>
[src]
fn set_max_level(&mut self, max_level: i32) -> Result<()>
[src]
fn get_term_criteria(&self) -> Result<TermCriteria>
[src]
fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()>
[src]
fn get_flags(&self) -> Result<i32>
[src]
fn set_flags(&mut self, flags: i32) -> Result<()>
[src]
fn get_min_eig_threshold(&self) -> Result<f64>
[src]
fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()>
[src]
impl Send for PtrOfSparsePyrLKOpticalFlow
[src]
impl Drop for PtrOfSparsePyrLKOpticalFlow
[src]
Auto Trait Implementations
impl Unpin for PtrOfSparsePyrLKOpticalFlow
impl !Sync for PtrOfSparsePyrLKOpticalFlow
impl RefUnwindSafe for PtrOfSparsePyrLKOpticalFlow
impl UnwindSafe for PtrOfSparsePyrLKOpticalFlow
Blanket Implementations
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,