[][src]Function opencv::cudastereo::create_stereo_constant_space_bp

pub fn create_stereo_constant_space_bp(
    ndisp: i32,
    iters: i32,
    levels: i32,
    nr_plane: i32,
    msg_type: i32
) -> Result<Ptr<dyn CUDA_StereoConstantSpaceBP>>

Creates StereoConstantSpaceBP object.

Parameters

  • ndisp: Number of disparities.
  • iters: Number of BP iterations on each level.
  • levels: Number of levels.
  • nr_plane: Number of disparity levels on the first level.
  • msg_type: Type for messages. CV_16SC1 and CV_32FC1 types are supported.

C++ default parameters

  • ndisp: 128
  • iters: 8
  • levels: 4
  • nr_plane: 4
  • msg_type: CV_32F