StereoBMTraitConst

Trait StereoBMTraitConst 

Source
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§

Provided Methods§

Source

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.

Source

fn get_pre_filter_size(&self) -> Result<i32>

Gets the current size of the pre-filter kernel.

§Returns

The current pre-filter size.

Source

fn get_pre_filter_cap(&self) -> Result<i32>

Gets the current truncation value for prefiltered pixels.

§Returns

The current pre-filter cap value.

Source

fn get_texture_threshold(&self) -> Result<i32>

Gets the current texture threshold value.

§Returns

The current texture threshold.

Source

fn get_uniqueness_ratio(&self) -> Result<i32>

Gets the current uniqueness ratio value.

§Returns

The current uniqueness ratio.

Source

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.

Source

fn get_roi1(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the left image.

§Returns

The current ROI for the left image.

Source

fn get_roi2(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the right image.

§Returns

The current ROI for the right image.

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.

Implementors§