This is the basic HSV pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixHSV (const T val) | |
template<class T2 > | |
PixHSV (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixHSV< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixYIQ< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixHSL< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixH2SV1< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixH2SV2< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixH2SV3< T2 > &A) | |
template<class T2 > | |
PixHSV (const PixHyper< T2, 3 > &A) | |
PixHSV (const PixHSV< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixHSV (const T Hval, const T Sval, const T Vval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixHSV (const T2 Hval, const T3 Sval, const T4 Vval) | |
Construct from given values, clamping & convertPixing as needed. | |
void | getHSV (T &h, T &s, T &v) const |
T | H () const |
Access hue channel. | |
T | S () const |
Access sat channel. | |
T | V () 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 | setV (const T2 V) |
Set val channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeHSV |
static const size_t | myDim = 3 |
This is the basic HSV pixel class.
Derived HSV pixel class from Pixels
Definition at line 657 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 1839 of file PixelsTypes.H.
Construct an RGB pixel with given values red, green, blue.
Definition at line 1854 of file PixelsTypes.H.
PixHSV< T >::PixHSV | ( | const T2 | Hval, | |
const T3 | Sval, | |||
const T4 | Vval | |||
) | [inline] |
Construct from given values, clamping & convertPixing as needed.
Definition at line 1861 of file PixelsTypes.H.
T PixHSV< T >::H | ( | ) | const [inline] |
T PixHSV< T >::S | ( | ) | const [inline] |
Set hue channel value, clamping & converting as necessary.
Definition at line 1891 of file PixelsTypes.H.
Referenced by convertFromString().
Set sat channel value, clamping & converting as necessary.
Definition at line 1898 of file PixelsTypes.H.
Referenced by convertFromString().
Set val channel value, clamping & converting as necessary.
Definition at line 1905 of file PixelsTypes.H.
Referenced by convertFromString().
T PixHSV< T >::V | ( | ) | const [inline] |