#include <HxNgbBernsen.h>
Public Types | |
typedef HxTagLoop | IteratorCategory |
Loop version. More... | |
typedef HxTag1Phase | PhaseCategory |
1 phase. More... | |
Public Methods | |
HxNgbBernsen (HxTagList &tags) | |
Constructor. More... | |
~HxNgbBernsen () | |
HxSizes | size () |
void | init (int, int, ArgType) |
void | next (int x, int y, ArgType value) |
ResType | result () const |
Static Public Methods | |
HxString | className () |
The name : "bernsen". More... |
|
Loop version.
|
|
1 phase.
|
|
Constructor. Taglist should contain: int "conn", int "wshedval"
00025 : _values(0) 00026 { 00027 _size = HxGetTag(tags, "windowSz", 31); 00028 _uniformTh = HxGetTag(tags, "uniformTh", 15); 00029 _uniformLow = HxGetTag(tags, "uniformLow", true); 00030 _conn = HxGetTag(tags, "conn", 8); 00031 _pctIdx = 0.5 * (_size * _size); 00032 00033 _values = new ArgType[_size * _size]; 00034 00035 } |
|
The name : "bernsen".
00073 { 00074 static HxString s("bernsen"); 00075 return s; 00076 } |