Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PixVideoYUV< T > Class Template Reference

#include <Image/PixelsTypes.H>

Inheritance diagram for PixVideoYUV< T >:

Inheritance graph
[legend]
Collaboration diagram for PixVideoYUV< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class PixVideoYUV< T >

Derived YUV pixel class from Pixels.

Definition at line 768 of file PixelsTypes.H.

Public Member Functions

 PixVideoYUV ()
 ~PixVideoYUV ()
 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
Y () const
 Access Y channel.
U () const
 Access U channel.
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


Constructor & Destructor Documentation

template<class T>
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.

References Pixels< T, 3 >::p.

template<class T>
template<class T2, class T3, class T4>
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.

References Pixels< T, 3 >::p.


Member Function Documentation

template<class T>
template<class T2>
void PixVideoYUV< T >::setU const T2  U  )  [inline]
 

Set U channel value, clamping & converting as necessary.

Definition at line 2172 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

template<class T>
template<class T2>
void PixVideoYUV< T >::setV const T2  V  )  [inline]
 

Set V channel value, clamping & converting as necessary.

Definition at line 2179 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

template<class T>
template<class T2>
void PixVideoYUV< T >::setY const T2  Y  )  [inline]
 

Set Y channel value, clamping & converting as necessary.

Definition at line 2165 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

template<class T>
T PixVideoYUV< T >::U  )  const [inline]
 

Access U channel.

Definition at line 2151 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

template<class T>
T PixVideoYUV< T >::V  )  const [inline]
 

Access V channel.

Definition at line 2158 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

template<class T>
T PixVideoYUV< T >::Y  )  const [inline]
 

Access Y channel.

Definition at line 2144 of file PixelsTypes.H.

References Pixels< T, 3 >::p.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 13:46:11 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4