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

HxNgbKuwahara Class Template Reference

Neighbourhood functor for Kuwahara thresholding. More...

#include <HxNgbKuwahara.h>

List of all members.

Public Types

typedef HxTagLoop IteratorCategory
 Loop version. More...

typedef HxTag1Phase PhaseCategory
 1 phase. More...


Public Methods

 HxNgbKuwahara (HxTagList &tags)
 Constructor. More...

 ~HxNgbKuwahara ()
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 : "Kuwahara". More...


Detailed Description

template<class ArgType, class ResType>
class HxNgbKuwahara< ArgType, ResType >

Neighbourhood functor for Kuwahara thresholding.


Member Typedef Documentation

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

Loop version.

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

1 phase.


Constructor & Destructor Documentation

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

Constructor.

Taglist should contain: int "windowW", int "windowH"

00025     : _values(0)
00026 {
00027     _windowW    = HxGetTag(tags, "windowW", 3);
00028     _windowH    = HxGetTag(tags, "windowH", 3);
00029     
00030     _pctIdx     = 0.5 * (_windowW*_windowH);
00031 
00032     _values = new ArgType[_windowW*_windowH];
00033 
00034 }


Member Function Documentation

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

The name : "Kuwahara".

00071 {
00072     static HxString s("kuwahara");
00073     return s;
00074 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 3 14:19:06 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001