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


Public Member Functions | |
| ColorMatrixTransformationModule () | |
| Creates an instance of class ColorMatrixTransformationModule with the default color correction matrix and saturation value. | |
| ~ColorMatrixTransformationModule () override | |
| ColorMatrixTransformationModule (const ColorMatrixTransformationModule &other)=delete | |
| Copy constructor for class ColorMatrixTransformation is deleted. | |
| ColorMatrixTransformationModule (ColorMatrixTransformationModule &&other) noexcept | |
| ColorMatrixTransformationModule & | operator= (const ColorMatrixTransformationModule &other)=delete |
| Copy assignment for class ColorMatrixTransformation is deleted. | |
| ColorMatrixTransformationModule & | operator= (ColorMatrixTransformationModule &&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 ColorCorrectionMatrix to the default and the saturation value to the default. | |
| void | SetMatrix (const ColorCorrectionMatrix &matrix) |
| Sets the ColorCorrectionMatrix. | |
| ColorCorrectionMatrix | GetMatrix () const |
| Returns the current ColorCorrectionMatrix. | |
| void | SetSaturation (float saturation) |
| Sets the Saturation. | |
| float | GetSaturation () const |
| Returns the current saturation value. | |
| peak::common::IntervalF | GetSaturationRange () const |
| Returns the saturation range. | |
| peak::icv::Image | Process (const peak::icv::Image &input) const |
| Applies the configured ColorCorrectionMatrix and saturation adjustment to the input image. | |
| peak::common::Any | Process (const peak::common::Any &input) const override |
| Applies the configured ColorCorrectionMatrix and saturation adjustment to the input image. | |
| void | SetAutoFeatureModule (const std::shared_ptr< modules::IAutoFeature > &module) |
| Sets the auto feature module that should take the color correction matrix into account for automatic white balancing. | |
Color matrix transformation is an image pipeline module that applies a ColorCorrectionMatrix to an image.
Provides the features features::ColorCorrectionFeature and features::SaturationFeature
Definition at line 43 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Creates an instance of class ColorMatrixTransformationModule with the default color correction matrix and saturation value.
Definition at line 276 of file peak_icv_color_matrix_transformation_module.hpp.
|
inlineoverride |
Definition at line 285 of file peak_icv_color_matrix_transformation_module.hpp.
|
delete |
Copy constructor for class ColorMatrixTransformation is deleted.
|
inlinenoexcept |
Definition at line 293 of file peak_icv_color_matrix_transformation_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 337 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Returns the current ColorCorrectionMatrix.
Definition at line 386 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Returns the current saturation value.
Definition at line 417 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Returns the saturation range.
Definition at line 422 of file peak_icv_color_matrix_transformation_module.hpp.
|
inlineoverridevirtual |
Returns the type of the module for serialization purposes.
Implements IModule.
Definition at line 368 of file peak_icv_color_matrix_transformation_module.hpp.
|
inlineoverridevirtual |
Checks if the module is currently enabled.
Implements IModule.
Definition at line 363 of file peak_icv_color_matrix_transformation_module.hpp.
|
inlinenoexcept |
Definition at line 301 of file peak_icv_color_matrix_transformation_module.hpp.
|
delete |
Copy assignment for class ColorMatrixTransformation is deleted.
|
inlineoverridevirtual |
Applies the configured ColorCorrectionMatrix and saturation adjustment to the input 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 437 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Applies the configured ColorCorrectionMatrix and saturation adjustment to the input image.
| input | The input image to be processed. |
Definition at line 432 of file peak_icv_color_matrix_transformation_module.hpp.
|
inlineoverridevirtual |
Resets the ColorCorrectionMatrix to the default and the saturation value to the default.
Implements IModule.
Definition at line 373 of file peak_icv_color_matrix_transformation_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 321 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Sets the auto feature module that should take the color correction matrix into account for automatic white balancing.
Definition at line 486 of file peak_icv_color_matrix_transformation_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 355 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Sets the ColorCorrectionMatrix.
| matrix | The ColorCorrectionMatrix to set. |
Definition at line 391 of file peak_icv_color_matrix_transformation_module.hpp.
|
inline |
Sets the Saturation.
| saturation | The saturation to set. |
| OutOfRangeException | If saturation is outside the valid range (see GetSaturationRange). |
Definition at line 401 of file peak_icv_color_matrix_transformation_module.hpp.