![]() |
IDS peak IPL
v1.6.0
|
Applies a 3x3 color correction matrix to the data. More...
#include <peak_ipl/algorithm/peak_ipl_color_corrector.hpp>
Public Member Functions | |
| ColorCorrector () | |
| ~ColorCorrector () | |
| ColorCorrector (const ColorCorrector &other)=delete | |
| ColorCorrector & | operator= (const ColorCorrector &other)=delete |
| ColorCorrector (ColorCorrector &&other) | |
| ColorCorrector & | operator= (ColorCorrector &&other) |
| void | SetColorCorrectionFactors (peak::ipl::ColorCorrectionFactors colorCorrectorFactors) |
| Sets the values of the color correction matrix. More... | |
| peak::ipl::ColorCorrectionFactors | ColorCorrectionFactors () |
| Returns the factors of the color correction matrix. More... | |
| peak::ipl::ColorCorrectionFactors | ColorCorrectionFactors () const |
| Returns the factors of the color correction matrix. More... | |
| float | Saturation () const |
| Returns the color saturation value. More... | |
| float | SaturationMin () const |
| Returns the minimum color saturation value. More... | |
| float | SaturationMax () const |
| Returns the maximum color saturation value. More... | |
| void | SetSaturation (float saturation) |
| Sets the color saturation value. More... | |
| bool | IsPixelFormatSupported (PixelFormatName pixelFormatName) const |
| Returns whether the color corrector supports the given pixel format. 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 i.e. it will change the input image. More... | |
| Image | Process (const Image &inputImage) const |
| Corrects the colors of the given image by applying a 3x3 color correction matrix to the data. More... | |
Applies a 3x3 color correction matrix to the data.
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
Returns the factors of the color correction matrix.
|
inline |
Returns the factors of the color correction matrix.
|
inline |
Returns whether the color corrector supports the given pixel format.
| [in] | pixelFormatName | The pixel format of interest. |
|
delete |
|
inline |
Corrects the colors of the given image by applying a 3x3 color correction matrix to the data.
| [in] | inputImage | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format (e.g. packed pixel format) |
|
inline |
Corrects the colors of the given image by applying a 3x3 color correction matrix to the data in place i.e. it will change the input image.
| [in] | image | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format (e.g. packed pixel format) |
|
inline |
Returns the color saturation value.
|
inline |
Returns the maximum color saturation value.
|
inline |
Returns the minimum color saturation value.
|
inline |
Sets the values of the color correction matrix.
The matrix is row-wise sorted:
| factorRR | factorGR | factorBR |
| factorRG | factorGG | factorBG |
| factorRB | factorGB | factorBB |
| [in] | colorCorrectorFactors | The factors of the color correction matrix. |
|
inline |
Sets the color saturation value.
| [in] | saturation | The color saturation value. |