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

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

Definition at line 16 of file HistogramIntersection.h.

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

Referenced by Impala::Core::VideoSet::ShotSegmenter::ComputeSSWeights().

00017 {
00018     ElemT score = 0;
00019     for (int i=0 ; i<v1.Size() ; i++)
00020         score += Impala::Min(v1[i], v2[i]);
00021     return score;
00022 }

Here is the call graph for this function:


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