Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Array::Trait::NgbLWshed< DstArrayT, SrcArrayT > Class Template Reference

Neighbourhood functor for watershed segmentation. More...

#include <NgbLWshed.h>

List of all members.

Public Types

typedef Pattern::TagLoop IteratorCategory
 Loop version.
typedef Pattern::Tag1Phase PhaseCategory
 1 phase
typedef DstArrayT::StorType DstStorType
typedef DstArrayT::ArithType DstArithType
typedef SrcArrayT::StorType SrcStorType
typedef SrcArrayT::ArithType SrcArithType

Public Member Functions

 NgbLWshed (int conn, int wshedval)
 Constructor.
 ~NgbLWshed ()
 Destructor.
int Width ()
 Width of the neighbourhood.
int Height ()
 Height of the neighbourhood.
void Init (int x, int y, const SrcArithType &value)
 Initialization.
void NextEl (int x, int y, const SrcArithType &value)
 Processing one pixel.
DstArithType Result () const
 Produce the result value.

Private Attributes

int mPctIdx
int mConn
int mWshedval
SrcArithTypemValues
int mI


Detailed Description

template<class DstArrayT, class SrcArrayT>
class Impala::Core::Array::Trait::NgbLWshed< DstArrayT, SrcArrayT >

Neighbourhood functor for watershed segmentation.

Looks in a vecinity and decides if there is a border The smallest neighbour (if not wshed) is replaced by wshed value.

Definition at line 22 of file NgbLWshed.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:04:38 2010 for ImpalaSrc by  doxygen 1.5.1