eLynx SDK v3.0.1
C++ image processing API reference

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

#include <Pixels.h>

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_typeSumOverflowPixel
typedef PixelHLS< M_typeMulOverflowPixel
typedef PixelHLS< F_typeFloatingPixel

Public Member Functions

 PixelHLS ()
 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 [_channels]
   struct {
      T   _hue
      T   _luminance
      T   _saturation
   } 
}; 

Static Public Attributes

static const bool _bColor = true
static const bool _bGrey = false
static const bool _bHasAlpha = false
static const uint32 _channels = 3

Detailed Description

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

Definition at line 468 of file Pixels.h.


Member Typedef Documentation

template<typename T>
typedef T eLynx::Image::PixelHLS< T >::type

Definition at line 470 of file Pixels.h.

template<typename T>
typedef IntegerToType< ResolutionTypeTraits<T>::_bInteger > eLynx::Image::PixelHLS< T >::IntType

Definition at line 471 of file Pixels.h.

template<typename T>
typedef LutToType< ResolutionTypeTraits<T>::_bLUT > eLynx::Image::PixelHLS< T >::LutType

Definition at line 472 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::SumOverflow_type eLynx::Image::PixelHLS< T >::S_type

Definition at line 474 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::MulOverflow_type eLynx::Image::PixelHLS< T >::M_type

Definition at line 475 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::Floating_type eLynx::Image::PixelHLS< T >::F_type

Definition at line 476 of file Pixels.h.

template<typename T>
typedef PixelHLS<S_type> eLynx::Image::PixelHLS< T >::SumOverflowPixel

Definition at line 478 of file Pixels.h.

template<typename T>
typedef PixelHLS<M_type> eLynx::Image::PixelHLS< T >::MulOverflowPixel

Definition at line 479 of file Pixels.h.

template<typename T>
typedef PixelHLS<F_type> eLynx::Image::PixelHLS< T >::FloatingPixel

Definition at line 480 of file Pixels.h.


Constructor & Destructor Documentation

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS (  )  [inline]

Definition at line 496 of file Pixels.h.

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( iH,
iL,
iS 
) [inline]

Definition at line 497 of file Pixels.h.

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelL< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelLA< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelComplex< T > &  iPixel  )  [inline]

Definition at line 500 of file Pixels.h.

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelRGB< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelXYZ< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelLuv< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelLab< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelLch< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelHLab< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelRGBA< T > &  iPixel  )  [inline]

Definition at line 507 of file Pixels.h.

template<typename T>
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelHLS< T > &  ip  )  [inline]

Definition at line 508 of file Pixels.h.

template<typename T>
template<typename U >
eLynx::Image::PixelHLS< T >::PixelHLS ( const PixelHLS< U > &  ip  )  [inline]

Definition at line 513 of file Pixels.h.


Member Function Documentation

template<typename T>
PixelHLS& eLynx::Image::PixelHLS< T >::operator= ( const PixelHLS< T > &  ip  )  [inline]

Definition at line 510 of file Pixels.h.

template<typename T>
template<typename U >
PixelHLS& eLynx::Image::PixelHLS< T >::operator= ( const PixelHLS< U > &  ip  )  [inline]

Definition at line 516 of file Pixels.h.

template<typename T>
static const PixelHLS eLynx::Image::PixelHLS< T >::Null (  )  [inline, static]

Definition at line 518 of file Pixels.h.

template<typename T>
static const PixelHLS eLynx::Image::PixelHLS< T >::Black (  )  [inline, static]

Definition at line 519 of file Pixels.h.

template<typename T>
static const PixelHLS eLynx::Image::PixelHLS< T >::White (  )  [inline, static]

Definition at line 520 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetChannel0 (  )  const [inline]

Definition at line 522 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetChannel1 (  )  const [inline]

Definition at line 523 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetChannel2 (  )  const [inline]

Definition at line 524 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetHue (  )  const [inline]

Definition at line 525 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetLuminance (  )  const [inline]

Definition at line 526 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::GetSaturation (  )  const [inline]

Definition at line 527 of file Pixels.h.

template<typename T>
static const uint32 eLynx::Image::PixelHLS< T >::GetChannelCount (  )  [inline, static]

Definition at line 529 of file Pixels.h.

template<typename T>
static const uint32 eLynx::Image::PixelHLS< T >::GetChannelMask (  )  [inline, static]

Definition at line 530 of file Pixels.h.

template<typename T>
static bool eLynx::Image::PixelHLS< T >::IsFullMask ( uint32  iMask  )  [inline, static]

Definition at line 531 of file Pixels.h.

template<typename T>
static bool eLynx::Image::PixelHLS< T >::IsMasking ( uint32  iMask  )  [inline, static]

Definition at line 532 of file Pixels.h.

template<typename T>
static const EPixelMode eLynx::Image::PixelHLS< T >::GetPixelMode (  )  [inline, static]

Definition at line 533 of file Pixels.h.

template<typename T>
static const EPixelType eLynx::Image::PixelHLS< T >::GetPixelType (  )  [inline, static]

Definition at line 534 of file Pixels.h.

template<typename T>
static const EColorSpace eLynx::Image::PixelHLS< T >::GetColorSpace (  )  [inline, static]

Definition at line 535 of file Pixels.h.

template<typename T>
static const EResolution eLynx::Image::PixelHLS< T >::GetResolution (  )  [inline, static]

Definition at line 536 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelHLS< T >::HasAlpha (  )  [inline, static]

Definition at line 537 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelHLS< T >::IsGrey (  )  [inline, static]

Definition at line 538 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelHLS< T >::IsColor (  )  [inline, static]

Definition at line 539 of file Pixels.h.

template<typename T>
static EPixelFormat eLynx::Image::PixelHLS< T >::GetPixelFormat (  )  [static]


Member Data Documentation

template<typename T>
const bool eLynx::Image::PixelHLS< T >::_bColor = true [static]

Definition at line 482 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelHLS< T >::_bGrey = false [static]

Definition at line 483 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelHLS< T >::_bHasAlpha = false [static]

Definition at line 484 of file Pixels.h.

template<typename T>
const uint32 eLynx::Image::PixelHLS< T >::_channels = 3 [static]

Definition at line 485 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelHLS< T >::_channel[_channels]

Definition at line 488 of file Pixels.h.

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

Definition at line 490 of file Pixels.h.

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

Definition at line 491 of file Pixels.h.

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

Definition at line 492 of file Pixels.h.

union { ... }


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

Generated on 14 Apr 2009 by doxygen 1.5.8