This is the basic HSL pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixHSL (const T val) | |
template<class T2 > | |
PixHSL (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixHSV< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixYIQ< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixHSL< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixH2SV1< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixH2SV2< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixH2SV3< T2 > &A) | |
template<class T2 > | |
PixHSL (const PixHyper< T2, 3 > &A) | |
PixHSL (const PixHSL< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixHSL (const T Hval, const T Sval, const T Lval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixHSL (const T2 Hval, const T3 Sval, const T4 Lval) | |
Construct from given values, clamping & convertPixing as needed. | |
void | getHSL (T &h, T &s, T &l) const |
T | H () const |
Access hue channel. | |
T | S () const |
Access sat channel. | |
T | L () const |
Access val channel. | |
template<class T2 > | |
void | setH (const T2 H) |
Set hue channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setS (const T2 S) |
Set sat channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setL (const T2 L) |
Set val channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeHSL |
static const size_t | myDim = 3 |
This is the basic HSL pixel class.
Derived HSL pixel class from Pixels
Definition at line 883 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 2538 of file PixelsTypes.H.
Construct an RGB pixel with given values red, green, blue.
Definition at line 2553 of file PixelsTypes.H.
PixHSL< T >::PixHSL | ( | const T2 | Hval, | |
const T3 | Sval, | |||
const T4 | Lval | |||
) | [inline] |
Construct from given values, clamping & convertPixing as needed.
Definition at line 2560 of file PixelsTypes.H.
T PixHSL< T >::H | ( | ) | const [inline] |
Access hue channel.
Definition at line 2569 of file PixelsTypes.H.
T PixHSL< T >::L | ( | ) | const [inline] |
Access val channel.
Definition at line 2583 of file PixelsTypes.H.
T PixHSL< T >::S | ( | ) | const [inline] |
Access sat channel.
Definition at line 2576 of file PixelsTypes.H.
Set hue channel value, clamping & converting as necessary.
Definition at line 2590 of file PixelsTypes.H.
Set val channel value, clamping & converting as necessary.
Definition at line 2604 of file PixelsTypes.H.
Set sat channel value, clamping & converting as necessary.
Definition at line 2597 of file PixelsTypes.H.