eLynx SDK v3.3.0
C++ image processing API reference
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

eLynx::Image::PixelHLS< T > Struct Template Reference

Inheritance diagram for eLynx::Image::PixelHLS< T >:
eLynx::Image::PixelBase< PixelHLS< T > >

List of all members.

Public Types

typedef T type
typedef IntegerToType
< ResolutionTypeTraits< T >
::_bInteger > 
IntType
typedef LutToType
< ResolutionTypeTraits< T >
::_bLUT > 
LutType
typedef ResolutionTypeTraits
< T >::SumOverflow_type 
S_type
typedef ResolutionTypeTraits
< T >::MulOverflow_type 
M_type
typedef ResolutionTypeTraits
< T >::Floating_type 
F_type
typedef PixelHLS< S_type > SumOverflowPixel
typedef PixelHLS< M_type > MulOverflowPixel
typedef PixelHLS< F_type > FloatingPixel

Public Member Functions

 PixelHLS (T iH, T iL, T iS)
 PixelHLS (const PixelL< T > &iPixel)
 PixelHLS (const PixelLA< T > &iPixel)
 PixelHLS (const PixelComplex< T > &iPixel)
 PixelHLS (const PixelRGB< T > &iPixel)
 PixelHLS (const PixelXYZ< T > &iPixel)
 PixelHLS (const PixelLuv< T > &iPixel)
 PixelHLS (const PixelLab< T > &iPixel)
 PixelHLS (const PixelLch< T > &iPixel)
 PixelHLS (const PixelHLab< T > &iPixel)
 PixelHLS (const PixelRGBA< T > &iPixel)
 PixelHLS (const PixelHLS &ip)
PixelHLSoperator= (const PixelHLS &ip)
template<typename U >
 PixelHLS (const PixelHLS< U > &ip)
template<typename U >
PixelHLSoperator= (const PixelHLS< U > &ip)
GetChannel0 () const
GetChannel1 () const
GetChannel2 () const
GetHue () const
GetLuminance () const
GetSaturation () const

Static Public Member Functions

static const PixelHLS Null ()
static const PixelHLS Black ()
static const PixelHLS White ()
static const uint32 GetChannelCount ()
static const uint32 GetChannelMask ()
static bool IsFullMask (uint32 iMask)
static bool IsMasking (uint32 iMask)
static const EPixelMode GetPixelMode ()
static const EPixelType GetPixelType ()
static const EColorSpace GetColorSpace ()
static const EResolution GetResolution ()
static const bool HasAlpha ()
static const bool IsGrey ()
static const bool IsColor ()
static EPixelFormat GetPixelFormat ()

Public Attributes

union {
   T   _channel [_nChannel]
 channel access
   struct {
      T   _hue
 h in [0..1]
      T   _luminance
 l in [0..1]
      T   _saturation
 s in [0..1]
   } 
}; 

Static Public Attributes

static const uint32 _nChannel = 3
static const bool _bColor = true
static const bool _bGrey = false
static const bool _bHasAlpha = false
static const bool _bRange [_nChannel]
static const T _min [_nChannel]
static const T _max [_nChannel]

template<typename T>
struct eLynx::Image::PixelHLS< T >


The documentation for this struct was generated from the following file:

Generated on Thu Dec 9 2010 by doxygen 1.7.2