[][src]Struct opencv::types::PtrOfStereoBM

pub struct PtrOfStereoBM { /* fields omitted */ }

Methods

impl PtrOfStereoBM[src]

pub fn as_raw_PtrOfStereoBM(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

Trait Implementations

impl Algorithm for PtrOfStereoBM[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 StereoBM for PtrOfStereoBM[src]

fn get_pre_filter_type(&self) -> Result<i32>[src]

fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>[src]

fn get_pre_filter_size(&self) -> Result<i32>[src]

fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>[src]

fn get_pre_filter_cap(&self) -> Result<i32>[src]

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>[src]

fn get_texture_threshold(&self) -> Result<i32>[src]

fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>[src]

fn get_uniqueness_ratio(&self) -> Result<i32>[src]

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>[src]

fn get_smaller_block_size(&self) -> Result<i32>[src]

fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>[src]

fn get_roi1(&self) -> Result<Rect>[src]

fn set_roi1(&mut self, roi1: Rect) -> Result<()>[src]

fn get_roi2(&self) -> Result<Rect>[src]

fn set_roi2(&mut self, roi2: Rect) -> Result<()>[src]

impl StereoMatcher for PtrOfStereoBM[src]

fn compute(
    &mut self,
    left: &Mat,
    right: &Mat,
    disparity: &mut Mat
) -> Result<()>
[src]

Computes disparity map for the specified stereo pair Read more

fn get_min_disparity(&self) -> Result<i32>[src]

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>[src]

fn get_num_disparities(&self) -> Result<i32>[src]

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>[src]

fn get_block_size(&self) -> Result<i32>[src]

fn set_block_size(&mut self, block_size: i32) -> Result<()>[src]

fn get_speckle_window_size(&self) -> Result<i32>[src]

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>[src]

fn get_speckle_range(&self) -> Result<i32>[src]

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>[src]

fn get_disp12_max_diff(&self) -> Result<i32>[src]

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>[src]

impl Send for PtrOfStereoBM[src]

impl Drop for PtrOfStereoBM[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]