PixDKL< T > Class Template Reference

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

#include <Image/PixelsTypes.H>

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

List of all members.

Public Member Functions

 PixDKL (const T val)
template<class T2 >
 PixDKL (const PixRGB< T2 > &A)
template<class T2 >
 PixDKL (const PixDKL< T2 > &A)
 PixDKL (const PixDKL< T > &pix)
 construct pixel from another. Defined here for tech reasons
 PixDKL (const T Dval, const T Kval, const T Lval)
 Construct a pixel with given values for D, K, L.
template<class T2 , class T3 , class T4 >
 PixDKL (const T2 Dval, const T3 Kval, const T4 Lval)
 Construct from given values, clamping & convertPixing as needed.
void getDKL (T &d, T &k, T &l) const
D () const
 Access hue channel.
K () const
 Access sat channel.
L () const
 Access val channel.
template<class T2 >
void setD (const T2 D)
 Set hue channel value, clamping & converting as necessary.
template<class T2 >
void setK (const T2 K)
 Set sat channel value, clamping & converting as necessary.
template<class T2 >
void setL (const T2 L)
 Set val channel value, clamping & converting as necessary.

Static Public Attributes

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

Detailed Description

template<class T>
class PixDKL< T >

This is the basic DKL pixel class.

Derived DKL pixel class from Pixels

Definition at line 1299 of file PixelsTypes.H.


Constructor & Destructor Documentation

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

construct pixel from another. Defined here for tech reasons

Definition at line 3919 of file PixelsTypes.H.

template<class T >
PixDKL< T >::PixDKL ( const T  Dval,
const T  Kval,
const T  Lval 
) [inline]

Construct a pixel with given values for D, K, L.

Definition at line 3944 of file PixelsTypes.H.

template<class T >
template<class T2 , class T3 , class T4 >
PixDKL< T >::PixDKL ( const T2  Dval,
const T3  Kval,
const T4  Lval 
) [inline]

Construct from given values, clamping & convertPixing as needed.

Definition at line 3951 of file PixelsTypes.H.


Member Function Documentation

template<class T >
T PixDKL< T >::D (  )  const [inline]

Access hue channel.

Definition at line 3960 of file PixelsTypes.H.

Referenced by convertToString(), and getDKL().

template<class T >
T PixDKL< T >::K (  )  const [inline]

Access sat channel.

Definition at line 3967 of file PixelsTypes.H.

Referenced by convertToString(), and getDKL().

template<class T >
T PixDKL< T >::L (  )  const [inline]

Access val channel.

Definition at line 3974 of file PixelsTypes.H.

Referenced by convertToString(), and getDKL().

template<class T >
template<class T2 >
void PixDKL< T >::setD ( const T2  D  )  [inline]

Set hue channel value, clamping & converting as necessary.

Definition at line 3981 of file PixelsTypes.H.

Referenced by convertFromString().

template<class T >
template<class T2 >
void PixDKL< T >::setK ( const T2  K  )  [inline]

Set sat channel value, clamping & converting as necessary.

Definition at line 3988 of file PixelsTypes.H.

Referenced by convertFromString().

template<class T >
template<class T2 >
void PixDKL< T >::setL ( const T2  L  )  [inline]

Set val channel value, clamping & converting as necessary.

Definition at line 3995 of file PixelsTypes.H.

Referenced by convertFromString().


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