#include <HxNgbHilditch.h>
Public Types | |
typedef HxTagLoop | IteratorCategory |
Loop version. More... | |
typedef HxTag1Phase | PhaseCategory |
1 phase. More... | |
Public Methods | |
HxNgbHilditch (HxTagList &tags) | |
Constructor. More... | |
~HxNgbHilditch () | |
HxSizes | size () |
void | init (int, int, ArgType) |
void | next (int x, int y, ArgType value) |
ResType | result () |
Static Public Methods | |
HxString | className () |
The name : "Hilditch". More... |
|
Loop version.
|
|
1 phase.
|
|
Constructor.
00025 : _tags(tags) 00026 { 00027 _size = 5;//3; 00028 _pctIdx = 12;//4; //0.5 * (_size * _size); 00029 00030 int _idxKernel[9]={ 6, 7, 8,11,12,13,16,17,18}; 00031 int _idxAp1[9] ={ 7, 8,13,18,17,16,11, 6, 7}; 00032 int _idxAp2[9] ={ 2, 3, 8,13,12,11, 6, 1, 2}; 00033 int _idxAp4[9] ={ 8, 9,14,19,18,17,12, 7, 8}; 00034 00035 for(int j=0;j<9;j++) 00036 { 00037 idxKernel[j]=_idxKernel[j]; 00038 idxAp1[j] =_idxAp1[j]; 00039 idxAp2[j] =_idxAp2[j]; 00040 idxAp4[j] =_idxAp4[j]; 00041 } 00042 00043 _changed = false; 00044 00045 _values = new ArgType[_size * _size]; 00046 00047 } |
|
The name : "Hilditch".
00077 { 00078 static HxString s("hilditch"); 00079 return s; 00080 } |