71 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
Represents a numeric range with defined boundaries and a fixed increment.
Adjusts to changes in lighting conditions to maintain consistent color perception despite variations ...
uint32_t GetColorTemperature() const
Retrieves the current color temperature.
void SetColorTemperature(uint32_t kelvin)
Sets the color temperature of the light source. If no color temperature is explicitly set the chromat...
ChromaticAdaptionAlgorithm GetAlgorithm() const
Retrieves the current chromatic adaption algorithm.
void SetTargetColorSpace(ColorSpace colorSpace)
Sets the target color space.
ChromaticAdaptionFeature(detail::ColorMatrixTransformationModule &module)
Creates a ChromaticAdaptionFeature for an existing color matrix transformation module.
void SetAlgorithm(ChromaticAdaptionAlgorithm algorithm)
Sets the algorithm used for chromatic adaption.
bool HasColorTemperature() const
Checks whether a color temperature has been set.
void SetEnabled(bool enabled) override
Enables or disables the feature.
peak::common::RangeU GetColorTemperatureRange() const
Returns the allowed temperature range for the current combination of color space and algorithm.
void ResetToDefault() override
Resets the chromatic adaption configuration to the default values.
ColorSpace GetTargetColorSpace() const
Retrieves the current target color space.
bool IsEnabled() const override
Gets whether this feature is currently enabled.
Abstract base class for all image processing pipeline features.
ColorSpace
Color spaces supported by the chromatic adaptation feature.
ChromaticAdaptionAlgorithm
Algorithm used for chromatic adaption.