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

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

Initialization.

Definition at line 89 of file IntWeibullNgbPnLoop.h.

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

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


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