SL_RuntimeParameters Struct Reference

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
 

Detailed Description

Parameters that define the behavior of the grab.

Field Documentation

◆ sensing_mode

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

◆ reference_frame

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

◆ enable_depth

bool SL_RuntimeParameters::enable_depth

Defines if the depth map should be computed.
If false, only the images are available.
default : true

◆ confidence_threshold

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.

◆ texture_confidence_threshold

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.

◆ remove_saturated_areas

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.