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

template<class VecElemT, class HistElemT>
void Impala::Core::Histogram::ComputeWeibull ( Vector::VectorTem< VecElemT > &  v,
Vector::VectorTem< HistElemT >  hist,
HistElemT  histLow,
HistElemT  histHigh,
bool  storeMu,
bool  storeA 
)

Computes Weibull parameters for given "histogram" and puts them in a vector.

Definition at line 20 of file ComputeWeibull.h.

References Impala::Core::Histogram::FitWeibullMarginal< HistT >::A2(), Impala::Core::Histogram::FitWeibullMarginal< HistT >::Gamma(), Impala::Core::Vector::VectorTem< ElemT >::GetData(), Impala::Core::Histogram::FitWeibullMarginal< HistT >::Mu(), and Impala::Core::Vector::VectorTem< ElemT >::Size().

00023 {
00024     FitWeibullMarginal<VecElemT> fit(hist.GetData(), hist.Size(), histLow,
00025                                      histHigh);
00026     v[0] = fit.Beta();
00027     v[1] = fit.Gamma();
00028     int idx = 2;
00029     if (storeMu)
00030         v[idx++] = fit.Mu();
00031     if (storeA)
00032         v[idx] = fit.A2();
00033 }

Here is the call graph for this function:


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