stereo
dense_stereo_types.h
Go to the documentation of this file.
1 #ifndef __STEREO_CONFIGURATION_H__
2 #define __STEREO_CONFIGURATION_H__
3 
4 #include <stdint.h>
5 
6 namespace stereo {
7 
10  {
12 
13  int32_t disp_min; // min disparity
14  int32_t disp_max; // max disparity
15  float support_threshold; // max. uniqueness ratio (best vs. second best support match)
16  int32_t support_texture; // min texture for support points
17  int32_t candidate_stepsize; // step size of regular grid on which support points are matched
18  int32_t incon_window_size; // window size of inconsistent support point check
19  int32_t incon_threshold; // disparity similarity threshold for support point to be considered consistent
20  int32_t incon_min_support; // minimum number of consistent support points
21  bool add_corners; // add support points at image corners with nearest neighbor disparities
22  int32_t grid_size; // size of neighborhood for additional support point extrapolation
23  float beta; // image likelihood parameter
24  float gamma; // prior constant
25  float sigma; // prior sigma
26  float sradius; // prior sigma radius
27  int32_t match_texture; // min texture for dense matching
28  int32_t lr_threshold; // disparity threshold for left/right consistency check
29  float speckle_sim_threshold; // similarity threshold for speckle segmentation
30  int32_t speckle_size; // maximal size of a speckle (small speckles get removed)
31  int32_t ipol_gap_width; // interpolate small gaps (left<->right, top<->bottom)
32  bool filter_median; // optional median filter (approximated)
33  bool filter_adaptive_mean; // optional adaptive mean filter (approximated)
34  bool postprocess_only_left; // saves time by not postprocessing the right image
35  bool subsampling; // saves time by only computing disparities for each 2nd pixel
36  // note: for this option D1 and D2 must be passed with size
37  // width/2 x height/2 (rounded towards zero)
38  };
39 
40 }
41 
42 #endif
float sigma
Definition: dense_stereo_types.h:25
int32_t incon_threshold
Definition: dense_stereo_types.h:19
Definition: dense_stereo_types.h:9
bool filter_median
Definition: dense_stereo_types.h:32
int32_t candidate_stepsize
Definition: dense_stereo_types.h:17
bool filter_adaptive_mean
Definition: dense_stereo_types.h:33
int32_t ipol_gap_width
Definition: dense_stereo_types.h:31
int32_t incon_min_support
Definition: dense_stereo_types.h:20
int32_t incon_window_size
Definition: dense_stereo_types.h:18
int32_t match_texture
Definition: dense_stereo_types.h:27
bool add_corners
Definition: dense_stereo_types.h:21
int32_t speckle_size
Definition: dense_stereo_types.h:30
Definition: configuration.cpp:3
float gamma
Definition: dense_stereo_types.h:24
float support_threshold
Definition: dense_stereo_types.h:15
int32_t support_texture
Definition: dense_stereo_types.h:16
bool subsampling
Definition: dense_stereo_types.h:35
bool postprocess_only_left
Definition: dense_stereo_types.h:34
float beta
Definition: dense_stereo_types.h:23
int32_t disp_max
Definition: dense_stereo_types.h:14
int32_t grid_size
Definition: dense_stereo_types.h:22
float sradius
Definition: dense_stereo_types.h:26
int32_t disp_min
Definition: dense_stereo_types.h:13
int32_t lr_threshold
Definition: dense_stereo_types.h:28
float speckle_sim_threshold
Definition: dense_stereo_types.h:29
libElasConfiguration()
Definition: dense_stereo_types.cpp:7