Struct CoverageData
Defined in File DynamicCalibrationResults.hpp
Inheritance Relationships
Base Type
public dai::Buffer(Class Buffer)
Struct Documentation
-
struct CoverageData : public dai::Buffer
Coverage information for a single frame.
Contains 2D spatial coverage metrics used internally during dynamic calibration to measure how well the image area has been populated.
Spatial coverage matrices
-
std::vector<std::vector<float>> coveragePerCellA
2D coverage matrix for input A (e.g. left image). Values are ∈ [0, 1].
-
std::vector<std::vector<float>> coveragePerCellB
2D coverage matrix for input B (e.g. right image). Values are ∈ [0, 1].
Summary coverage metrics
-
float meanCoverage = 0.0f
Overall mean coverage across both inputs ∈ [0, 1].
-
float coverageAcquired = 0.0f
Proportion of desired spatial coverage acquired so far.
-
float dataAcquired = 0.0f
Proportion of calibration-relevant data acquired from the frame.
Public Functions
-
CoverageData() = default
-
virtual ~CoverageData()
-
virtual void serialize(std::vector<std::uint8_t> &metadata, DatatypeEnum &datatype) const override
Serialize CoverageData to buffer.
-
inline virtual DatatypeEnum getDatatype() const override
Get the datatype of this specific message.
- Returns:
DatatypeEnum
-
DEPTHAI_SERIALIZE(CoverageData, coveragePerCellA, coveragePerCellB, meanCoverage, dataAcquired, coverageAcquired)
-
std::vector<std::vector<float>> coveragePerCellA