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

template<class ElemT>
ElemT Impala::Core::Vector::HistogramIntersectionFtor< ElemT >::DoIt ( const VectorTem< ElemT > &  v1,
const VectorTem< ElemT > &  v2 
) [inline]

Definition at line 30 of file HistogramIntersection.h.

References Impala::Min(), and Impala::Core::Vector::VectorTem< ElemT >::Size().

00031     {
00032         ElemT score = 0;
00033         for (int i=0 ; i<v1.Size() ; i++)
00034             score += Impala::Min(v1[i], v2[i]);
00035         return score;
00036     }

Here is the call graph for this function:


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