PixHSV< T > Class Template Reference

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

#include <Image/PixelsTypes.H>

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

List of all members.

Public Member Functions

 PixHSV (const T val)
template<class T2 >
 PixHSV (const PixRGB< T2 > &A)
template<class T2 >
 PixHSV (const PixHSV< T2 > &A)
template<class T2 >
 PixHSV (const PixYIQ< T2 > &A)
template<class T2 >
 PixHSV (const PixHSL< T2 > &A)
template<class T2 >
 PixHSV (const PixH2SV1< T2 > &A)
template<class T2 >
 PixHSV (const PixH2SV2< T2 > &A)
template<class T2 >
 PixHSV (const PixH2SV3< T2 > &A)
template<class T2 >
 PixHSV (const PixHyper< T2, 3 > &A)
 PixHSV (const PixHSV< T > &pix)
 construct pixel from another. Defined here for tech reasons
 PixHSV (const T Hval, const T Sval, const T Vval)
 Construct an RGB pixel with given values red, green, blue.
template<class T2 , class T3 , class T4 >
 PixHSV (const T2 Hval, const T3 Sval, const T4 Vval)
 Construct from given values, clamping & convertPixing as needed.
void getHSV (T &h, T &s, T &v) const
H () const
 Access hue channel.
S () const
 Access sat channel.
V () const
 Access val channel.
template<class T2 >
void setH (const T2 H)
 Set hue channel value, clamping & converting as necessary.
template<class T2 >
void setS (const T2 S)
 Set sat channel value, clamping & converting as necessary.
template<class T2 >
void setV (const T2 V)
 Set val channel value, clamping & converting as necessary.

Static Public Attributes

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

Detailed Description

template<class T>
class PixHSV< T >

This is the basic HSV pixel class.

Derived HSV pixel class from Pixels

Definition at line 657 of file PixelsTypes.H.


Constructor & Destructor Documentation

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

construct pixel from another. Defined here for tech reasons

Definition at line 1839 of file PixelsTypes.H.

template<class T >
PixHSV< T >::PixHSV ( const T  Hval,
const T  Sval,
const T  Vval 
) [inline]

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

Definition at line 1854 of file PixelsTypes.H.

template<class T >
template<class T2 , class T3 , class T4 >
PixHSV< T >::PixHSV ( const T2  Hval,
const T3  Sval,
const T4  Vval 
) [inline]

Construct from given values, clamping & convertPixing as needed.

Definition at line 1861 of file PixelsTypes.H.


Member Function Documentation

template<class T >
T PixHSV< T >::H (  )  const [inline]

Access hue channel.

Definition at line 1870 of file PixelsTypes.H.

Referenced by convertToString().

template<class T >
T PixHSV< T >::S (  )  const [inline]

Access sat channel.

Definition at line 1877 of file PixelsTypes.H.

Referenced by convertToString().

template<class T >
template<class T2 >
void PixHSV< T >::setH ( const T2  H  )  [inline]

Set hue channel value, clamping & converting as necessary.

Definition at line 1891 of file PixelsTypes.H.

Referenced by convertFromString().

template<class T >
template<class T2 >
void PixHSV< T >::setS ( const T2  S  )  [inline]

Set sat channel value, clamping & converting as necessary.

Definition at line 1898 of file PixelsTypes.H.

Referenced by convertFromString().

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

Set val channel value, clamping & converting as necessary.

Definition at line 1905 of file PixelsTypes.H.

Referenced by convertFromString().

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

Access val channel.

Definition at line 1884 of file PixelsTypes.H.

Referenced by convertToString().


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