Struct CoverageData

Inheritance Relationships

Base Type

Struct Documentation

struct CoverageData : public dai::Buffer

CoverageData message

Contains information about the 2D spatial distribution of calibration data across the image pair. Generated per frame by the DCL.

Public Functions

CoverageData() = default
virtual ~CoverageData()
virtual void serialize(std::vector<std::uint8_t> &metadata, DatatypeEnum &datatype) const override
DEPTHAI_SERIALIZE(CoverageData, coveragePerCellA, coveragePerCellB, meanCoverage, dataAcquired, coverageAcquired)

Public Members

std::vector<std::vector<float>> coveragePerCellA

2D coverage matrix for input A (e.g. left image). Each cell represents how well that spatial bin is populated; range [0, 1].

std::vector<std::vector<float>> coveragePerCellB

2D coverage matrix for input B (e.g. right image). Each cell represents how well that spatial bin is populated; range [0, 1].

float meanCoverage

Overall quality metric summarizing 2D coverage across both inputs. Typically normalized to [0, 1].

float coverageAcquired = 0.0f

Proportion of the desired spatial coverage achieved so far; range [0, 1].

float dataAcquired = 0.0f

Proportion of calibration-relevant data acquired from the frame; range [0, 1].