[−][src]Struct opencv::types::PtrOfFarnebackOpticalFlow
Methods
impl PtrOfFarnebackOpticalFlow
[src]
pub fn as_raw_PtrOfFarnebackOpticalFlow(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
Trait Implementations
impl AlgorithmTrait for PtrOfFarnebackOpticalFlow
[src]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_1(&self, fs: &PtrOfFileStorage, name: &str) -> Result<()>
[src]
fn read(&mut self, _fn: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl DenseOpticalFlow for PtrOfFarnebackOpticalFlow
[src]
fn as_raw_DenseOpticalFlow(&self) -> *mut c_void
[src]
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
[src]
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
[src]
impl Drop for PtrOfFarnebackOpticalFlow
[src]
impl FarnebackOpticalFlow for PtrOfFarnebackOpticalFlow
[src]
fn as_raw_FarnebackOpticalFlow(&self) -> *mut c_void
[src]
fn get_num_levels(&self) -> Result<i32>
[src]
fn set_num_levels(&mut self, num_levels: i32) -> Result<()>
[src]
fn get_pyr_scale(&self) -> Result<f64>
[src]
fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>
[src]
fn get_fast_pyramids(&self) -> Result<bool>
[src]
fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>
[src]
fn get_win_size(&self) -> Result<i32>
[src]
fn set_win_size(&mut self, win_size: i32) -> Result<()>
[src]
fn get_num_iters(&self) -> Result<i32>
[src]
fn set_num_iters(&mut self, num_iters: i32) -> Result<()>
[src]
fn get_poly_n(&self) -> Result<i32>
[src]
fn set_poly_n(&mut self, poly_n: i32) -> Result<()>
[src]
fn get_poly_sigma(&self) -> Result<f64>
[src]
fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>
[src]
fn get_flags(&self) -> Result<i32>
[src]
fn set_flags(&mut self, flags: i32) -> Result<()>
[src]
impl Send for PtrOfFarnebackOpticalFlow
[src]
Auto Trait Implementations
impl RefUnwindSafe for PtrOfFarnebackOpticalFlow
impl !Sync for PtrOfFarnebackOpticalFlow
impl Unpin for PtrOfFarnebackOpticalFlow
impl UnwindSafe for PtrOfFarnebackOpticalFlow
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,
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.
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>,