Struct opencv::calib3d::StereoSGBM [] [src]

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

Fields

ptr

Methods

impl StereoSGBM

fn as_raw_StereoSGBM(&self) -> *mut c_void

impl StereoSGBM

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

the default constructor

fn new(minDisparity: i32, numDisparities: i32, SADWindowSize: i32, P1: i32, P2: i32, disp12MaxDiff: i32, preFilterCap: i32, uniquenessRatio: i32, speckleWindowSize: i32, speckleRange: i32, fullDP: bool) -> Result<StereoSGBM, String>

the full constructor taking all the necessary algorithm parameters

default value for arguments: - P1: default 0 - P2: default 0 - disp12MaxDiff: default 0 - preFilterCap: default 0 - uniquenessRatio: default 0 - speckleWindowSize: default 0 - speckleRange: default 0 - fullDP: default false

Trait Implementations

impl Drop for StereoSGBM

fn drop(&mut self)