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

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

00043     {
00044         ElemT score = 0;
00045         for (int i=0 ; i<v1.Size() ; i++)
00046             score += Impala::Min(v1[i], v2[i]);
00047         return score;
00048     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:37 2011 for ImpalaSrc by  doxygen 1.5.1