Struct opencv::calib3d::StereoBM [] [src]

pub struct StereoBM {
    pub ptr: *mut c_void,
}

Fields

ptr

Methods

impl StereoBM

fn as_raw_StereoBM(&self) -> *mut c_void

impl StereoBM

fn default() -> Result<StereoBM, String>

the default constructor

fn new(preset: i32, ndisparities: i32, SADWindowSize: i32) -> Result<StereoBM, String>

the full constructor taking the camera-specific preset, number of disparities and the SAD window size

default value for arguments: - ndisparities: default 0 - SADWindowSize: default 21

fn init(&mut self, preset: i32, ndisparities: i32, SADWindowSize: i32) -> Result<(), String>

the method that reinitializes the state. The previous content is destroyed

default value for arguments: - ndisparities: default 0 - SADWindowSize: default 21

Trait Implementations

impl Drop for StereoBM

fn drop(&mut self)