58 float facRB,
float facGB,
float facBB)
184 return { 1, 0, 0, 0, 1, 0, 0, 0, 1 };
210 static constexpr T Absolute(
const T& x)
noexcept
212 return x < 0 ? -x : x;
216 static constexpr typename std::enable_if<std::numeric_limits<T>::is_iec559,
bool>::type isEqual(T x, T y)
218 return Absolute(x - y) <= std::numeric_limits<T>::epsilon();
222 static constexpr typename std::enable_if<std::is_integral<T>::value,
bool>::type isEqual(T x, T y)
Definition peak_ipl_binning.hpp:25
The "peak::ipl" namespace contains the whole image processing library.
Definition peak_ipl_binning.hpp:23
#define PEAK_IPL_NO_DISCARD
Definition peak_ipl_attribute_defines.h:25
~ColorCorrectionFactors()=default
Destructor for the ColorCorrectionFactors instance.
float factorBB
Blue-Blue Factor.
Definition peak_ipl_color_correction_factors.hpp:206
float factorGB
Green-Blue Factor.
Definition peak_ipl_color_correction_factors.hpp:205
float factorGR
Green-Red Factor.
Definition peak_ipl_color_correction_factors.hpp:199
constexpr ColorCorrectionFactors()=default
Constructor for a new ColorCorrectionFactors instance.
ColorCorrectionFactors(ColorCorrectionFactors &&o)=default
Copy Constructor for a new ColorCorrectionFactors instance.
ColorCorrectionFactors & operator=(const ColorCorrectionFactors &o)=default
Copy assigment for ColorCorrectionFactors instance.
float factorRG
Red-Green Factor.
Definition peak_ipl_color_correction_factors.hpp:201
float factorGG
Green-Green Factor.
Definition peak_ipl_color_correction_factors.hpp:202
ColorCorrectionFactors(const ColorCorrectionFactors &o)=default
Move constructor for ColorCorrectionFactors instance.
static constexpr ColorCorrectionFactors Identity()
Create an identity matrix.
Definition peak_ipl_color_correction_factors.hpp:182
ColorCorrectionFactors & operator=(ColorCorrectionFactors &&o)=default
Move assignment for ColorCorrectionFactors instance.
constexpr bool operator==(const ColorCorrectionFactors &other) const
Compare ColorCorrectionFactors.
Definition peak_ipl_color_correction_factors.hpp:165
float factorBG
Blue-Green Factor.
Definition peak_ipl_color_correction_factors.hpp:203
constexpr std::array< float, 9 > AsArray() const
Returns the ColorCorrectionFactors as an array.
Definition peak_ipl_color_correction_factors.hpp:193
constexpr ColorCorrectionFactors(const std::array< float, 9 > &factors)
Constructor for a new ColorCorrectionFactors instance.
Definition peak_ipl_color_correction_factors.hpp:87
float factorBR
Blue-Red Factor.
Definition peak_ipl_color_correction_factors.hpp:200
constexpr ColorCorrectionFactors(float facRR, float facGR, float facBR, float facRG, float facGG, float facBG, float facRB, float facGB, float facBB)
Constructor for a new ColorCorrectionFactors instance.
Definition peak_ipl_color_correction_factors.hpp:57
float factorRB
Red-Blue Factor.
Definition peak_ipl_color_correction_factors.hpp:204
float factorRR
Red-Red Factor.
Definition peak_ipl_color_correction_factors.hpp:198