This is the basic Lab pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixLab (const T val) | |
template<class T2 > | |
PixLab (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixLab (const PixLab< T2 > &A) | |
template<class T2 > | |
PixLab (const PixHyper< T2, 3 > &A) | |
PixLab (const PixLab< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixLab (const T Lval, const T Aval, const T Bval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixLab (const T2 Lval, const T3 Aval, const T4 Bval) | |
Construct from given values, clamping & convertPixing as needed. | |
void | getLab (T &l, T &a, T &b) const |
T | L () const |
Access hue channel. | |
T | A () const |
Access sat channel. | |
T | B () const |
Access val channel. | |
template<class T2 > | |
void | setL (const T2 L) |
Set hue channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setA (const T2 A) |
Set sat channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setB (const T2 B) |
Set val channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeLab |
static const size_t | myDim = 3 |
This is the basic Lab pixel class.
Derived Lab pixel class from Pixels
Definition at line 943 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 2676 of file PixelsTypes.H.
Construct an RGB pixel with given values red, green, blue.
Definition at line 2691 of file PixelsTypes.H.
PixLab< T >::PixLab | ( | const T2 | Lval, | |
const T3 | Aval, | |||
const T4 | Bval | |||
) | [inline] |
Construct from given values, clamping & convertPixing as needed.
Definition at line 2698 of file PixelsTypes.H.
T PixLab< T >::A | ( | ) | const [inline] |
Access sat channel.
Definition at line 2714 of file PixelsTypes.H.
T PixLab< T >::B | ( | ) | const [inline] |
Access val channel.
Definition at line 2721 of file PixelsTypes.H.
T PixLab< T >::L | ( | ) | const [inline] |
Access hue channel.
Definition at line 2707 of file PixelsTypes.H.
Set sat channel value, clamping & converting as necessary.
Definition at line 2735 of file PixelsTypes.H.
Set val channel value, clamping & converting as necessary.
Definition at line 2742 of file PixelsTypes.H.
Set hue channel value, clamping & converting as necessary.
Definition at line 2728 of file PixelsTypes.H.