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

Impala::Core::Feature::IntWeibullNgbPnLoop< DstArrayT, SrcArrayT > Class Template Reference

Neighbourhood functor for weibull fitting. More...

#include <IntWeibullNgbPnLoop.h>

Collaboration diagram for Impala::Core::Feature::IntWeibullNgbPnLoop< DstArrayT, SrcArrayT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Array::Pattern::TagLoop IteratorCategory
 Loop version.
typedef Array::Pattern::TagNPhase PhaseCategory
 N phase.
typedef DstArrayT::StorType DstStorType
typedef DstArrayT::ArithType DstArithType
typedef SrcArrayT::StorType SrcStorType
typedef SrcArrayT::ArithType SrcArithType

Public Member Functions

 IntWeibullNgbPnLoop (bool verbose, int ngbWidth, int ngbHeight)
 Constructor.
 ~IntWeibullNgbPnLoop ()
 Destructor.
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 ()
 Produce the result value.
double gammaFunc (double xx) const
double DiGamma (double x) const
int Rf_i1mach (int i)
double Rf_d1mach (int i)
double fmax2 (double x, double y)
double fmin2 (double x, double y)
int imin2 (int x, int y)
void dpsifn (double x, int n, int kode, int m, double *ans, int *nz, int *ierr)
double TriGamma (double x)

Private Attributes

int mNgbWidth
int mNgbHeight
int mFrac
SrcArithType mFactor
SrcArithType mGamma
SrcArithType mGammaNext
SrcArithType mMaxGamma
SrcArithType mSumDataPowerGamma
SrcArithType mSumDataLog
SrcArrayT * mData
SrcArrayT * mEcdf
bool mLast
SrcArithType mF
SrcArithType mFprime
SrcArithType mPrecision
int mIter
int mMaxNumIters
int mPhase
bool mVerbose

Detailed Description

template<class DstArrayT, class SrcArrayT>
class Impala::Core::Feature::IntWeibullNgbPnLoop< DstArrayT, SrcArrayT >

Neighbourhood functor for weibull fitting.

Definition at line 36 of file IntWeibullNgbPnLoop.h.


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