60 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
96 PEAK_COMMON_NO_DISCARD
float GetValue()
const;
Represents a continuous numeric interval with inclusive lower and upper bounds.
Abstract base class for all image processing pipeline features.
Adjusts the saturation of an image by modifying a 3x3 ColorCorrectionMatrix.
peak::common::IntervalF GetRange() const
Gets the valid range for the saturation value.
void SetValue(float saturation)
Sets the saturation value.
void SetEnabled(bool enabled) override
Enables or disables the feature.
float GetValue() const
Gets the current saturation value.
void ResetToDefault() override
Resets the saturation value to its default.
SaturationFeature(detail::ColorMatrixTransformationModule &module)
Creates a SaturationFeature using an existing color matrix transformation module.
bool IsEnabled() const override
Gets whether this feature is currently enabled.