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
Constant methods for crate::cudastereo::CUDA_StereoBeliefPropagation
Required Methods§
fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void
Provided Methods§
Sourcefn get_num_iters(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
number of BP iterations on each level
Sourcefn get_num_levels(&self) -> Result<i32>
fn get_num_levels(&self) -> Result<i32>
number of levels
Sourcefn get_max_data_term(&self) -> Result<f64>
fn get_max_data_term(&self) -> Result<f64>
truncation of data cost
Sourcefn get_data_weight(&self) -> Result<f64>
fn get_data_weight(&self) -> Result<f64>
data weight
Sourcefn get_max_disc_term(&self) -> Result<f64>
fn get_max_disc_term(&self) -> Result<f64>
truncation of discontinuity cost
Sourcefn get_disc_single_jump(&self) -> Result<f64>
fn get_disc_single_jump(&self) -> Result<f64>
discontinuity single jump
Sourcefn get_msg_type(&self) -> Result<i32>
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.