#include <TalkNgbPnLoop.h>
Public Types | |
typedef Pattern::TagLoop | IteratorCategory |
Loop version. | |
typedef Pattern::TagNPhase | PhaseCategory |
N phase. | |
typedef DstArrayT::StorType | DstStorType |
typedef DstArrayT::ArithType | DstArithType |
typedef SrcArrayT::StorType | SrcStorType |
typedef SrcArrayT::ArithType | SrcArithType |
Public Member Functions | |
TalkNgbPnLoop (bool verbose, int ngbWidth, int ngbHeight) | |
Constructor. | |
int | Width () |
Width of the neighbourhood. | |
int | Height () |
Height of the neighbourhood. | |
void | Init (int phase, int x, int y, SrcArithType value) |
Initialization. | |
void | NextEl (int x, int y, SrcArithType value) |
Processing one pixel. | |
void | Done (int phase) |
Done with one phase. | |
bool | HasNextPhase (int lastPhase) |
Do we have a next phase after this one? | |
DstArithType | Result () const |
Produce the result value. | |
Private Attributes | |
int | mNgbWidth |
int | mNgbHeight |
SrcArithType | mResult |
SrcArithType | mFactor |
bool | mVerbose |
Definition at line 21 of file TalkNgbPnLoop.h.