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

bool Impala::Core::Feature::VisSem::CheckRegionDescriptor ( VectorReal64  vec  )  [inline, private]

Definition at line 328 of file VisSem.h.

References Impala::Core::Feature::Computor::GetName(), and Impala::Core::Vector::VectorTem< ElemT >::Size().

Referenced by ComputeRegionFeatures().

00329     {
00330         if (GetName() == "vissem")
00331         {
00332             bool eliminateZeros = true;
00333             if (!eliminateZeros)
00334                 return true;
00335             bool ok = true;
00336             for (int i=0 ; i<vec.Size() ; i++)
00337             {
00338                 if (vec[i] == 0)
00339                 {
00340                     ok = false;
00341                     break;
00342                 }
00343             }
00344             return ok;
00345         }
00346         return true;
00347     }

Here is the call graph for this function:


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