PixVideoYUV< T > Class Template Reference

This is the basic video-YUV pixel class. More...

#include <Image/PixelsTypes.H>

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

List of all members.

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
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

Detailed Description

template<class T>
class PixVideoYUV< T >

This is the basic video-YUV pixel class.

Derived YUV pixel class from Pixels

Definition at line 768 of file PixelsTypes.H.


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.

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.


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.

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.

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.

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

Access U channel.

Definition at line 2151 of file PixelsTypes.H.

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

Access V channel.

Definition at line 2158 of file PixelsTypes.H.

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

Access Y channel.

Definition at line 2144 of file PixelsTypes.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:23:50 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3