![]() |
IDSpeakIPL
v1.8.0
|
Applies gain to the data. More...
#include <peak_ipl/algorithm/peak_ipl_gain.hpp>
Public Member Functions | |
| Gain () | |
| Constructor for a new Gain instance. More... | |
| ~Gain () | |
| Destructor for the Gain instance. More... | |
| Gain (const Gain &other) | |
| Copy Constructor for a new Gain instance. More... | |
| Gain & | operator= (const Gain &other) |
| Copy assigment for Gain instance. More... | |
| Gain (Gain &&other) noexcept | |
| Move constructor for Gain instance. More... | |
| Gain & | operator= (Gain &&other) noexcept |
| Move assignment for Gain instance. More... | |
| void | SetMasterGainValue (float masterGainValue) |
| Sets the values of the master Gain. More... | |
| PEAK_IPL_NO_DISCARD float | MasterGainValue () const |
| Returns the value of the master gain. More... | |
| PEAK_IPL_NO_DISCARD float | MasterGainMin () const |
| Returns the minimum value of the master gain. More... | |
| PEAK_IPL_NO_DISCARD float | MasterGainMax () const |
| Returns the maximum value of the master gain. More... | |
| void | SetRedGainValue (float redGainValue) |
| Sets the values of the red Gain. More... | |
| PEAK_IPL_NO_DISCARD float | RedGainValue () const |
| Returns the value of the red gain. More... | |
| PEAK_IPL_NO_DISCARD float | RedGainMin () const |
| Returns the minimum value of the red gain. More... | |
| PEAK_IPL_NO_DISCARD float | RedGainMax () const |
| Returns the maximum value of the red gain. More... | |
| void | SetGreenGainValue (float greenGainValue) |
| Sets the values of the green Gain. More... | |
| PEAK_IPL_NO_DISCARD float | GreenGainValue () const |
| Returns the value of the green gain. More... | |
| PEAK_IPL_NO_DISCARD float | GreenGainMin () const |
| Returns the minimum value of the green gain. More... | |
| PEAK_IPL_NO_DISCARD float | GreenGainMax () const |
| Returns the maximum value of the green gain. More... | |
| void | SetBlueGainValue (float blueGainValue) |
| Sets the values of the blue Gain. More... | |
| PEAK_IPL_NO_DISCARD float | BlueGainValue () const |
| Returns the value of the blue gain. More... | |
| PEAK_IPL_NO_DISCARD float | BlueGainMin () const |
| Returns the minimum value of the blue gain. More... | |
| PEAK_IPL_NO_DISCARD float | BlueGainMax () const |
| Returns the maximum value of the blue gain. More... | |
| PEAK_IPL_NO_DISCARD bool | IsPixelFormatSupported (PixelFormatName pixelFormatName) const |
| Returns whether the gain supports the given pixel format. More... | |
| void | ProcessInPlace (Image &image) const |
| Applies the gain on the given image in place that is, it will change the input image. More... | |
| PEAK_IPL_NO_DISCARD Image | Process (const Image &inputImage) const |
| Applies the gain on the given image. More... | |
Applies gain to the data.
|
inline |
|
inline |
|
inline |
Copy Constructor for a new Gain instance.
Creates a new Gain instance.
| [in] | other | The other instance to acquire a reference for. |
|
inlinenoexcept |
Move constructor for Gain instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
|
inline |
Returns the maximum value of the blue gain.
|
inline |
Returns the minimum value of the blue gain.
|
inline |
Returns the value of the blue gain.
|
inline |
Returns the maximum value of the green gain.
|
inline |
Returns the minimum value of the green gain.
|
inline |
Returns the value of the green gain.
|
inline |
Returns whether the gain supports the given pixel format.
| [in] | pixelFormatName | The pixel format of interest. |
|
inline |
Returns the maximum value of the master gain.
|
inline |
Returns the minimum value of the master gain.
|
inline |
Returns the value of the master gain.
Copy assigment for Gain 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. |
Move assignment for Gain instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
Applies the gain on the given image.
| [in] | inputImage | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format. |
|
inline |
Applies the gain on the given image in place that is, it will change the input image.
| [in] | image | Image to process. |
| ImageFormatNotSupportedException | image has unsupported pixel format. |
|
inline |
Returns the maximum value of the red gain.
|
inline |
Returns the minimum value of the red gain.
|
inline |
Returns the value of the red gain.
|
inline |
Sets the values of the blue Gain.
| [in] | blueGainValue | The value of the blue gain. |
| InvalidArgument | blueGainValue isn't supported. |
|
inline |
Sets the values of the green Gain.
| [in] | greenGainValue | The value of the green gain. |
| InvalidArgument | greenGainValue isn't supported. |
|
inline |
Sets the values of the master Gain.
| [in] | masterGainValue | The value of the master gain. |
| InvalidArgument | masterGainValue isn't supported. |
|
inline |
Sets the values of the red Gain.
| [in] | redGainValue | The value of the red gain. |
| InvalidArgument | redGainValue isn't supported. |