Struct StereoMatcherConfig

Struct Documentation

struct dense_reconstruction::stereo::StereoMatcherConfig

Public Functions

inline StereoMatcherConfig()
void adaptParamsBasedOnImageSize(const size_t image_width)

Public Members

double downscaling_factor = 1.0
bool use_sgbm = true
int sgbm_min_disparity = 0
int sgbm_num_disparities = 128
int sgbm_sad_window_size = 3
int sgbm_p1 = 72
int sgbm_p2 = 288
int sgbm_disp12_max_diff = 1
int sgbm_pre_filter_cap = 31
int sgbm_uniqueness_ratio = 10
int sgbm_speckle_window_size = 500
int sgbm_speckle_range = 3
int sgbm_mode = cv::StereoSGBM::MODE_SGBM
int bm_pre_filter_size = 9
int bm_pre_filter_cap = 31
std::string bm_prefilter_type = "xsobel"
int bm_texture_threshold = 10
int bm_uniqueness_ratio = 15
int bm_sad_window_size = 9
int bm_min_disparity = 0
int bm_num_disparities = 128
int bm_speckle_window_size = 500
int bm_speckle_range = 3
int bm_disp12_max_diff = 1

Public Static Functions

static StereoMatcherConfig getFromGflags()