ToFDepthConfidenceFilterConfig
ToFDepthConfidenceFilterConfig configures the confidence-driven post-processing stage used in DepthAI Time-of-Flight pipelines. It is primarily consumed by the ToF node and the ImageFilters node when they are operating on ToF depth frames.The message exposes thresholds for confidence values, dilation/erosion parameters, and options to inpaint or invalidate pixels that fall below a desired certainty. By pushing updated ToFDepthConfidenceFilterConfig messages at runtime you can trade off between spatial smoothness and preserving fine depth detail as environmental conditions change.Reference
class
dai::ToFDepthConfidenceFilterConfig
variable
float confidenceThreshold
Threshold for the confidence filter
function
~ToFDepthConfidenceFilterConfig()function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)function
void setProfilePreset(ImageFiltersPresetMode presetMode)Set preset mode for ImageFiltersPresetMode.
Parameters
- presetMode: Preset mode for ImageFiltersPresetMode.
function
DEPTHAI_SERIALIZE(ToFDepthConfidenceFilterConfig, confidenceThreshold)Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.