This is the basic jpeg-YUV pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixJpegYUV (const T val) | |
template<class T2 > | |
PixJpegYUV (const PixJpegYUV< T2 > &A) | |
template<class T2 > | |
PixJpegYUV (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixJpegYUV (const PixHyper< T2, 3 > &A) | |
PixJpegYUV (const PixJpegYUV< T > &pix) | |
PixJpegYUV (const T Yval, const T Uval, const T Vval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixJpegYUV (const T2 Yval, const T3 Uval, const T4 Vval) | |
Construct from given values, clamping & converting as needed. | |
T | Y () const |
Access Y channel. | |
T | U () const |
Access U channel. | |
T | V () const |
Access V channel. | |
template<class T2 > | |
void | setY (const T2 Y) |
Set Y channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setU (const T2 U) |
Set U channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setV (const T2 V) |
Set V channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeYUV |
static const size_t | myDim = 3 |
This is the basic jpeg-YUV pixel class.
Derived YUV pixel class from Pixels
Definition at line 717 of file PixelsTypes.H.
PixJpegYUV< T >::PixJpegYUV | ( | const T | Yval, | |
const T | Uval, | |||
const T | Vval | |||
) | [inline] |
Construct an RGB pixel with given values red, green, blue.
Definition at line 1986 of file PixelsTypes.H.
PixJpegYUV< T >::PixJpegYUV | ( | const T2 | Yval, | |
const T3 | Uval, | |||
const T4 | Vval | |||
) | [inline] |
Construct from given values, clamping & converting as needed.
Definition at line 1994 of file PixelsTypes.H.
Set U channel value, clamping & converting as necessary.
Definition at line 2031 of file PixelsTypes.H.
Set V channel value, clamping & converting as necessary.
Definition at line 2038 of file PixelsTypes.H.
Set Y channel value, clamping & converting as necessary.
Definition at line 2024 of file PixelsTypes.H.
T PixJpegYUV< T >::U | ( | ) | const [inline] |
T PixJpegYUV< T >::V | ( | ) | const [inline] |
T PixJpegYUV< T >::Y | ( | ) | const [inline] |