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

void Impala::Core::VideoSet::ShotSegmenter::EqualizeHist ( HistType h  )  [inline, private]

Definition at line 908 of file ShotSegmenter.h.

References Impala::Core::Vector::VectorTem< ElemT >::Elem(), Impala::Core::Vector::VectorTem< ElemT >::Size(), and Impala::Core::Histogram::Histogram1dTem< ElemT >::TotalWeight().

Referenced by UpdateHistograms().

00909     {
00910         for(int i=0;i<h->Size();i++){
00911             Real64 tot = h->TotalWeight();
00912             Real64 cum = 0;
00913             for(int i=0 ; i<h->Size() ; i++)
00914             {
00915                 cum += h->Elem(i);
00916                 h->Elem(i) = cum / tot;
00917             }
00918         }
00919     }

Here is the call graph for this function:


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