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

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

#include <Pixels.h>

Inheritance diagram for eLynx::Image::PixelLab< T >:

eLynx::Image::PixelBase< PixelLab< 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 PixelLab< S_typeSumOverflowPixel
typedef PixelLab< M_typeMulOverflowPixel
typedef PixelLab< F_typeFloatingPixel

Public Member Functions

 PixelLab ()
 PixelLab (T iL, T iA, T iB)
 PixelLab (const PixelLab< T > &iPixel)
 PixelLab (const PixelL< T > &iPixel)
 PixelLab (const PixelLA< T > &iPixel)
 PixelLab (const PixelRGB< T > &iPixel)
 PixelLab (const PixelRGBA< T > &iPixel)
 PixelLab (const PixelHLS< T > &iPixel)
 PixelLab (const PixelXYZ< T > &iPixel)
 PixelLab (const PixelLuv< T > &iPixel)
 PixelLab (const PixelLch< T > &iPixel)
 PixelLab (const PixelHLab< T > &iPixel)
PixelLaboperator= (const PixelLab &ip)
template<typename U >
 PixelLab (const PixelLab< U > &ip)
template<typename U >
PixelLaboperator= (const PixelLab< U > &ip)
GetChannel0 () const
GetChannel1 () const
GetChannel2 () const
GetLuminance () const
GetA () const
GetB () const

Static Public Member Functions

static const PixelLab Null ()
static const PixelLab Black ()
static const PixelLab 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   _luminance
      T   _a
      T   _b
   } 
}; 

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::PixelLab< T >

Definition at line 692 of file Pixels.h.


Member Typedef Documentation

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

Definition at line 694 of file Pixels.h.

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

Definition at line 695 of file Pixels.h.

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

Definition at line 696 of file Pixels.h.

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

Definition at line 698 of file Pixels.h.

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

Definition at line 699 of file Pixels.h.

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

Definition at line 700 of file Pixels.h.

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

Definition at line 702 of file Pixels.h.

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

Definition at line 703 of file Pixels.h.

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

Definition at line 704 of file Pixels.h.


Constructor & Destructor Documentation

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

Definition at line 720 of file Pixels.h.

template<typename T>
eLynx::Image::PixelLab< T >::PixelLab ( iL,
iA,
iB 
) [inline]

Definition at line 721 of file Pixels.h.

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

Definition at line 722 of file Pixels.h.

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

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

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

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

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

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

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

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

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

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

Definition at line 736 of file Pixels.h.


Member Function Documentation

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

Definition at line 733 of file Pixels.h.

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

Definition at line 739 of file Pixels.h.

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

Definition at line 741 of file Pixels.h.

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

Definition at line 742 of file Pixels.h.

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

Definition at line 743 of file Pixels.h.

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

Definition at line 745 of file Pixels.h.

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

Definition at line 746 of file Pixels.h.

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

Definition at line 747 of file Pixels.h.

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

Definition at line 748 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLab< T >::GetA (  )  const [inline]

Definition at line 749 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLab< T >::GetB (  )  const [inline]

Definition at line 750 of file Pixels.h.

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

Definition at line 752 of file Pixels.h.

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

Definition at line 753 of file Pixels.h.

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

Definition at line 754 of file Pixels.h.

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

Definition at line 755 of file Pixels.h.

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

Definition at line 756 of file Pixels.h.

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

Definition at line 757 of file Pixels.h.

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

Definition at line 758 of file Pixels.h.

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

Definition at line 759 of file Pixels.h.

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

Definition at line 760 of file Pixels.h.

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

Definition at line 761 of file Pixels.h.

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

Definition at line 762 of file Pixels.h.

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


Member Data Documentation

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

Definition at line 706 of file Pixels.h.

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

Definition at line 707 of file Pixels.h.

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

Definition at line 708 of file Pixels.h.

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

Definition at line 709 of file Pixels.h.

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

Definition at line 712 of file Pixels.h.

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

Definition at line 714 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLab< T >::_a

Definition at line 715 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLab< T >::_b

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