raisin::RgbaCalibrationPatchResult
struct · #include <rayrai/Capture.hpp>
Measurement of one RgbaCalibrationPatch; all colors are display-space RGB in [0, 1].
Public attributes
name
cpp
std::string namePatch label.
valid
cpp
bool validFalse when the patch rectangle is empty after clipping.
sampleCount
cpp
size_t sampleCountPixels averaged.
measuredRgb
cpp
glm::vec3 measuredRgbMean RGB inside the patch.
targetRgb
cpp
glm::vec3 targetRgbTarget RGB, clamped to [0, 1].
rgbError
cpp
double rgbErrorEuclidean RGB distance between measured and target.
maxChannelError
cpp
double maxChannelErrorLargest absolute per-channel difference.
luminanceError
cpp
double luminanceErrorAbsolute Rec. 709 luma difference.
saturationError
cpp
double saturationErrorAbsolute (max - min) / max saturation difference.