This is the basic YIQ pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixYIQ (const T val) | |
template<class T2 > | |
PixYIQ (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixHSV< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixYIQ< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixHSL< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixH2SV1< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixH2SV2< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixH2SV3< T2 > &A) | |
template<class T2 > | |
PixYIQ (const PixHyper< T2, 3 > &A) | |
PixYIQ (const PixYIQ< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixYIQ (const T Yval, const T Ival, const T Qval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixYIQ (const T2 Yval, const T3 Uval, const T4 Vval) | |
Construct from given values, clamping & converting as needed. | |
void | getYIQ (T &y, T &i, T &q) const |
T | Y () const |
Access Y channel. | |
T | I () const |
Access I channel. | |
T | Q () const |
Access Q channel. | |
template<class T2 > | |
void | setY (const T2 Y) |
Set Y channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setI (const T2 I) |
Set I channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setQ (const T2 Q) |
Set Q channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeYIQ |
static const size_t | myDim = 3 |
This is the basic YIQ pixel class.
Derived YIQ pixel class from Pixels
Definition at line 823 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 2298 of file PixelsTypes.H.
Construct an RGB pixel with given values red, green, blue.
Definition at line 2313 of file PixelsTypes.H.
PixYIQ< T >::PixYIQ | ( | const T2 | Yval, | |
const T3 | Uval, | |||
const T4 | Vval | |||
) | [inline] |
Construct from given values, clamping & converting as needed.
Definition at line 2320 of file PixelsTypes.H.
T PixYIQ< T >::I | ( | ) | const [inline] |
Access I channel.
Definition at line 2336 of file PixelsTypes.H.
T PixYIQ< T >::Q | ( | ) | const [inline] |
Access Q channel.
Definition at line 2343 of file PixelsTypes.H.
Set I channel value, clamping & converting as necessary.
Definition at line 2357 of file PixelsTypes.H.
Set Q channel value, clamping & converting as necessary.
Definition at line 2364 of file PixelsTypes.H.
Set Y channel value, clamping & converting as necessary.
Definition at line 2350 of file PixelsTypes.H.
T PixYIQ< T >::Y | ( | ) | const [inline] |
Access Y channel.
Definition at line 2329 of file PixelsTypes.H.