#include <HxExportExtraWeightMaskSum.h>
Public Types | |
| typedef HxTagTransInVar | TransVarianceCategory | 
| Functor is translation invariant. More... | |
| typedef HxTag1Phase | PhaseCategory | 
| 1 phase. More... | |
Public Methods | |
| HxExportExtraWeightMaskSum (HxTagList &tags) | |
| Constructor. More... | |
| ~HxExportExtraWeightMaskSum () | |
| Destructor. More... | |
| void | doIt (const ImValT &imV, const ExtraValT &extraV) | 
| Processing one pixel. More... | |
Static Public Methods | |
| HxString | className () | 
| The name : "weightMaskSum". More... | |
      
  | 
  |||||
| 
 Functor is translation invariant. 
  | 
  
      
  | 
  |||||
| 
 1 phase. 
  | 
  
      
  | 
  ||||||||||
| 
 Constructor. 
 
 00053                                             : _tags(tags)
00054 {
00055     _accum = HxScalarInt(0);
00056     _weight = HxScalarInt(0);
00057 }
 | 
  
      
  | 
  |||||||||
| 
 Destructor. 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Processing one pixel. 
 
 00071 {
00072     HX_COUT << "im : " << imV << ", extra: " << extraV;
00073     _accum += ResultT(imV) * ResultT(extraV);
00074     _weight += ResultT(extraV);
00075     HX_COUT << ", accum : " << _accum << ", weight : " << _weight << STD_ENDL;
00076 }
 | 
  
      
  | 
  |||||||||
| 
 The name : "weightMaskSum". 
 
 00081 {
00082     return HxString("weightMaskSum");
00083 }
 | 
  
1.2.12 written by Dimitri van Heesch,
 © 1997-2001