#include <NgbLWshed.h>
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 |
SrcArithType * | mValues |
int | mI |
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.