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

PixelBase.h File Reference

#include "inl/Pixel/PixelBase.inl"
#include "inl/Pixel/Add.inl"
#include "inl/Pixel/Sub.inl"
#include "inl/Pixel/Mul.inl"
#include "inl/Pixel/Div.inl"
#include "inl/Pixel/Power.inl"

Go to the source code of this file.


Classes

struct  eLynx::Image::SampleTypeTraits< T >
struct  eLynx::Image::PixelBase< Pixel >
struct  eLynx::Image::ColorToType< B >
 ColorToType struct allows creation of Color or Non-Color pixel types. More...
struct  eLynx::Image::GreyToType< B >
 GreyToType struct allows creation of Grey or Non-Grey pixel types. More...
struct  eLynx::Image::AlphaToType< B >
 AlphaToType struct allows creation of Alpha or Non-Alpha pixel types. More...

Namespaces

namespace  eLynx
namespace  eLynx::Image

Defines

#define PIXEL_INTEGER_TYPE   (IntegerToType< ResolutionTypeTraits< typename Pixel::type >::_bInteger >())
#define PIXEL_LUT_TYPE   (LutToType< ResolutionTypeTraits< typename Pixel::type >::_bLUT >())
#define PIXEL_COLOR_TYPE(_PIXEL_)   (ColorToType< _PIXEL_::_bColor >())
#define PIXEL_GREY_TYPE(_PIXEL_)   (GreyToType< _PIXEL_::_bGrey >())
#define PIXEL_ALPHA_TYPE(_PIXEL_)   (AlphaToType< _PIXEL_::_bHasAlpha >())

Typedefs

typedef ColorToType< true > eLynx::Image::ColorType
typedef ColorToType< false > eLynx::Image::NonColorType
typedef GreyToType< true > eLynx::Image::GreyType
typedef GreyToType< false > eLynx::Image::NonGreyType
typedef AlphaToType< true > eLynx::Image::AlphaType
typedef AlphaToType< false > eLynx::Image::NonAlphaType

Enumerations

enum  { eLynx::Image::PC_MAX = 4 }
 Maximum of channel per pixels. More...

Functions

bool eLynx::Image::elxUseChannel (uint32 iChannel, uint32 iChannelMask)
template<class Pixel >
void eLynx::Image::elxPixelNegative (Pixel &ioPixel)
template<class Pixel >
void eLynx::Image::elxPixelNegative (Pixel &ioPixel, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelBlend (const PixelBase< Pixel > &iPixel1, const Pixel &iPixel2, double iScalar)
template<class Pixel >
Pixel eLynx::Image::elxPixelBlend (const PixelBase< Pixel > &iPixel1, const Pixel &iPixel2, double iScalar, const uint32 iChannelMask)
template<class Pixel >
void eLynx::Image::elxPixelSet (Pixel &ioPixel, double iValue, const uint32 iChannelMask)
template<class Pixel >
void eLynx::Image::elxPixelSet (Pixel &ioPixel, const Pixel &iPixel, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelThreshold (const Pixel &iPixel, const U &iValue, const uint32 iChannelMask)
Pixel addition operators
template<class Pixel >
Pixel eLynx::Image::operator+ (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::operator+ (const PixelBase< Pixel > &iPixel, const typename Pixel::type iValue)
template<class Pixel >
Pixel eLynx::Image::operator+ (const typename Pixel::type iValue, const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel & eLynx::Image::operator+= (PixelBase< Pixel > &ioFirst, const Pixel &iSecond)
template<class Pixel >
Pixel & eLynx::Image::operator+= (PixelBase< Pixel > &ioPixel, const typename Pixel::type iValue)
Pixel subtraction operators
template<class Pixel >
Pixel eLynx::Image::operator- (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::operator- (const PixelBase< Pixel > &iPixel, const typename Pixel::type iValue)
template<class Pixel >
Pixel eLynx::Image::operator- (const typename Pixel::type iValue, const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel & eLynx::Image::operator-= (PixelBase< Pixel > &ioFirst, const Pixel &iSecond)
template<class Pixel >
Pixel & eLynx::Image::operator-= (PixelBase< Pixel > &ioPixel, const typename Pixel::type iValue)
Pixel multiplication operators
template<class Pixel >
Pixel eLynx::Image::operator* (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::operator* (const PixelBase< Pixel > &iPixel, const typename Pixel::type iValue)
template<class Pixel >
Pixel eLynx::Image::operator* (const typename Pixel::type iValue, const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel & eLynx::Image::operator*= (PixelBase< Pixel > &ioFirst, const Pixel &iSecond)
template<class Pixel >
Pixel & eLynx::Image::operator*= (PixelBase< Pixel > &ioPixel, const typename Pixel::type iValue)
Pixel division operators
template<class Pixel >
Pixel eLynx::Image::operator/ (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::operator/ (const PixelBase< Pixel > &iPixel, const typename Pixel::type iValue)
template<class Pixel >
Pixel & eLynx::Image::operator/= (PixelBase< Pixel > &ioFirst, const Pixel &iSecond)
template<class Pixel >
Pixel & eLynx::Image::operator/= (PixelBase< Pixel > &ioPixel, const typename Pixel::type iValue)
Pixel equality operators
template<class Pixel >
bool eLynx::Image::operator== (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
bool eLynx::Image::operator!= (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
bool eLynx::Image::elxPixelEqual (const Pixel &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
Pixel Add methods
template<class Pixel >
Pixel eLynx::Image::elxPixelAdd (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelAdd (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAdd (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAdd (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelAddClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelAddClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAddClamp (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAddClamp (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
Pixel Sub methods
template<class Pixel >
Pixel eLynx::Image::elxPixelSub (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelSub (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelSub (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelSub (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelSubClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelSubClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelSubClamp (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelSubClamp (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelSubAbsClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelSubAbsClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
Pixel Mul methods
template<class Pixel >
Pixel eLynx::Image::elxPixelMul (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelMul (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMul (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMul (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelMulClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelMulClamp (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
Pixel Div methods
template<class Pixel >
Pixel eLynx::Image::elxPixelDiv (const PixelBase< Pixel > &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelDiv (const PixelBase< Pixel > &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelDiv (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelDiv (const PixelBase< Pixel > &iPixel, const U &iValue, const uint32 iChannelMask)
Pixel power, exponential and logarithmic services
template<class Pixel >
Pixel & eLynx::Image::elxSqrtSelf (PixelBase< Pixel > &ioPixel)
template<typename U , class Pixel >
Pixel & eLynx::Image::elxPowSelf (PixelBase< Pixel > &ioPixel, const U &iValue)
template<class Pixel >
Pixel & eLynx::Image::elxPixelPowSelf (PixelBase< Pixel > &ioPixel1, const Pixel &iPixel2)
template<class Pixel >
Pixel & eLynx::Image::elxPixelExpSelf (PixelBase< Pixel > &ioPixel)
template<class Pixel >
Pixel & eLynx::Image::elxPixelLogSelf (PixelBase< Pixel > &ioPixel)
template<class Pixel >
Pixel & eLynx::Image::elxPixelLog10Self (PixelBase< Pixel > &ioPixel)
template<class Pixel >
Pixel & eLynx::Image::elxPixelSqrtSelf (PixelBase< Pixel > &ioPixel)
template<typename U , class Pixel >
Pixel eLynx::Image::elxPixelPow (const PixelBase< Pixel > &iPixel, const U &iValue)
template<class Pixel >
Pixel eLynx::Image::elxPixelPow (const PixelBase< Pixel > &iPixel1, const Pixel &iPixel2)
template<class Pixel >
Pixel eLynx::Image::elxPixelExp (const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel eLynx::Image::elxPixelLog (const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel eLynx::Image::elxPixelLog10 (const PixelBase< Pixel > &iPixel)
template<class Pixel >
Pixel eLynx::Image::elxPixelSqrt (const PixelBase< Pixel > &iPixel)
Pixel clamp
template<typename In , typename Out , template< typename > class Pixel>
void eLynx::Image::elxPixelClamp (const PixelBase< Pixel< In > > &iPixelIn, PixelBase< Pixel< Out > > &oPixelOut)
template<typename In , typename Out , template< typename > class Pixel>
void eLynx::Image::elxPixelClamp (const PixelBase< Pixel< In > > &iPixelIn, PixelBase< Pixel< Out > > &oPixelOut, FloatType)
template<typename In , typename Out , template< typename > class Pixel>
void eLynx::Image::elxPixelClamp (const PixelBase< Pixel< In > > &iPixelIn, PixelBase< Pixel< Out > > &oPixelOut, const uint32 iChannelMask)
template<typename In , typename Out , template< typename > class Pixel>
void eLynx::Image::elxPixelClamp (const PixelBase< Pixel< In > > &iPixelIn, PixelBase< Pixel< Out > > &oPixelOut, FloatType, const uint32 iChannelMask)
Pixel abs
template<class Pixel >
Pixel eLynx::Image::elxPixelAbs (const Pixel &iPixel)
template<class Pixel >
Pixel eLynx::Image::elxPixelAbs (const Pixel &iPixel, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAbsDiff (const Pixel &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelAbsDiff (const Pixel &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelAbsDiff (const Pixel &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelAbsDiff (const Pixel &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
Pixel min, max, mean
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMin (const Pixel &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMin (const Pixel &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelMin (const Pixel &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelMin (const Pixel &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMax (const Pixel &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMax (const Pixel &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelMax (const Pixel &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelMax (const Pixel &iFirst, const Pixel &iSecond, const uint32 iChannelMask)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMean (const Pixel &iPixel, const U &iValue)
template<class Pixel , typename U >
Pixel eLynx::Image::elxPixelMean (const Pixel &iPixel, const U &iValue, const uint32 iChannelMask)
template<class Pixel >
Pixel eLynx::Image::elxPixelMean (const Pixel &iFirst, const Pixel &iSecond)
template<class Pixel >
Pixel eLynx::Image::elxPixelMean (const Pixel &iFirst, const Pixel &iSecond, const uint32 iChannelMask)

Define Documentation

#define PIXEL_INTEGER_TYPE   (IntegerToType< ResolutionTypeTraits< typename Pixel::type >::_bInteger >())

Definition at line 512 of file PixelBase.h.

#define PIXEL_LUT_TYPE   (LutToType< ResolutionTypeTraits< typename Pixel::type >::_bLUT >())

Definition at line 515 of file PixelBase.h.

#define PIXEL_COLOR_TYPE ( _PIXEL_   )     (ColorToType< _PIXEL_::_bColor >())

Definition at line 527 of file PixelBase.h.

#define PIXEL_GREY_TYPE ( _PIXEL_   )     (GreyToType< _PIXEL_::_bGrey >())

Definition at line 538 of file PixelBase.h.

#define PIXEL_ALPHA_TYPE ( _PIXEL_   )     (AlphaToType< _PIXEL_::_bHasAlpha >())

Definition at line 549 of file PixelBase.h.


Generated on 14 Apr 2009 by doxygen 1.5.8