This is the basic video-YUV pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixVideoYUV (const T val) | |
template<class T2 > | |
PixVideoYUV (const PixVideoYUV< T2 > &A) | |
template<class T2 > | |
PixVideoYUV (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixVideoYUV (const PixHyper< T2, 3 > &A) | |
PixVideoYUV (const PixVideoYUV< T > &pix) | |
PixVideoYUV (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 > | |
PixVideoYUV (const T2 Yval, const T3 Uval, const T4 Vval) | |
Construct from given values, clamping & converting as needed. | |
void | getVideoYUV (T &y, T &u, T &v) const |
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 video-YUV pixel class.
Derived YUV pixel class from Pixels
Definition at line 768 of file PixelsTypes.H.
PixVideoYUV< T >::PixVideoYUV | ( | const T | Yval, | |
const T | Uval, | |||
const T | Vval | |||
) | [inline] |
Construct an RGB pixel with given values red, green, blue.
Definition at line 2127 of file PixelsTypes.H.
PixVideoYUV< T >::PixVideoYUV | ( | const T2 | Yval, | |
const T3 | Uval, | |||
const T4 | Vval | |||
) | [inline] |
Construct from given values, clamping & converting as needed.
Definition at line 2135 of file PixelsTypes.H.
Set U channel value, clamping & converting as necessary.
Definition at line 2172 of file PixelsTypes.H.
Set V channel value, clamping & converting as necessary.
Definition at line 2179 of file PixelsTypes.H.
Set Y channel value, clamping & converting as necessary.
Definition at line 2165 of file PixelsTypes.H.
T PixVideoYUV< T >::U | ( | ) | const [inline] |
Access U channel.
Definition at line 2151 of file PixelsTypes.H.
T PixVideoYUV< T >::V | ( | ) | const [inline] |
Access V channel.
Definition at line 2158 of file PixelsTypes.H.
T PixVideoYUV< T >::Y | ( | ) | const [inline] |
Access Y channel.
Definition at line 2144 of file PixelsTypes.H.