IDS peak IPL  v1.7.0
peak::ipl::Gain Class Referencefinal

Applies gain to the data. More...

#include <peak_ipl/algorithm/peak_ipl_gain.hpp>

Public Member Functions

 Gain ()
 
 ~Gain ()
 
 Gain (const Gain &other)=delete
 
Gain & operator= (const Gain &other)=delete
 
 Gain (Gain &&other) noexcept
 
Gain & operator= (Gain &&other) noexcept
 
void SetMasterGainValue (float masterGainValue)
 Sets the values of the master Gain. More...
 
float MasterGainValue () const
 Returns the value of the master gain. More...
 
float MasterGainMin () const
 Returns the minimum value of the master gain. More...
 
float MasterGainMax () const
 Returns the maximum value of the master gain. More...
 
void SetRedGainValue (float redGainValue)
 Sets the values of the red Gain. More...
 
float RedGainValue () const
 Returns the value of the red gain. More...
 
float RedGainMin () const
 Returns the minimum value of the red gain. More...
 
float RedGainMax () const
 Returns the maximum value of the red gain. More...
 
void SetGreenGainValue (float greenGainValue)
 Sets the values of the green Gain. More...
 
float GreenGainValue () const
 Returns the value of the green gain. More...
 
float GreenGainMin () const
 Returns the minimum value of the green gain. More...
 
float GreenGainMax () const
 Returns the maximum value of the green gain. More...
 
void SetBlueGainValue (float blueGainValue)
 Sets the values of the blue Gain. More...
 
float BlueGainValue () const
 Returns the value of the blue gain. More...
 
float BlueGainMin () const
 Returns the minimum value of the blue gain. More...
 
float BlueGainMax () const
 Returns the maximum value of the blue gain. More...
 
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 i.e. it will change the input image. More...
 
Image Process (const Image &inputImage) const
 Applies the gain on the given image. More...
 

Detailed Description

Applies gain to the data.

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ 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]pixelFormatNameThe 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]inputImageImage to process.
Returns
A new created image containing the gamma corrected pixels.
Exceptions
ImageFormatNotSupportedExceptionimage has unsupported pixel format.
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]imageImage to process.
Exceptions
ImageFormatNotSupportedExceptionimage has unsupported pixel format.
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]blueGainValueThe value of the blue gain.
Exceptions
InvalidArgumentblueGainValue 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]greenGainValueThe value of the green gain.
Exceptions
InvalidArgumentgreenGainValue 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]masterGainValueThe value of the master gain.
Exceptions
InvalidArgumentmasterGainValue 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]redGainValueThe value of the red gain.
Exceptions
InvalidArgumentredGainValue is not supported.
Since
1.2.2

The documentation for this class was generated from the following file: