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

template<class DstArrayT, class SrcArrayT>
void Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::Init ( int  phase,
int  x,
int  y,
SrcArithType  value 
) [inline]

Initialization.

Definition at line 91 of file WeibullNgbPnLoop.h.

References Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mF, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mFprime, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mGamma, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mGammaNext, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mIter, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mLast, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mMaxGamma, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mMaxNumIters, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mPhase, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mPrecision, Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mSumDataLog, and Impala::Core::Feature::WeibullNgbPnLoop< DstArrayT, SrcArrayT >::mSumDataPowerGamma.

00092     {
00093       if(mLast) return;
00094       int ph = phase%2;
00095       //        if (mVerbose)
00096       //  std::cout << "  WeibullNgbPnLoop::init(" << phase << ","
00097       //            << x << "," << y << "," << value << ") " << std::endl;
00098 
00099       if (phase == 1)
00100       {
00101         //      std::cout << "int: x = " << x << " y = " << y << std::endl; 
00102         //      if(mGamma > 5) mGamma = 0.1;
00103         mGamma = 0.1;
00104         mGammaNext = 0.0; 
00105         mPrecision = 0.005; 
00106         mMaxNumIters = 20;
00107         mIter = 1;
00108         mMaxGamma = 25; 
00109       }
00110       mPhase = phase;
00111       if (ph)
00112       {
00113         mSumDataPowerGamma = 0.0;
00114         mSumDataLog = 0.0;
00115         mF = 0.0;
00116         mFprime = 0.0;
00117       }
00118       
00119     }


Generated on Fri Mar 19 11:11:20 2010 for ImpalaSrc by  doxygen 1.5.1