Skip to content

raisin::RayraiWindow::RgbaCalibrationRecommendation ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of recommendCalibrationOutputTransform().

Public attributes ​

valid ​

cpp
bool valid

False when no usable neutral or saturated reference patch exists.

changed ​

cpp
bool changed

True when the transform differs noticeably from identity.

neutralPatchCount ​

cpp
size_t neutralPatchCount

Patches with target saturation below 0.08 (drive exposure and white balance).

saturatedPatchCount ​

cpp
size_t saturatedPatchCount

Patches with target saturation above 0.15 (drive saturation).

averageRgbErrorBefore ​

cpp
double averageRgbErrorBefore

RgbaCalibrationMetrics::averageRgbError of the input.

outputTransform ​

cpp
RgbaOutputTransform outputTransform

Suggested transform for transformRgbaForOutput(); gamma is always 1.

reason ​

cpp
std::string reason

Machine-readable reason, e.g. calibration_output_transform, already_calibrated.

RaiSim — physics for robotics and AI.