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

void Impala::Core::Feature::Color64::SetFeatureMode (  )  [inline]

Definition at line 220 of file Color64.h.

References mBinCount, mFeatureName, and mode.

Referenced by Color64().

00221     {
00222         if (mFeatureName == "color64")
00223         {
00224             mode=0;
00225             mBinCount = 64;
00226         }
00227         else if (mFeatureName == "correlogram44")
00228         {
00229             mode=1;
00230             mBinCount = 44;
00231         }
00232         else if (mFeatureName == "texturemoment14")
00233         {
00234             mode=2;
00235             mBinCount = 14;
00236         }
00237         else if (mFeatureName == "rgbmoment6")
00238         {
00239             mode=3;
00240             mBinCount = 6;
00241         }
00242         else if (mFeatureName == "color64grid2x2")
00243         {
00244             mode=4;
00245             mBinCount = 64*2*2;
00246         }
00247         else if (mFeatureName == "color64grid3x3")
00248         {
00249             mode=5;
00250             mBinCount = 64*3*3;
00251         }
00252         else if (mFeatureName == "color64grid4x4")
00253         {
00254             mode=6;
00255             mBinCount = 64*4*4;
00256         }
00257         else if (mFeatureName == "color64grid5x5")
00258         {
00259             mode=7;
00260             mBinCount = 64*5*5;
00261         }
00262         else if (mFeatureName == "color64grid6x6")
00263         {
00264             mode=8;
00265             mBinCount = 64*6*6;
00266         }
00267         else if (mFeatureName == "")
00268         {
00269             mode=-1;
00270             mBinCount = 0;
00271             std::cout << "FeatureName is empty." << std::endl;
00272         }
00273         else // "color64"
00274         {
00275             mode=-1;
00276             mBinCount = 0;
00277             std::cout << "FeatureName is un-defined: " << mFeatureName << std::endl;
00278         }
00279     }


Generated on Thu Jan 13 09:19:07 2011 for ImpalaSrc by  doxygen 1.5.1