#include <KoColorSpaceMaths.h>
|
| template<class TReal > |
| static TReal | getLightness (TReal r, TReal g, TReal b) |
| |
| template<class TReal > |
| static TReal | getSaturation (TReal r, TReal g, TReal b) |
| |
Definition at line 924 of file KoColorSpaceMaths.h.
◆ getLightness()
template<class TReal >
| static TReal HSIType::getLightness |
( |
TReal | r, |
|
|
TReal | g, |
|
|
TReal | b ) |
|
inlinestatic |
Definition at line 927 of file KoColorSpaceMaths.h.
927 {
928 return (r + g + b) * TReal(0.33333333333333333333);
929 }
◆ getSaturation()
template<class TReal >
| static TReal HSIType::getSaturation |
( |
TReal | r, |
|
|
TReal | g, |
|
|
TReal | b ) |
|
inlinestatic |
◆ lightnessIsAverage
| constexpr bool HSIType::lightnessIsAverage = true |
|
staticconstexpr |
The documentation for this struct was generated from the following file: