pub trait StereoBMTraitConst: StereoMatcherTraitConst {
// Required method
fn as_raw_StereoBM(&self) -> *const c_void;
// Provided methods
fn get_pre_filter_type(&self) -> Result<i32> { ... }
fn get_pre_filter_size(&self) -> Result<i32> { ... }
fn get_pre_filter_cap(&self) -> Result<i32> { ... }
fn get_texture_threshold(&self) -> Result<i32> { ... }
fn get_uniqueness_ratio(&self) -> Result<i32> { ... }
fn get_smaller_block_size(&self) -> Result<i32> { ... }
fn get_roi1(&self) -> Result<Rect> { ... }
fn get_roi2(&self) -> Result<Rect> { ... }
}Expand description
Constant methods for crate::calib3d::StereoBM
Required Methods§
fn as_raw_StereoBM(&self) -> *const c_void
Provided Methods§
Sourcefn get_pre_filter_type(&self) -> Result<i32>
fn get_pre_filter_type(&self) -> Result<i32>
Gets the type of pre-filtering currently used in the algorithm.
§Returns
The current pre-filter type: 0 for PREFILTER_NORMALIZED_RESPONSE or 1 for PREFILTER_XSOBEL.
Sourcefn get_pre_filter_size(&self) -> Result<i32>
fn get_pre_filter_size(&self) -> Result<i32>
Sourcefn get_pre_filter_cap(&self) -> Result<i32>
fn get_pre_filter_cap(&self) -> Result<i32>
Gets the current truncation value for prefiltered pixels.
§Returns
The current pre-filter cap value.
Sourcefn get_texture_threshold(&self) -> Result<i32>
fn get_texture_threshold(&self) -> Result<i32>
Sourcefn get_uniqueness_ratio(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
Sourcefn get_smaller_block_size(&self) -> Result<i32>
fn get_smaller_block_size(&self) -> Result<i32>
Gets the current size of the smaller block used for texture check.
§Returns
The current smaller block size.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.