Structure containing parameters that defines the behavior of sl_grab(). More...
Data Fields | |
enum SL_REFERENCE_FRAME | reference_frame |
Reference frame in which to provides the 3D measures (point cloud, normals, etc.). More... | |
bool | enable_depth |
Defines if the depth map should be computed. More... | |
bool | enable_fill_mode |
Defines if the depth map should be completed or not. More... | |
int | confidence_threshold |
Threshold to reject depth values based on their confidence. More... | |
int | texture_confidence_threshold |
Threshold to reject depth values based on their texture confidence. More... | |
bool | remove_saturated_areas |
Defines if the saturated area (luminance>=255) must be removed from depth map estimation. More... | |
Structure containing parameters that defines the behavior of sl_grab().
The default constructor sets all parameters to their default settings.
enum SL_REFERENCE_FRAME SL_RuntimeParameters::reference_frame |
Reference frame in which to provides the 3D measures (point cloud, normals, etc.).
Default: SL_REFERENCE_FRAME_CAMERA
bool SL_RuntimeParameters::enable_depth |
Defines if the depth map should be computed.
Default: true
bool SL_RuntimeParameters::enable_fill_mode |
Defines if the depth map should be completed or not.
Default: false
int SL_RuntimeParameters::confidence_threshold |
Threshold to reject depth values based on their confidence.
Each depth pixel has a corresponding confidence (SL_MEASURE_CONFIDENCE) in the range [1, 100].
Decreasing this value will remove depth data from both objects edges and low textured areas, to keep only confident depth estimation data.
Default: 95
int SL_RuntimeParameters::texture_confidence_threshold |
Threshold to reject depth values based on their texture confidence.
The texture confidence range is [1, 100].
Decreasing this value will remove depth data from image areas which are uniform.
Default: 100 (no depth pixel will be rejected)
bool SL_RuntimeParameters::remove_saturated_areas |
Defines if the saturated area (luminance>=255) must be removed from depth map estimation.
Default: true