#include <iostream>#include <fstream>#include <cstdio>#include <cassert>#include <cmath>#include <liatools.h>
Go to the source code of this file.
Defines | |
| #define | ALIZE_GeneralTools_cpp |
Functions | |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, unsigned long idxBeginFrame, unsigned long nbFrames, Config &config) |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, Seg *seg, Config &config) |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, SegCluster &selectedSegments, Config &config) |
| double | accumulateStatEM (StatServer &ss, FeatureServer &fs, MixtureStat &emAcc, unsigned long idxBeginFrame, unsigned long nbFrames, Config &config) |
| double | accumulateStatEM (StatServer &ss, FeatureServer &fs, MixtureStat &emAcc, Seg *seg, Config &config) |
| double | accumulateStatEMUnThreaded (StatServer &ss, FeatureServer &fs, MixtureStat &emAcc, SegCluster &selectedSegments, Config &config) |
| double | accumulateStatEM (StatServer &ss, FeatureServer &fs, MixtureStat &emAcc, SegCluster &selectedSegments, Config &config) |
| double | accumulateStatEM (StatServer &ss, FeatureServer &fs, MixtureStat &emAcc, SegCluster &selectedSegments, double &weight, Config &config) |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, unsigned long idxBeginFrame, unsigned long nbFrames, double &weight, Config &config) |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, Seg *seg, double &weight, Config &config) |
| void | accumulateStatLLK (StatServer &ss, FeatureServer &fs, MixtureStat &llkAcc, SegCluster &selectedSegments, double &weight, Config &config) |
| void | accumulateStatFrame (FrameAcc &frameAcc, FeatureServer &fs, unsigned long idxBeginFrame, unsigned long nbFrames, Config &config) |
| void | accumulateStatFrame (FrameAcc &frameAcc, FeatureServer &fs, Seg *seg, Config &config) |
| void | accumulateStatFrame (FrameAcc &frameAcc, FeatureServer &fs, SegCluster &selectedSegments, Config &config) |
| double | areaHisto (const Histo &histo, unsigned long bin) |
| double | areaHisto (const Histo &histo, unsigned long bin, double nonObserved) |
| double | linearInterpolation (double val, double lower, double higher) |
| void | freezeHistoTab (Histo *&histoT) |
| void | initHistoTab (Histo *&histoT, unsigned long size, unsigned long nbBins) |
| void | computeHistoTab (Histo *histoT, unsigned long size) |
| void | accumulateHistoFrame (Histo *histoT, FeatureServer &fs, unsigned long idxBeginFrame, unsigned long nbFrames, Config &config) |
| void | accumulateHistoFrame (Histo *histoT, FeatureServer &fs, Seg *seg, Config &config) |
| void | accumulateHistoFrame (Histo *histoT, FeatureServer &fs, SegCluster &selectedSegments, Config &config) |
| #define ALIZE_GeneralTools_cpp |
Definition at line 56 of file AccumulateStat.cpp.
| void accumulateHistoFrame | ( | Histo * | histoT, |
| FeatureServer & | fs, | ||
| unsigned long | idxBeginFrame, | ||
| unsigned long | nbFrames, | ||
| Config & | config | ||
| ) |
Definition at line 444 of file AccumulateStat.cpp.
Referenced by accumulateHistoFrame(), and normFeat().
| void accumulateHistoFrame | ( | Histo * | histoT, |
| FeatureServer & | fs, | ||
| Seg * | seg, | ||
| Config & | config | ||
| ) |
Definition at line 456 of file AccumulateStat.cpp.
References accumulateHistoFrame().
| void accumulateHistoFrame | ( | Histo * | histoT, |
| FeatureServer & | fs, | ||
| SegCluster & | selectedSegments, | ||
| Config & | config | ||
| ) |
Definition at line 462 of file AccumulateStat.cpp.
References accumulateHistoFrame().
| double accumulateStatEM | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | emAcc, | ||
| SegCluster & | selectedSegments, | ||
| double & | weight, | ||
| Config & | config | ||
| ) |
Definition at line 144 of file AccumulateStat.cpp.
References accumulateStatEM(), and verbose.
| double accumulateStatEM | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | emAcc, | ||
| Seg * | seg, | ||
| Config & | config | ||
| ) |
Definition at line 117 of file AccumulateStat.cpp.
References accumulateStatEM().
| double accumulateStatEM | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | emAcc, | ||
| unsigned long | idxBeginFrame, | ||
| unsigned long | nbFrames, | ||
| Config & | config | ||
| ) |
Definition at line 104 of file AccumulateStat.cpp.
Referenced by accumulateStatEM(), accumulateStatEMUnThreaded(), adaptModel(), adaptModelEM(), crossValid(), energyDetector(), modelBasedadaptModel(), modelBasedadaptModelEM(), trainModel(), and trainModelStream().
| double accumulateStatEM | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | emAcc, | ||
| SegCluster & | selectedSegments, | ||
| Config & | config | ||
| ) |
Definition at line 132 of file AccumulateStat.cpp.
References accumulateStatEMUnThreaded().
| double accumulateStatEMUnThreaded | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | emAcc, | ||
| SegCluster & | selectedSegments, | ||
| Config & | config | ||
| ) |
Definition at line 122 of file AccumulateStat.cpp.
References accumulateStatEM().
Referenced by accumulateStatEM().
| void accumulateStatFrame | ( | FrameAcc & | frameAcc, |
| FeatureServer & | fs, | ||
| unsigned long | idxBeginFrame, | ||
| unsigned long | nbFrames, | ||
| Config & | config | ||
| ) |
Definition at line 378 of file AccumulateStat.cpp.
Referenced by accumulateStatFrame(), cms(), computeMeanCov(), computeWindowParam(), globalMeanCov(), infoFeat(), mixtureInit(), and normFeat().
| void accumulateStatFrame | ( | FrameAcc & | frameAcc, |
| FeatureServer & | fs, | ||
| Seg * | seg, | ||
| Config & | config | ||
| ) |
Definition at line 389 of file AccumulateStat.cpp.
References accumulateStatFrame().
| void accumulateStatFrame | ( | FrameAcc & | frameAcc, |
| FeatureServer & | fs, | ||
| SegCluster & | selectedSegments, | ||
| Config & | config | ||
| ) |
Definition at line 395 of file AccumulateStat.cpp.
References accumulateStatFrame().
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| SegCluster & | selectedSegments, | ||
| double & | weight, | ||
| Config & | config | ||
| ) |
Definition at line 362 of file AccumulateStat.cpp.
References accumulateStatLLK().
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| Seg * | seg, | ||
| Config & | config | ||
| ) |
Definition at line 83 of file AccumulateStat.cpp.
References accumulateStatLLK().
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| Seg * | seg, | ||
| double & | weight, | ||
| Config & | config | ||
| ) |
Definition at line 354 of file AccumulateStat.cpp.
References accumulateStatLLK().
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| unsigned long | idxBeginFrame, | ||
| unsigned long | nbFrames, | ||
| double & | weight, | ||
| Config & | config | ||
| ) |
Definition at line 335 of file AccumulateStat.cpp.
References debug.
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| unsigned long | idxBeginFrame, | ||
| unsigned long | nbFrames, | ||
| Config & | config | ||
| ) |
Definition at line 70 of file AccumulateStat.cpp.
References debug.
Referenced by accumulateStatLLK(), clrCrit(), gllrCrit(), and meanLikelihood().
| void accumulateStatLLK | ( | StatServer & | ss, |
| FeatureServer & | fs, | ||
| MixtureStat & | llkAcc, | ||
| SegCluster & | selectedSegments, | ||
| Config & | config | ||
| ) |
Definition at line 89 of file AccumulateStat.cpp.
References accumulateStatLLK().
| double areaHisto | ( | const Histo & | histo, |
| unsigned long | bin, | ||
| double | nonObserved | ||
| ) |
Definition at line 419 of file AccumulateStat.cpp.
References areaHisto().
| double areaHisto | ( | const Histo & | histo, |
| unsigned long | bin | ||
| ) |
Definition at line 415 of file AccumulateStat.cpp.
Referenced by areaHisto(), centralSpace(), main(), scoreWarping(), and warping().
| void computeHistoTab | ( | Histo * | histoT, |
| unsigned long | size | ||
| ) |
Definition at line 439 of file AccumulateStat.cpp.
Referenced by normFeat().
| void freezeHistoTab | ( | Histo *& | histoT ) |
Definition at line 429 of file AccumulateStat.cpp.
Referenced by normFeat().
| void initHistoTab | ( | Histo *& | histoT, |
| unsigned long | size, | ||
| unsigned long | nbBins | ||
| ) |
Definition at line 433 of file AccumulateStat.cpp.
Referenced by normFeat().
| double linearInterpolation | ( | double | val, |
| double | lower, | ||
| double | higher | ||
| ) |
Definition at line 423 of file AccumulateStat.cpp.
Referenced by scoreWarping(), and warping().
1.7.2