PixYIQ< T > Class Template Reference

This is the basic YIQ pixel class. More...

#include <Image/PixelsTypes.H>

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

List of all members.

Public Member Functions

 PixYIQ (const T val)
template<class T2 >
 PixYIQ (const PixRGB< T2 > &A)
template<class T2 >
 PixYIQ (const PixHSV< T2 > &A)
template<class T2 >
 PixYIQ (const PixYIQ< T2 > &A)
template<class T2 >
 PixYIQ (const PixHSL< T2 > &A)
template<class T2 >
 PixYIQ (const PixH2SV1< T2 > &A)
template<class T2 >
 PixYIQ (const PixH2SV2< T2 > &A)
template<class T2 >
 PixYIQ (const PixH2SV3< T2 > &A)
template<class T2 >
 PixYIQ (const PixHyper< T2, 3 > &A)
 PixYIQ (const PixYIQ< T > &pix)
 construct pixel from another. Defined here for tech reasons
 PixYIQ (const T Yval, const T Ival, const T Qval)
 Construct an RGB pixel with given values red, green, blue.
template<class T2 , class T3 , class T4 >
 PixYIQ (const T2 Yval, const T3 Uval, const T4 Vval)
 Construct from given values, clamping & converting as needed.
void getYIQ (T &y, T &i, T &q) const
Y () const
 Access Y channel.
I () const
 Access I channel.
Q () const
 Access Q channel.
template<class T2 >
void setY (const T2 Y)
 Set Y channel value, clamping & converting as necessary.
template<class T2 >
void setI (const T2 I)
 Set I channel value, clamping & converting as necessary.
template<class T2 >
void setQ (const T2 Q)
 Set Q channel value, clamping & converting as necessary.

Static Public Attributes

static const enum PixType pType = PixTypeYIQ
static const size_t myDim = 3

Detailed Description

template<class T>
class PixYIQ< T >

This is the basic YIQ pixel class.

Derived YIQ pixel class from Pixels

Definition at line 823 of file PixelsTypes.H.


Constructor & Destructor Documentation

template<class T >
PixYIQ< T >::PixYIQ ( const PixYIQ< T > &  pix  )  [inline]

construct pixel from another. Defined here for tech reasons

Definition at line 2298 of file PixelsTypes.H.

template<class T >
PixYIQ< T >::PixYIQ ( const T  Yval,
const T  Ival,
const T  Qval 
) [inline]

Construct an RGB pixel with given values red, green, blue.

Definition at line 2313 of file PixelsTypes.H.

template<class T >
template<class T2 , class T3 , class T4 >
PixYIQ< T >::PixYIQ ( const T2  Yval,
const T3  Uval,
const T4  Vval 
) [inline]

Construct from given values, clamping & converting as needed.

Definition at line 2320 of file PixelsTypes.H.


Member Function Documentation

template<class T >
T PixYIQ< T >::I (  )  const [inline]

Access I channel.

Definition at line 2336 of file PixelsTypes.H.

template<class T >
T PixYIQ< T >::Q (  )  const [inline]

Access Q channel.

Definition at line 2343 of file PixelsTypes.H.

template<class T >
template<class T2 >
void PixYIQ< T >::setI ( const T2  I  )  [inline]

Set I channel value, clamping & converting as necessary.

Definition at line 2357 of file PixelsTypes.H.

template<class T >
template<class T2 >
void PixYIQ< T >::setQ ( const T2  Q  )  [inline]

Set Q channel value, clamping & converting as necessary.

Definition at line 2364 of file PixelsTypes.H.

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

Set Y channel value, clamping & converting as necessary.

Definition at line 2350 of file PixelsTypes.H.

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

Access Y channel.

Definition at line 2329 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