Data Fields | |
enum SL_SENSING_MODE | sensing_mode |
enum SL_REFERENCE_FRAME | reference_frame |
bool | enable_depth |
int | confidence_threshold |
int | texture_confidence_threshold |
bool | remove_saturated_areas |
Parameters that define the behavior of the grab.
enum SL_SENSING_MODE SL_RuntimeParameters::sensing_mode |
Defines the algorithm used for depth map computation, more info : SENSING_MODE definition.
default : SENSING_MODE_STANDARD
enum SL_REFERENCE_FRAME SL_RuntimeParameters::reference_frame |
Provides 3D measures (point cloud and normals) in the desired reference frame (default is REFERENCE_FRAME_CAMERA)
default : REFERENCE_FRAME_CAMERA
bool SL_RuntimeParameters::enable_depth |
Defines if the depth map should be computed.
If false, only the images are available.
default : true
int SL_RuntimeParameters::confidence_threshold |
Threshold to reject depth values based on their confidence.
Each depth pixel has a corresponding confidence. (MEASURE_CONFIDENCE), the confidence range is [1,100].
By default, the confidence threshold is set at 100, meaning that no depth pixel will be rejected.
Decreasing this value will remove depth data from both objects edges and low textured areas, to keep only confident depth estimation data.
int SL_RuntimeParameters::texture_confidence_threshold |
Threshold to reject depth values based on their texture confidence.
The texture confidence range is [1,100].
By default, the texture confidence threshold is set at 100, meaning that no depth pixel will be rejected.
Decreasing this value will remove depth data from image areas which are uniform.
bool SL_RuntimeParameters::remove_saturated_areas |
Defines if the saturated area (Luminance>=255) must be removed from depth map estimation
True by default
It is recommended to keep this parameter at true because saturated area can create false detection.