
Public Member Functions | |
| override void | Serialize (IArchive archive) |
| Serializes the object's internal state into the provided archive. | |
| override void | Deserialize (IArchive archive) |
| Restores the object's state from the provided archive. | |
| override Image | Process (Image inputImage) |
| Processes the input image and returns a sharpened output image. | |
| override object | Process (object input) |
| Processes the input image and returns a sharpened output image. | |
| override void | ResetToDefault () |
| Resets the sharpness level to the default value (0). | |
Properties | |
| override string | TypeId [get] |
| The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module. | |
| uint | Level [get, set] |
| The current sharpness level. | |
| IntervalU | LevelRange [get] |
| Gets the valid range for the sharpness level. | |
| int | Version = 1 [get] |
| The module version. | |
| virtual bool | IsEnabled = true [get, set] |
| Get whether this module is enabled. | |
Sharpening is an image pipeline module that applies a sharpening filter to enhance image detail.
Definition at line 16 of file SharpeningModule.cs.
|
inlinevirtual |
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. |
| IcvCorruptedException | The archive is malformed, misses keys or the values are invalid. |
| IcvNotSupportedException | The Version entry indicates an unsupported version. |
| IcvOutOfRangeException | The values are outside of the valid range. |
Reimplemented from ModuleBase.
Definition at line 117 of file SharpeningModule.cs.
Processes the input image and returns a sharpened output image.
| inputImage | The input image to be processed. |
Definition at line 144 of file SharpeningModule.cs.
|
inlinevirtual |
Processes the input image and returns a sharpened output image.
| input | The input image to be processed. |
Reimplemented from ModuleBase.
Definition at line 189 of file SharpeningModule.cs.
|
inlinevirtual |
Resets the sharpness level to the default value (0).
Reimplemented from ModuleBase.
Definition at line 201 of file SharpeningModule.cs.
|
inlinevirtual |
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. |
Reimplemented from ModuleBase.
Definition at line 83 of file SharpeningModule.cs.
|
getsetinherited |
Get whether this module is enabled.
When disabled, Process returns the input image unchanged.
Implements IModule.
Definition at line 28 of file ModuleBase.cs.
|
getset |
The current sharpness level.
| IcvOutOfRangeException | The value is outside the valid range. |
Definition at line 43 of file SharpeningModule.cs.
|
get |
Gets the valid range for the sharpness level.
Definition at line 61 of file SharpeningModule.cs.
|
get |
The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module.
Implements IModule.
Definition at line 25 of file SharpeningModule.cs.
|
getinherited |
The module version.
Definition at line 20 of file ModuleBase.cs.