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

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

#include <Pixels.h>

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

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

Public Member Functions

 PixelL ()
 PixelL (T iL)
 PixelL (const PixelL &iPixel)
 PixelL (const PixelLA< T > &iPixel, bool ibBlendAlpha=false)
 PixelL (const PixelRGB< T > &iPixel, EColorToGreyConversion iMethod=CGC_Default)
 PixelL (const PixelRGBA< T > &iPixel, EColorToGreyConversion iMethod=CGC_Default)
 PixelL (const PixelHLS< T > &iPixel)
 PixelL (const PixelLab< T > &iPixel)
PixelLoperator= (const PixelL &iPixel)
template<typename U >
 PixelL (const PixelL< U > &iPixel)
template<typename U >
PixelLoperator= (const PixelL< U > &iPixel)
GetChannel0 () const
GetLuminance () const

Static Public Member Functions

static const PixelL Null ()
static const PixelL Black ()
static const PixelL 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]
   T   _luminance
 grey lunimance
}; 

Static Public Attributes

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

Detailed Description

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

Definition at line 194 of file Pixels.h.


Member Typedef Documentation

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

Definition at line 196 of file Pixels.h.

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

Definition at line 197 of file Pixels.h.

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

Definition at line 198 of file Pixels.h.

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

Definition at line 200 of file Pixels.h.

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

Definition at line 201 of file Pixels.h.

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

Definition at line 202 of file Pixels.h.

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

Definition at line 204 of file Pixels.h.

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

Definition at line 205 of file Pixels.h.

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

Definition at line 206 of file Pixels.h.


Constructor & Destructor Documentation

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

Definition at line 218 of file Pixels.h.

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

Definition at line 219 of file Pixels.h.

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

Definition at line 220 of file Pixels.h.

template<typename T>
eLynx::Image::PixelL< T >::PixelL ( const PixelLA< T > &  iPixel,
bool  ibBlendAlpha = false 
)

template<typename T>
eLynx::Image::PixelL< T >::PixelL ( const PixelRGB< T > &  iPixel,
EColorToGreyConversion  iMethod = CGC_Default 
) [inline]

Definition at line 222 of file Pixels.h.

template<typename T>
eLynx::Image::PixelL< T >::PixelL ( const PixelRGBA< T > &  iPixel,
EColorToGreyConversion  iMethod = CGC_Default 
) [inline]

Definition at line 223 of file Pixels.h.

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

Definition at line 224 of file Pixels.h.

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

Definition at line 225 of file Pixels.h.

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

Definition at line 230 of file Pixels.h.


Member Function Documentation

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

Definition at line 227 of file Pixels.h.

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

Definition at line 233 of file Pixels.h.

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

Definition at line 235 of file Pixels.h.

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

Definition at line 236 of file Pixels.h.

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

Definition at line 237 of file Pixels.h.

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

Definition at line 239 of file Pixels.h.

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

Definition at line 240 of file Pixels.h.

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

Definition at line 242 of file Pixels.h.

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

Definition at line 243 of file Pixels.h.

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

Definition at line 244 of file Pixels.h.

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

Definition at line 245 of file Pixels.h.

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

Definition at line 246 of file Pixels.h.

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

Definition at line 247 of file Pixels.h.

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

Definition at line 248 of file Pixels.h.

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

Definition at line 249 of file Pixels.h.

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

Definition at line 250 of file Pixels.h.

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

Definition at line 251 of file Pixels.h.

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

Definition at line 252 of file Pixels.h.

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


Member Data Documentation

template<typename T>
const bool eLynx::Image::PixelL< T >::_bColor = false [static]

Definition at line 208 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelL< T >::_bGrey = true [static]

Definition at line 209 of file Pixels.h.

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

Definition at line 210 of file Pixels.h.

template<typename T>
const uint32 eLynx::Image::PixelL< T >::_channels = 1 [static]

Definition at line 211 of file Pixels.h.

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

Definition at line 214 of file Pixels.h.

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

grey lunimance

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