
Public Member Functions | |
| virtual void | Serialize (IArchive archive) |
| Serializes the object's internal state into the provided archive. | |
| virtual void | Deserialize (IArchive archive) |
| Restores the object's state from the provided archive. | |
| virtual object | Process (object input) |
| Processes input data and returns the result.This function is called by the pipeline to process a unit of data. | |
| virtual void | ResetToDefault () |
| Resets the module to its default state.The enabled state is not reset. | |
| Image | Process (Image inputImage) |
| Processes the image. | |
Properties | |
| int | Version = 1 [get] |
| The module version. | |
| virtual bool | IsEnabled = true [get, set] |
| Get whether this module is enabled. | |
| string | TypeId [get] |
| Gets the module type identifier used for serialization. | |
Base class for all pipeline modules.
|
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. |
Implements ISerializable.
Reimplemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
inlinevirtual |
Processes input data and returns the result.This function is called by the pipeline to process a unit of data.
Implements IModule.
Reimplemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, SharpeningModule, ToneCurveCorrectionModule, and TransformationModule.
|
inlinevirtual |
Resets the module to its default state.The enabled state is not reset.
Implements IModule.
Reimplemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
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 serialized module's internal state. |
Implements ISerializable.
Reimplemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
getset |
Get whether this module is enabled.
When disabled, Process returns the input image unchanged.
Implements IModule.
|
getabstract |
Gets the module type identifier used for serialization.
Implements IModule.
|
get |
The module version.