Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxUpoColSpace Class Template Reference

Pixel functor for color space conversion. More...

#include <HxUpoColSpace.h>

List of all members.

Public Types

typedef HxTagTransInVar TransVarianceCategory
 Functor is translation invariant. More...


Public Methods

 HxUpoColSpace (HxTagList &tags)
 Constructor. More...

DstValT doIt (const SrcValT &x)
 Actual operation :. More...


Static Public Methods

HxString className ()
 The name : "colorSpace". More...


Detailed Description

template<class DstValT, class SrcValT>
class HxUpoColSpace< DstValT, SrcValT >

Pixel functor for color space conversion.


Member Typedef Documentation

template<class DstValT, class SrcValT>
typedef HxTagTransInVar HxUpoColSpace::TransVarianceCategory
 

Functor is translation invariant.


Constructor & Destructor Documentation

template<class DstValT, class SrcValT>
HxUpoColSpace< DstValT, SrcValT >::HxUpoColSpace HxTagList   tags [inline]
 

Constructor.

00029                         {
00030                             _fromSpace = HxGetTag<HxColorModel>(tags,
00031                                 "fromColorSpace");
00032                             _toSpace = HxGetTag<HxColorModel>(tags,
00033                                 "toColorSpace");
00034                         }


Member Function Documentation

template<class DstValT, class SrcValT>
DstValT HxUpoColSpace< DstValT, SrcValT >::doIt const SrcValT &    x [inline]
 

Actual operation :.

00038                         { return HxColor(x,_fromSpace).convert(_toSpace).value();}

template<class DstValT, class SrcValT>
HxString HxUpoColSpace< DstValT, SrcValT >::className   [inline, static]
 

The name : "colorSpace".

00042                         { return HxString("colorSpace"); }


The documentation for this class was generated from the following file:
Generated on Tue Feb 3 14:19:09 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001