Applies gain to the data.
More...
#include <peak_ipl/algorithm/peak_ipl_gain.hpp>
Applies gain to the data.
◆ Gain() [1/3]
| peak::ipl::Gain::Gain |
( |
| ) |
|
|
inline |
◆ ~Gain()
| peak::ipl::Gain::~Gain |
( |
| ) |
|
|
inline |
◆ Gain() [2/3]
| peak::ipl::Gain::Gain |
( |
const Gain & |
other | ) |
|
|
delete |
◆ Gain() [3/3]
| peak::ipl::Gain::Gain |
( |
Gain && |
other | ) |
|
|
inlinenoexcept |
◆ BlueGainMax()
| float peak::ipl::Gain::BlueGainMax |
( |
| ) |
const |
|
inline |
Returns the maximum value of the blue gain.
- Returns
- blueGainMax The maximum value of the blue gain.
- Since
- 1.2.2
◆ BlueGainMin()
| float peak::ipl::Gain::BlueGainMin |
( |
| ) |
const |
|
inline |
Returns the minimum value of the blue gain.
- Returns
- blueGainMin The minimum value of the blue gain.
- Since
- 1.2.2
◆ BlueGainValue()
| float peak::ipl::Gain::BlueGainValue |
( |
| ) |
const |
|
inline |
Returns the value of the blue gain.
- Returns
- blueGainValue The value of the blue gain.
- Since
- 1.2.2
◆ GreenGainMax()
| float peak::ipl::Gain::GreenGainMax |
( |
| ) |
const |
|
inline |
Returns the maximum value of the green gain.
- Returns
- greenGainMax The maximum value of the green gain.
- Since
- 1.2.2
◆ GreenGainMin()
| float peak::ipl::Gain::GreenGainMin |
( |
| ) |
const |
|
inline |
Returns the minimum value of the green gain.
- Returns
- greenGainMin The minimum value of the green gain.
- Since
- 1.2.2
◆ GreenGainValue()
| float peak::ipl::Gain::GreenGainValue |
( |
| ) |
const |
|
inline |
Returns the value of the green gain.
- Returns
- greenGainValue The value of the green gain.
- Since
- 1.2.2
◆ IsPixelFormatSupported()
| bool peak::ipl::Gain::IsPixelFormatSupported |
( |
PixelFormatName |
pixelFormatName | ) |
const |
|
inline |
Returns whether the gain supports the given pixel format.
- Returns
- Flag whether the given pixel format is supported.
- Parameters
-
| [in] | pixelFormatName | The pixel format of interest. |
- Since
- 1.2.2
◆ MasterGainMax()
| float peak::ipl::Gain::MasterGainMax |
( |
| ) |
const |
|
inline |
Returns the maximum value of the master gain.
- Returns
- masterGainMax The maximum value of the master gain.
- Since
- 1.2.2
◆ MasterGainMin()
| float peak::ipl::Gain::MasterGainMin |
( |
| ) |
const |
|
inline |
Returns the minimum value of the master gain.
- Returns
- masterGainMin The minimum value of the master gain.
- Since
- 1.2.2
◆ MasterGainValue()
| float peak::ipl::Gain::MasterGainValue |
( |
| ) |
const |
|
inline |
Returns the value of the master gain.
- Returns
- masterGainValue The value of the master gain.
- Since
- 1.2.2
◆ operator=() [1/2]
| Gain& peak::ipl::Gain::operator= |
( |
const Gain & |
other | ) |
|
|
delete |
◆ operator=() [2/2]
| Gain & peak::ipl::Gain::operator= |
( |
Gain && |
other | ) |
|
|
inlinenoexcept |
◆ Process()
| Image peak::ipl::Gain::Process |
( |
const Image & |
inputImage | ) |
const |
|
inline |
Applies the gain on the given image.
- Parameters
-
| [in] | inputImage | Image to process. |
- Returns
- A new created image containing the gamma corrected pixels.
- Exceptions
-
- Since
- 1.2.2
◆ ProcessInPlace()
| void peak::ipl::Gain::ProcessInPlace |
( |
Image & |
image | ) |
const |
|
inline |
Applies the gain on the given image in place i.e. it will change the input image.
- Parameters
-
| [in] | image | Image to process. |
- Exceptions
-
- Since
- 1.2.2
◆ RedGainMax()
| float peak::ipl::Gain::RedGainMax |
( |
| ) |
const |
|
inline |
Returns the maximum value of the red gain.
- Returns
- redGainMax The maximum value of the red gain.
- Since
- 1.2.2
◆ RedGainMin()
| float peak::ipl::Gain::RedGainMin |
( |
| ) |
const |
|
inline |
Returns the minimum value of the red gain.
- Returns
- redGainMin The minimum value of the red gain.
- Since
- 1.2.2
◆ RedGainValue()
| float peak::ipl::Gain::RedGainValue |
( |
| ) |
const |
|
inline |
Returns the value of the red gain.
- Returns
- redGainValue The value of the red gain.
- Since
- 1.2.2
◆ SetBlueGainValue()
| void peak::ipl::Gain::SetBlueGainValue |
( |
float |
blueGainValue | ) |
|
|
inline |
Sets the values of the blue Gain.
- Parameters
-
| [in] | blueGainValue | The value of the blue gain. |
- Exceptions
-
| InvalidArgument | blueGainValue is not supported. |
- Since
- 1.2.2
◆ SetGreenGainValue()
| void peak::ipl::Gain::SetGreenGainValue |
( |
float |
greenGainValue | ) |
|
|
inline |
Sets the values of the green Gain.
- Parameters
-
| [in] | greenGainValue | The value of the green gain. |
- Exceptions
-
| InvalidArgument | greenGainValue is not supported. |
- Since
- 1.2.2
◆ SetMasterGainValue()
| void peak::ipl::Gain::SetMasterGainValue |
( |
float |
masterGainValue | ) |
|
|
inline |
Sets the values of the master Gain.
- Parameters
-
| [in] | masterGainValue | The value of the master gain. |
- Exceptions
-
| InvalidArgument | masterGainValue is not supported. |
- Since
- 1.2.2
◆ SetRedGainValue()
| void peak::ipl::Gain::SetRedGainValue |
( |
float |
redGainValue | ) |
|
|
inline |
Sets the values of the red Gain.
- Parameters
-
| [in] | redGainValue | The value of the red gain. |
- Exceptions
-
| InvalidArgument | redGainValue is not supported. |
- Since
- 1.2.2
The documentation for this class was generated from the following file: