#include <TalkNgbExtra2PnLoop.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 |
typedef ExtraArrayT::StorType | ExtraStorType |
typedef ExtraArrayT::ArithType | ExtraArithType |
typedef Extra2ArrayT::StorType | Extra2StorType |
typedef Extra2ArrayT::ArithType | Extra2ArithType |
Public Member Functions | |
TalkNgbExtra2PnLoop (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 v1, ExtraArithType v2, Extra2ArithType v3) |
Initialization. | |
void | NextEl (int x, int y, SrcArithType v1, ExtraArithType v2, Extra2ArithType v3) |
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 |
DstArithType | mResult |
DstArithType | mFactor |
bool | mVerbose |
Definition at line 21 of file TalkNgbExtra2PnLoop.h.