#include <peak_common/pipeline/modules/peak_common_iautofeature_module.hpp>

Public Member Functions | |
| virtual void | SetGainModule (std::shared_ptr< IGain > gainModule)=0 |
| Called by the pipeline to set the gain module for the auto feature module. | |
| virtual void | SetColorCorrectionMatrix (const std::array< float, 9 > &matrix)=0 |
| Notifies the auto feature module of the currently used color correction matrix. | |
| virtual void | SetEnabled (bool enabled)=0 |
| Sets the enabled state of the module. | |
| virtual bool | IsEnabled () const =0 |
| Checks whether the module is currently enabled. | |
| virtual const char * | GetType () const =0 |
| Returns the type identifier of the module. | |
| virtual peak::common::Any | Process (const peak::common::Any &input) const =0 |
| Processes input data and returns the result. | |
| virtual void | ResetToDefault ()=0 |
| Resets the module to its default state. The enabled state is not reset. | |
| virtual void | Serialize (IArchive &archive) const =0 |
| Serializes the current object into the provided archive. | |
| virtual void | Deserialize (const IArchive &archive)=0 |
| Deserializes the object's state from the provided archive. | |
Interface for modules that provide auto feature functionality.
Defines the necessary functions that any auto feature module must implement.
|
pure virtualinherited |
Deserializes the object's state from the provided archive.
This method reads data from the given peak::common::serialization::IArchive and reconstructs the internal state of the object.
| archive | The archive from which to read the object's data. |
Implemented in ColorCorrectionMatrix, ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtualinherited |
Returns the type identifier of the module.
This should be a unique string identifying the specific implementation of the module.
Implemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtualinherited |
Checks whether the module is currently enabled.
Implemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtualinherited |
Processes input data and returns the result.
This function is called by the pipeline to process a unit of data.
| input | The input data to be processed. |
Implemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtualinherited |
Resets the module to its default state. The enabled state is not reset.
Implemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtualinherited |
Serializes the current object into the provided archive.
This method writes the internal state of the object into the given peak::common::serialization::IArchive so that it can later be reconstructed using Deserialize().
| archive | The archive to which the object's data will be written. |
Implemented in ColorCorrectionMatrix, ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtual |
Notifies the auto feature module of the currently used color correction matrix.
Allows the auto feature module to adjust its algorithms and gain values based on the provided color correction matrix.
| matrix | The 3x3 color correction matrix in row-major order that is currently in use. |
|
pure virtualinherited |
Sets the enabled state of the module.
| enabled | True to enable the module, false to disable it. |
Implemented in ColorMatrixTransformationModule, DebayerModule, DownsamplingModule, GainModule, HotpixelCorrectionModule, MonoConversionModule, PixelFormatConversionModule, SharpeningModule, ToneCurveCorrectionModule, TransformationModule, and UnpackModule.
|
pure virtual |
Called by the pipeline to set the gain module for the auto feature module.
This function provides the gain module that the auto feature module can use to apply gain adjustments as needed.
| gainModule | The gain module to be controlled by the auto feature module. |