75 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
107 PEAK_COMMON_NO_DISCARD
float GetValue()
const;
130 m_module.SetDigitalBlackEnabled(enabled);
135 return m_module.IsDigitalBlackEnabled();
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 SetDigitalBlack(float digitalBlack)
Sets the digital black used for digital black correction.
peak::common::IntervalF GetDigitalBlackRange() const
Returns the valid range for the digital black correction value.
float GetDigitalBlack() const
Gets the current digital black used for correction.
Digital black applies digital black correction to an image.
peak::common::IntervalF GetRange() const
Retrieves the valid range for the digital black value.
DigitalBlackFeature(detail::ToneCurveCorrectionModule &module)
Creates a DigitalBlackFeature for an existing tone curve correction module.
void SetValue(float digitalBlack)
Sets the digital black correction value.
void SetEnabled(bool enabled) override
Enables or disables the feature.
float GetValue() const
Gets the current digital black correction value.
void ResetToDefault() override
Resets the digital black value to its default.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
Abstract base class for all image processing pipeline features.