#include <HxExportExtraIdentMaskSum.h>
Public Types | |
| typedef HxTagTransInVar | TransVarianceCategory |
| Functor is translation invariant. More... | |
| typedef HxTag1Phase | PhaseCategory |
| 1 phase. More... | |
Public Methods | |
| HxExportExtraIdentMaskSum (HxTagList &tags) | |
| Constructor. More... | |
| ~HxExportExtraIdentMaskSum () | |
| Destructor. More... | |
| void | doIt (const ImValT &imV, const ExtraValT &extraV) |
| Processing one pixel. More... | |
Static Public Methods | |
| HxString | className () |
| The name : "identMaskSum". More... | |
|
|||||
|
Functor is translation invariant.
|
|
|||||
|
1 phase.
|
|
||||||||||
|
Constructor.
00053 : _tags(tags)
00054 {
00055 _maskVal = HxGetTag<int>(tags, "maskVal");
00056 _result = HxScalarInt(0);
00057 }
|
|
|||||||||
|
Destructor.
|
|
||||||||||||||||
|
Processing one pixel.
00069 {
00070 if (extraV == _maskVal) {
00071 _result += imV;
00072 }
00073 }
|
|
|||||||||
|
The name : "identMaskSum".
00078 {
00079 return HxString("identMaskSum");
00080 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001