Home || Visual Search || Applications || Architecture || 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 639 of file Color64.h.

References max.

Referenced by ComputeGrid(), and Extract().

00639     {
00640         float sum = 0;
00641         for (int i=0; i<nDim; i++)
00642         {
00643             float value = pFeature[i];
00644             if (value< min || value > max )
00645             {
00646                 std::cout << "ERROR: Feature Range Verifiction failed: " << value << std::endl;
00647                 return false;
00648             }
00649         }
00650 
00651         return true;
00652     }
00653 


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