80 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
114 PEAK_COMMON_NO_DISCARD
float GetValue()
const;
137 m_module.SetGammaEnabled(enabled);
142 return m_module.IsGammaEnabled();
Represents a continuous numeric interval with inclusive lower and upper bounds.
Tone curve correction is an image pipeline module that applies digital black correction and inverse g...
void SetGamma(float gamma)
Sets the gamma correction exponent.
float GetGamma() const
Gets the current gamma correction exponent.
peak::common::IntervalF GetGammaRange() const
Returns the valid range for the gamma correction exponent.
Gamma applies an inverse gamma transformation to an image.
GammaFeature(detail::ToneCurveCorrectionModule &module)
Creates a GammaFeature for an existing tone curve correction module.
peak::common::IntervalF GetRange() const
Retrieves the valid range for the gamma correction exponent.
void SetValue(float gamma)
Sets the gamma correction exponent.
void SetEnabled(bool enabled) override
Enables or disables the feature.
float GetValue() const
Gets the current gamma correction exponent.
void ResetToDefault() override
Resets the gamma value to the default.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
Abstract base class for all image processing pipeline features.