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

template<class VecArrayT, class ImArrayT, class HistArrayT>
void Impala::Core::Histogram::ComputeWeibullSet ( Vector::VectorSet< VecArrayT > *  vSet,
Array::ArraySet< ImArrayT > &  imSet,
const Geometry::RectangleSet &  rects,
Histogram1dSet< HistArrayT > *  hSet,
bool  storeMu,
bool  storeA 
)

Computes Weibull parameters for each image in the set and concatenates them into a vector, using the given histogram for the intermediate step.

Definition at line 84 of file ComputeWeibull.h.

References Impala::Core::Vector::VectorSet< ArrayT >::GetVector(), and Impala::Core::Vector::VectorSet< ArrayT >::SetSize().

00087 {
00088     typedef typename Vector::VectorSet<VecArrayT>::ElemT VecElemT;
00089     typedef typename Vector::VectorSet<VecArrayT>::VectorT VectorT;
00090 
00091     for (int i=0 ; i<rects.size() ; i++)
00092     {
00093         MakeHistogram1dSet<HistArrayT,ImArrayT>(hSet, imSet, rects[i]);
00094         VectorT v = vSet->GetVector(i, true);
00095         ComputeWeibull<VecElemT,HistArrayT>(v, hSet, storeMu, storeA);
00096     }
00097     vSet->SetSize(rects.size());
00098 }

Here is the call graph for this function:


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