![]() |
IDS peak IPL
v1.10.0
|
Applies a 3x3 color correction matrix to the data. More...
#include <peak_ipl/algorithm/peak_ipl_color_corrector.hpp>
Public Member Functions | |
| ColorCorrector () | |
| Constructor for a new ColorCorrector instance. More... | |
| ~ColorCorrector () | |
| Destructor for the ColorCorrector instance. More... | |
| ColorCorrector (const ColorCorrector &other) | |
| Copy Constructor for a new ColorCorrector instance. More... | |
| ColorCorrector & | operator= (const ColorCorrector &other) |
| Copy assigment for ColorCorrector instance. More... | |
| ColorCorrector (ColorCorrector &&other) noexcept | |
| Move constructor for ColorCorrector instance. More... | |
| ColorCorrector & | operator= (ColorCorrector &&other) noexcept |
| Move assignment for ColorCorrector instance. More... | |
| void | SetColorCorrectionFactors (peak::ipl::ColorCorrectionFactors colorCorrectorFactors) |
| Sets the values of the color correction matrix. More... | |
| void | SetSaturation (float saturation) |
| Sets the color saturation value. More... | |
| void | ProcessInPlace (Image &image) const |
| Corrects the colors of the given image by applying a 3x3 color correction matrix to the data in place that is it will change the input image. More... | |
Public Attributes | |
| PEAK_IPL_MAYBE_UNUSED = peak::ipl::ColorCorrectionFactors ColorCorrectionFactors() | |
Applies a 3x3 color correction matrix to the data.
|
inline |
|
inline |
|
inline |
Copy Constructor for a new ColorCorrector instance.
Creates a new ColorCorrector instance.
| [in] | other | The other instance to acquire a reference for. |
|
inlinenoexcept |
Move constructor for ColorCorrector instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
|
inline |
Copy assigment for ColorCorrector instance.
Acquires a reference from other to this instance. If this instance already has a reference, it will be destroyed.
| [in] | other | The other instance to acquire a reference for. |
|
inlinenoexcept |
Move assignment for ColorCorrector instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
|
inline |
Corrects the colors of the given image by applying a 3x3 color correction matrix to the data in place that is it will change the input image.
| [in] | image | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format (for example packed pixel format) |
|
inline |
Sets the values of the color correction matrix.
The matrix is row-wise sorted:
| RR | GR | BR |
| RG | GG | BG |
| RB | GB | BB |
| [in] | colorCorrectorFactors | The factors of the color correction matrix. |
|
inline |
Sets the color saturation value.
| [in] | saturation | The color saturation value. |
| peak::ipl::ColorCorrector::PEAK_IPL_MAYBE_UNUSED = peak::ipl::ColorCorrectionFactors ColorCorrectionFactors() |