Trait CUDA_StereoBeliefPropagationTraitConst

Source
pub trait CUDA_StereoBeliefPropagationTraitConst: StereoMatcherTraitConst {
    // Required method
    fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void;

    // Provided methods
    fn get_num_iters(&self) -> Result<i32> { ... }
    fn get_num_levels(&self) -> Result<i32> { ... }
    fn get_max_data_term(&self) -> Result<f64> { ... }
    fn get_data_weight(&self) -> Result<f64> { ... }
    fn get_max_disc_term(&self) -> Result<f64> { ... }
    fn get_disc_single_jump(&self) -> Result<f64> { ... }
    fn get_msg_type(&self) -> Result<i32> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

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

number of BP iterations on each level

Source

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

number of levels

Source

fn get_max_data_term(&self) -> Result<f64>

truncation of data cost

Source

fn get_data_weight(&self) -> Result<f64>

data weight

Source

fn get_max_disc_term(&self) -> Result<f64>

truncation of discontinuity cost

Source

fn get_disc_single_jump(&self) -> Result<f64>

discontinuity single jump

Source

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

type for messages (CV_16SC1 or CV_32FC1)

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§