Represents a continuous numeric interval with inclusive lower and upper bounds.
Sharpening is an image pipeline module that applies a sharpening filter to enhance image detail.
void SetEnabled(bool enabled) override
Sets the enabled state of this module.
void SetLevel(uint32_t level)
Sets the sharpness level.
uint32_t GetLevel() const
Retrieves the current sharpness level.
void ResetToDefault() override
Resets the sharpness level to the default value.
bool IsEnabled() const override
Checks if the module is currently enabled.
peak::common::IntervalU GetLevelRange() const
Returns the valid range of sharpness levels.
Abstract base class for all image processing pipeline features.
Sharpening applies a sharpening filter to enhance image detail.
SharpeningFeature(detail::SharpeningModule &module)
Creates a SharpeningFeature for an existing sharpening module.
void SetEnabled(bool enabled) override
Enables or disables the feature.
void SetLevel(uint32_t level)
Sets the sharpness level.
uint32_t GetLevel() const
Gets the current sharpness level.
peak::common::IntervalU GetRange() const
Retrieves the valid range for the sharpness level.
void ResetToDefault() override
Resets the sharpness level to the default value.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
#define PEAK_COMMON_NO_DISCARD
Compatability macro for the nodiscard attribute.