Skip to content

raisin::RayraiWindow::RgbaCalibrationMetrics ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of analyzeRgbaCalibrationPatches(); averages cover valid patches only.

Public attributes ​

width ​

cpp
int width

Image width passed in.

height ​

cpp
int height

Image height passed in.

patchCount ​

cpp
size_t patchCount

Number of patches passed in.

validPatchCount ​

cpp
size_t validPatchCount

Number of patches that overlapped the image.

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 luminance error.

averageSaturationError ​

cpp
double averageSaturationError

Mean saturation error.

patches ​

cpp
std::vector<RgbaCalibrationPatchResult> patches

One entry per input patch, in input order.

RaiSim — physics for robotics and AI.