#include <peak_icv/pipeline/features/peak_icv_sharpening_feature.hpp>

Public Member Functions | |
| SharpeningFeature (detail::SharpeningModule &module) | |
| Initialize the SharpeningFeature to manage the specified sharpening module. | |
| void | SetEnabled (bool enabled) override |
| Enables or disables the feature. | |
| bool | IsEnabled () const override |
| Gets whether this feature is currently enabled. | |
| void | ResetToDefault () override |
| Resets the sharpness level to the default value. | |
| 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. | |
Sharpening applies a sharpening filter to enhance image detail.
It enhances edges and fine structures by emphasizing high-frequency components in the image.
The strength of the effect is controlled by the sharpness level, where 0 results in no change.
|
inlineexplicit |
Initialize the SharpeningFeature to manage the specified sharpening module.
| module | Reference to the underlying detail::SharpeningModule. |
|
inline |
|
inline |
Retrieves the valid range for the sharpness level.
The returned interval specifies the minimum and maximum values that can be passed to SetLevel.
|
inlineoverridevirtual |
Gets whether this feature is currently enabled.
true if enabled; otherwise false.Implements IFeature.
|
inlineoverridevirtual |
Resets the sharpness level to the default value.
Implements IFeature.
|
inlineoverridevirtual |
Enables or disables the feature.
| enabled | Set to true to enable, or false to disable. |
Implements IFeature.
|
inline |
Sets the sharpness level.
| level | The acceptable range of values can be obtained from the range property. A value of 0 means no sharpening, higher values increase the effect. Valid values are within the range returned by GetRange. |
| OutOfRangeException | If level is outside the valid range. |