[][src]Trait opencv::hub_prelude::CUDA_DisparityBilateralFilter

pub trait CUDA_DisparityBilateralFilter: AlgorithmTrait {
    pub fn as_raw_CUDA_DisparityBilateralFilter(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_DisparityBilateralFilter(&mut self) -> *mut c_void; pub fn apply(
        &mut self,
        disparity: &dyn ToInputArray,
        image: &dyn ToInputArray,
        dst: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
pub fn get_num_disparities(&self) -> Result<i32> { ... }
pub fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()> { ... }
pub fn get_radius(&self) -> Result<i32> { ... }
pub fn set_radius(&mut self, radius: i32) -> Result<()> { ... }
pub fn get_num_iters(&self) -> Result<i32> { ... }
pub fn set_num_iters(&mut self, iters: i32) -> Result<()> { ... }
pub fn get_edge_threshold(&self) -> Result<f64> { ... }
pub fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()> { ... }
pub fn get_max_disc_threshold(&self) -> Result<f64> { ... }
pub fn set_max_disc_threshold(
        &mut self,
        max_disc_threshold: f64
    ) -> Result<()> { ... }
pub fn get_sigma_range(&self) -> Result<f64> { ... }
pub fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()> { ... } }

Class refining a disparity map using joint bilateral filtering. :

The class implements Yang2010 algorithm.

Required methods

Loading content...

Provided methods

pub fn apply(
    &mut self,
    disparity: &dyn ToInputArray,
    image: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>
[src]

Refines a disparity map using joint bilateral filtering.

Parameters

  • disparity: Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
  • image: Input image. CV_8UC1 and CV_8UC3 types are supported.
  • dst: Destination disparity map. It has the same size and type as disparity .
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()

pub fn get_num_disparities(&self) -> Result<i32>[src]

pub fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>[src]

pub fn get_radius(&self) -> Result<i32>[src]

pub fn set_radius(&mut self, radius: i32) -> Result<()>[src]

pub fn get_num_iters(&self) -> Result<i32>[src]

pub fn set_num_iters(&mut self, iters: i32) -> Result<()>[src]

pub fn get_edge_threshold(&self) -> Result<f64>[src]

truncation of data continuity

pub fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>[src]

pub fn get_max_disc_threshold(&self) -> Result<f64>[src]

truncation of disparity continuity

pub fn set_max_disc_threshold(&mut self, max_disc_threshold: f64) -> Result<()>[src]

pub fn get_sigma_range(&self) -> Result<f64>[src]

filter range sigma

pub fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()>[src]

Loading content...

Implementors

Loading content...