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

bool Impala::Core::Feature::Color64::VerifyFeatureRange ( float *  pFeature,
int  nDim,
float  min = 0,
float  max = 1.0 
) [inline]

Definition at line 608 of file Color64.h.

References max.

Referenced by ComputeGrid(), and Extract().

00609     {
00610         float sum = 0;
00611         for (int i=0; i<nDim; i++)
00612         {
00613             float value = pFeature[i];
00614             if (value< min || value > max )
00615             {
00616                 std::cout << "ERROR: Feature Range Verifiction failed: " << value << std::endl;
00617                 return false;
00618             }
00619         }
00620 
00621         return true;
00622     }


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