![]() |
IDS peak IPL
v1.4.0
|
Applies gamma correction to the data. More...
#include <peak_ipl/algorithm/peak_ipl_gamma_corrector.hpp>
Public Member Functions | |
| GammaCorrector () | |
| ~GammaCorrector () | |
| GammaCorrector (const GammaCorrector &other)=delete | |
| GammaCorrector & | operator= (const GammaCorrector &other)=delete |
| GammaCorrector (GammaCorrector &&other) | |
| GammaCorrector & | operator= (GammaCorrector &&other) |
| void | SetGammaCorrectionValue (float gammaValue) |
| Sets the values of the gamma correction. More... | |
| float | GammaCorrectionValue () const |
| Returns the value of the gamma correction. More... | |
| float | GammaCorrectionMin () const |
| Returns the minimum value of the gamma correction. More... | |
| float | GammaCorrectionMax () const |
| Returns the maximum value of the gamma correction. More... | |
| bool | IsPixelFormatSupported (PixelFormatName pixelFormatName) const |
| Returns whether the gamma corrector supports the given pixel format. More... | |
| void | ProcessInPlace (Image &image) const |
| Corrects the gammas of the given image in place i.e. it will change the input image. More... | |
| Image | Process (const Image &inputImage) const |
| Corrects the gammas of the given image. More... | |
Applies gamma correction to the data.
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
Returns the maximum value of the gamma correction.
|
inline |
Returns the minimum value of the gamma correction.
|
inline |
Returns the value of the gamma correction.
|
inline |
Returns whether the gamma corrector supports the given pixel format.
| [in] | pixelFormatName | The pixel format of interest. |
|
delete |
|
inline |
Corrects the gammas of the given image.
| [in] | inputImage | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format. |
|
inline |
Corrects the gammas of the given image in place i.e. it will change the input image.
| [in] | image | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format. |
|
inline |
Sets the values of the gamma correction.
| [in] | gammaValue | The value of the gamma correction. |
| InvalidArgument | gammaValue is not supported. |