raisin::RayraiWindow::ExposureRecommendation
struct · #include <rayrai/RayraiWindow.hpp>
Result of recommendExposure(); the target/limit fields echo the inputs.
Public attributes
valid
cpp
bool validFalse when the inputs were invalid (reason is invalid_input).
changed
cpp
bool changedTrue when the recommended scale differs from 1 by more than 2 %.
underexposed
cpp
bool underexposedMidtones are below 70 % of the target median.
overexposed
cpp
bool overexposedHighlights exceed the p95 target or midtones exceed 135 % of the target median.
clippingRisk
cpp
bool clippingRiskMore than 1 % of channel values are clipped.
currentExposure
cpp
double currentExposureExposure the metrics were captured with.
recommendedExposure
cpp
double recommendedExposureSuggested exposure, clamped to [minExposure, maxExposure].
recommendedExposureScale
cpp
double recommendedExposureScalerecommendedExposure / currentExposure.
targetMedianLuminance
cpp
double targetMedianLuminanceTarget median luminance used.
targetP95Luminance
cpp
double targetP95LuminanceTarget 95th percentile luminance used.
minExposure
cpp
double minExposureLower exposure bound used.
maxExposure
cpp
double maxExposureUpper exposure bound used.
reason
cpp
std::string reasonMachine-readable reason, e.g. highlight_clipping, lift_midtones, within_target.