119 m_module.SetSaturationEnabled(enabled);
124 return m_module.IsSaturationEnabled();
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
Retrieves the valid range for the saturation value.
void SetValue(float saturation)
Sets the saturation level.
void SetEnabled(bool enabled) override
Enables or disables the feature.
float GetValue() const
Retrieves the current saturation level.
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
Indicates whether the feature is currently enabled.
#define PEAK_COMMON_NO_DISCARD
Compatability macro for the nodiscard attribute.