raisin::ExposureRecommendation
struct · #include <rayrai/Capture.hpp>
Bounded exposure suggestion derived from RgbaLuminanceMetrics (RayraiWindow::recommendExposure()). Never applied automatically.
Highlights are controlled first (p95 above target or more than 1 % clipped channels), then midtones are lifted (median below 70 % of target) or lowered (above 135 %).
Public attributes
valid
bool validFalse when the inputs were invalid (reason "invalid_input").
changed
bool changedTrue when the recommended scale differs from 1 by more than 2 %.
underexposed
bool underexposedMidtones are below target.
overexposed
bool overexposedHighlights or midtones are above target.
clippingRisk
bool clippingRiskMore than 1 % of channel values are clipped.
currentExposure
double currentExposureExposure the metrics were captured with.
recommendedExposure
double recommendedExposureSuggested exposure, clamped to [minExposure, maxExposure].
recommendedExposureScale
double recommendedExposureScalerecommendedExposure / currentExposure.
targetMedianLuminance
double targetMedianLuminanceTarget median display luminance used.
targetP95Luminance
double targetP95LuminanceTarget 95th-percentile display luminance used.
minExposure
double minExposureLower exposure bound used.
maxExposure
double maxExposureUpper exposure bound used.
reason
std::string reasonDecision tag, e.g. "within_target", "lift_midtones", "highlight_clipping".