SL_VoxelMeasureParameters Struct Reference

Parameters controlling voxel decimation in sl_retrieve_voxel_measure. More...

Data Fields

float voxel_size
 
bool centroid
 
enum SL_VOXELIZATION_MODE resolution_mode
 
float resolution_scale
 

Detailed Description

Parameters controlling voxel decimation in sl_retrieve_voxel_measure.

Field Documentation

◆ voxel_size

float SL_VoxelMeasureParameters::voxel_size

Voxel grid cell size in coordinate units. Default: -1 (100mm equivalent).

◆ centroid

bool SL_VoxelMeasureParameters::centroid

true = centroid, false = voxel grid center. Default: true.

◆ resolution_mode

enum SL_VOXELIZATION_MODE SL_VoxelMeasureParameters::resolution_mode

How voxel size adapts with depth. Default: SL_VOXELIZATION_MODE_STEREO_UNCERTAINTY.

◆ resolution_scale

float SL_VoxelMeasureParameters::resolution_scale

Scale factor for depth-adaptive growth. Default: 0.2.