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

HxBpoHighlightRegion Class Template Reference

Pixel functor for region highlighting. More...

List of all members.

Public Types

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


Public Methods

 HxBpoHighlightRegion (HxTagList &tags)
 Constructor : empty. More...

DstValT doIt (const SrcValT &x, const LabelValT &y)
 Actual operation. More...


Static Public Methods

DstValT neutralElement ()
HxString className ()
 The name : "highlightRegion". More...


Detailed Description

template<class DstValT, class SrcValT, class LabelValT>
class HxBpoHighlightRegion< DstValT, SrcValT, LabelValT >

Pixel functor for region highlighting.


Member Typedef Documentation

template<class DstValT, class SrcValT, class LabelValT>
typedef HxTagTransInVar HxBpoHighlightRegion::TransVarianceCategory
 

Functor is translation invariant.


Constructor & Destructor Documentation

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

Constructor : empty.

00030                         {
00031                             _label = LabelValT(HxGetTag<int>(tags, "label", 1));
00032                             _factor = HxScalarDouble(
00033                                 HxGetTag<double>(tags,"factor", 0.75));
00034                         }


Member Function Documentation

template<class DstValT, class SrcValT, class LabelValT>
DstValT HxBpoHighlightRegion< DstValT, SrcValT, LabelValT >::doIt const SrcValT &    x,
const LabelValT &    y
[inline]
 

Actual operation.

00038                         { return (y == _label) ? x : x*_factor; }

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

The name : "highlightRegion".

00045                         { return HxString("highlightRegion"); }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:48:57 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001