Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxNgbHilditch Class Template Reference

Neighbourhood functor for Hilditch. More...

#include <HxNgbHilditch.h>

List of all members.

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...


Detailed Description

template<class ArgType, class ResType>
class HxNgbHilditch< ArgType, ResType >

Neighbourhood functor for Hilditch.


Member Typedef Documentation

template<class ArgType, class ResType>
typedef HxTagLoop HxNgbHilditch::IteratorCategory
 

Loop version.

template<class ArgType, class ResType>
typedef HxTag1Phase HxNgbHilditch::PhaseCategory
 

1 phase.


Constructor & Destructor Documentation

template<class ArgType, class ResType>
HxNgbHilditch< ArgType, ResType >::HxNgbHilditch HxTagList   tags
 

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 }


Member Function Documentation

template<class ArgType, class ResType>
HxString HxNgbHilditch< ArgType, ResType >::className   [inline, static]
 

The name : "Hilditch".

00077 {
00078     static HxString s("hilditch");
00079     return s;
00080 }


The documentation for this class was generated from the following files:
Generated on Mon Jan 27 15:49:08 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001