Skip to content

raisin::RgbaCalibrationMetrics ​

struct · #include <rayrai/Capture.hpp>

Aggregate patch errors from RayraiWindow::analyzeRgbaCalibrationPatches(); averages are over valid patches only.

Public attributes ​

width ​

cpp
int width

Image width passed in, pixels.

height ​

cpp
int height

Image height passed in, pixels.

patchCount ​

cpp
size_t patchCount

Patches requested.

validPatchCount ​

cpp
size_t validPatchCount

Patches with at least one sampled pixel.

averageRgbError ​

cpp
double averageRgbError

Mean of RgbaCalibrationPatchResult::rgbError.

rmsRgbError ​

cpp
double rmsRgbError

Root-mean-square of rgbError.

maxRgbError ​

cpp
double maxRgbError

Largest rgbError.

averageLuminanceError ​

cpp
double averageLuminanceError

Mean of luminanceError.

averageSaturationError ​

cpp
double averageSaturationError

Mean of saturationError.

patches ​

cpp
std::vector<RgbaCalibrationPatchResult> patches

Per-patch results, in input order.

RaiSim — physics for robotics and AI.