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


Public Member Functions | |
| SharpeningModule ()=default | |
| Creates an instance of class SharpeningModule with default values. | |
| ~SharpeningModule () override=default | |
| SharpeningModule (const SharpeningModule &other)=delete | |
| Copy constructor for class SharpeningModule is deleted. | |
| SharpeningModule (SharpeningModule &&other) noexcept | |
| SharpeningModule & | operator= (const SharpeningModule &other)=delete |
| Copy assignment for class SharpeningModule is deleted. | |
| SharpeningModule & | operator= (SharpeningModule &&other) noexcept |
| void | Serialize (peak::common::serialization::IArchive &archive) const override |
| Serializes the object's internal state into the provided archive. | |
| void | Deserialize (const peak::common::serialization::IArchive &archive) override |
| Restores the object's state from the provided archive. | |
| void | SetEnabled (bool enabled) override |
| Sets the enabled state of this module. | |
| bool | IsEnabled () const override |
| Checks if the module is currently enabled. | |
| const char * | GetType () const override |
| Returns the type of the module for serialization purposes. | |
| void | ResetToDefault () override |
| Resets the sharpness level to the default value. | |
| void | SetLevel (uint32_t level) |
| Sets the sharpness level. | |
| uint32_t | GetLevel () const |
| Retrieves the current sharpness level. | |
| peak::common::IntervalU | GetLevelRange () const |
| Returns the valid range of sharpness levels. | |
| peak::icv::Image | Process (const peak::icv::Image &input) const |
| Processes the input image and returns a sharpened output image. | |
| peak::common::Any | Process (const peak::common::Any &input) const override |
| Processes the input image and returns a sharpened output image. | |
Sharpening is an image pipeline module that 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 33 of file peak_icv_sharpening_module.hpp.
|
default |
Creates an instance of class SharpeningModule with default values.
|
overridedefault |
|
delete |
Copy constructor for class SharpeningModule is deleted.
|
inlinenoexcept |
Definition at line 224 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Restores the object's state from the provided archive.
This function reads and applies all necessary parameters from the given archive to reconstruct the internal state of the object. It ensures that the object is restored to a valid and consistent state.
| archive | The source archive containing the serialized parameters. |
| CorruptedException | If the 'Version' entry in archive is missing, malformed, or indicates an unsupported version. |
Implements ISerializable.
Definition at line 247 of file peak_icv_sharpening_module.hpp.
|
inline |
Retrieves the current sharpness level.
Definition at line 287 of file peak_icv_sharpening_module.hpp.
|
inline |
Returns the valid range of sharpness levels.
Definition at line 292 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Returns the type of the module for serialization purposes.
Implements IModule.
Definition at line 267 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Checks if the module is currently enabled.
Implements IModule.
Definition at line 262 of file peak_icv_sharpening_module.hpp.
|
delete |
Copy assignment for class SharpeningModule is deleted.
|
inlinenoexcept |
Definition at line 229 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Processes the input image and returns a sharpened output image.
| input | The input image to be processed. |
| peak::common::InvalidCastException | If the input cast to peak::icv::Image failed. |
Implements IModule.
Definition at line 307 of file peak_icv_sharpening_module.hpp.
|
inline |
Processes the input image and returns a sharpened output image.
| input | The input image to be processed. |
Definition at line 302 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Resets the sharpness level to the default value.
Implements IModule.
Definition at line 272 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Serializes the object's internal state into the provided archive.
This function populates the given archive with all parameters required to fully represent the current state of the object. It ensures that the object can be reconstructed or transmitted accurately by saving all relevant data members in a consistent and structured format.
| archive | The target archive that will store the serialized parameters. |
Implements ISerializable.
Definition at line 239 of file peak_icv_sharpening_module.hpp.
|
inlineoverridevirtual |
Sets the enabled state of this module.
| enabled | If true, the module is enabled; otherwise, it is disabled. |
Implements IModule.
Definition at line 257 of file peak_icv_sharpening_module.hpp.
|
inline |
Sets the sharpness level.
| level | The sharpness level. |
| OutOfRangeException | If level is outside the valid range. |
Definition at line 277 of file peak_icv_sharpening_module.hpp.