#include <HxExportExtraIdentMaskMean.h>
Public Types | |
typedef HxTagTransInVar | TransVarianceCategory |
Functor is translation invariant. More... | |
typedef HxTag1Phase | PhaseCategory |
1 phase. More... | |
Public Methods | |
HxExportExtraIdentMaskMean (HxTagList &tags) | |
Constructor. More... | |
~HxExportExtraIdentMaskMean () | |
Destructor. More... | |
void | doIt (const ImValT &imV, const ExtraValT &extraV) |
Processing one pixel. More... | |
Static Public Methods | |
HxString | className () |
The name : "identMaskMean". More... |
|
Functor is translation invariant.
|
|
1 phase.
|
|
Constructor.
00054 : _tags(tags) 00055 { 00056 _maskVal = HxGetTag<int>(tags, "maskVal"); 00057 _result = HxScalarInt(0); 00058 _num = 0; 00059 } |
|
Destructor.
|
|
Processing one pixel.
00072 { 00073 if (extraV == _maskVal) { 00074 _result += imV; 00075 _num += 1; 00076 } 00077 } |
|
The name : "identMaskMean".
00082 { 00083 return HxString("identMaskMean"); 00084 } |