Skip to content

raisin::RayraiWindow::RgbaCalibrationPatchResult ​

struct · #include <rayrai/RayraiWindow.hpp>

Per-patch measurement inside RgbaCalibrationMetrics.

Public attributes ​

name ​

cpp
std::string name

Patch name.

valid ​

cpp
bool valid

False when the patch does not overlap the image.

sampleCount ​

cpp
size_t sampleCount

Number of pixels averaged.

measuredRgb ​

cpp
glm::vec3 measuredRgb

Mean measured display-space RGB in [0, 1].

targetRgb ​

cpp
glm::vec3 targetRgb

Target RGB, clamped to [0, 1].

rgbError ​

cpp
double rgbError

Euclidean RGB distance between measured and target.

maxChannelError ​

cpp
double maxChannelError

Largest absolute per-channel difference.

luminanceError ​

cpp
double luminanceError

Absolute luminance difference.

saturationError ​

cpp
double saturationError

Absolute saturation difference.

RaiSim — physics for robotics and AI.