PixJpegYUV< T > Class Template Reference

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

#include <Image/PixelsTypes.H>

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

List of all members.

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.
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 PixJpegYUV< T >

This is the basic jpeg-YUV pixel class.

Derived YUV pixel class from Pixels

Definition at line 717 of file PixelsTypes.H.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Set U channel value, clamping & converting as necessary.

Definition at line 2031 of file PixelsTypes.H.

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

Set V channel value, clamping & converting as necessary.

Definition at line 2038 of file PixelsTypes.H.

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

Set Y channel value, clamping & converting as necessary.

Definition at line 2024 of file PixelsTypes.H.

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

Access U channel.

Definition at line 2010 of file PixelsTypes.H.

Referenced by getJpegYUV().

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

Access V channel.

Definition at line 2017 of file PixelsTypes.H.

Referenced by getJpegYUV().

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

Access Y channel.

Definition at line 2003 of file PixelsTypes.H.

Referenced by getJpegYUV().


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