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

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

Neighbourhood functor for weibull fitting. More...

#include <WeibullNgbPnLoop.h>

Collaboration diagram for Impala::Core::Feature::WeibullNgbPnLoop< 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

 WeibullNgbPnLoop (bool verbose, int ngbWidth, int ngbHeight)
 Constructor.
 ~WeibullNgbPnLoop ()
 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
SrcArithType mF
SrcArithType mFprime
SrcArithType mPrecision
SrcArrayT * mEcdf
SrcArrayT * mData
int mIter
int mMaxNumIters
int mPhase
bool mVerbose
bool mLast

Detailed Description

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

Neighbourhood functor for weibull fitting.

Definition at line 39 of file WeibullNgbPnLoop.h.


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