![]() |
IDS peak ICV v1.0.0
|
#include <peak_icv/pipeline/features/peak_icv_sharpening_feature.hpp>


Public Member Functions | |
| SharpeningFeature (detail::SharpeningModule &module) | |
| Creates a SharpeningFeature for an existing sharpening module. | |
| void | SetEnabled (bool enabled) override |
| Enables or disables the feature. | |
| bool | IsEnabled () const override |
| Indicates whether the 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.
Definition at line 44 of file peak_icv_sharpening_feature.hpp.
|
inlineexplicit |
Creates a SharpeningFeature for an existing sharpening module.
| module | Reference to the underlying detail::SharpeningModule. |
Definition at line 116 of file peak_icv_sharpening_feature.hpp.
|
inline |
Gets the current sharpness level.
Definition at line 140 of file peak_icv_sharpening_feature.hpp.
|
inline |
Retrieves the valid range for the sharpness level.
The returned interval specifies the minimum and maximum values that can be passed to SetLevel.
Definition at line 145 of file peak_icv_sharpening_feature.hpp.
|
inlineoverridevirtual |
Indicates whether the feature is currently enabled.
true if enabled; otherwise, false.Implements IFeature.
Definition at line 125 of file peak_icv_sharpening_feature.hpp.
|
inlineoverridevirtual |
Resets the sharpness level to the default value.
Implements IFeature.
Definition at line 130 of file peak_icv_sharpening_feature.hpp.
|
inlineoverridevirtual |
Enables or disables the feature.
| enabled | Set to true to enable the feature, or false to disable it. |
Implements IFeature.
Definition at line 120 of file peak_icv_sharpening_feature.hpp.
|
inline |
Sets the sharpness level.
| level | An integer value representing the sharpness level. 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. |
Definition at line 135 of file peak_icv_sharpening_feature.hpp.