primatologist-gpl
5.1.2
|
Namespaces | |
internal | |
Functions | |
template<typename ProbaType > | |
void | prepare (carto::VolumeRef< ProbaType > &proba, carto::VolumeRef< ProbaType > &nbprior, std::vector< int > &labels, std::map< int, int > &indices, const std::vector< int > &ignore, int nclass=0) |
template<typename ProbaType > | |
void | addProbaCatch (carto::VolumeRef< ProbaType > &proba, carto::VolumeRef< ProbaType > &nbprior, double probacatch=1.) |
double | gauss (double x, double mu, double sigma) |
double | normal (double x, double mu, double sigma) |
double | attenuate (double proba, float alpha, int n) |
template<typename P , typename M > | |
carto::VolumeRef< P > & | attenuate (carto::VolumeRef< P > &proba, float alpha, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > & | attenuate (carto::VolumeRef< P > &proba, float alpha) |
template<typename P , typename M > | |
carto::VolumeRef< P > | newAttenuate (const carto::VolumeRef< P > &proba, float alpha, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > | newAttenuate (const carto::VolumeRef< P > &proba, float alpha) |
template<typename P , typename M > | |
carto::VolumeRef< P > & | attenuateZ (carto::VolumeRef< P > &proba, float alpha, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > & | attenuateZ (carto::VolumeRef< P > &proba, float alpha) |
template<typename P , typename M > | |
carto::VolumeRef< P > | newAttenuateZ (const carto::VolumeRef< P > &proba, float alpha, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > | newAttenuateZ (const carto::VolumeRef< P > &proba, float alpha) |
template<typename P , typename M > | |
carto::VolumeRef< P > & | normalize (carto::VolumeRef< P > &proba, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > & | normalize (carto::VolumeRef< P > &proba) |
template<typename P , typename M > | |
carto::VolumeRef< P > | newNormalize (const carto::VolumeRef< P > &proba, const carto::VolumeRef< M > &mask) |
template<typename P > | |
carto::VolumeRef< P > | newNormalize (const carto::VolumeRef< P > &proba) |
template<typename P , typename I , typename M , typename Distrib > | |
carto::VolumeRef< P > & | pdf (const std::vector< Distrib > ¶m, const carto::VolumeRef< I > &values, carto::VolumeRef< P > &output, const carto::VolumeRef< M > &mask) |
template<typename P , typename I , typename Distrib > | |
carto::VolumeRef< P > & | pdf (const std::vector< Distrib > ¶m, const carto::VolumeRef< I > &values, carto::VolumeRef< P > &output) |
template<typename P , typename I , typename M , typename Distrib > | |
carto::VolumeRef< P > | newPdf (const std::vector< Distrib > ¶m, const carto::VolumeRef< I > &values, const carto::VolumeRef< M > &mask) |
template<typename P , typename I , typename Distrib > | |
carto::VolumeRef< P > | newPdf (const std::vector< Distrib > ¶m, const carto::VolumeRef< I > &values) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > & | bayes (const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, carto::VolumeRef< OP > &output, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > & | bayes (const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, carto::VolumeRef< OP > &output) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > | newBayes (const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > | newBayes (const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > & | bayes (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< OP > &output, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > & | bayes (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< OP > &output) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > | newBayes (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > | newBayes (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > & | robustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, carto::VolumeRef< OP > &output, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > & | robustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, carto::VolumeRef< OP > &output) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > | newRobustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > | newRobustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const std::vector< P2 > &prior) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > & | robustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< OP > &output, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > & | robustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< OP > &output) |
template<typename OP , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< OP > | newRobustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename OP , typename P1 , typename P2 > | |
carto::VolumeRef< OP > | newRobustBayes (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior) |
template<typename C , typename P , typename M > | |
carto::VolumeRef< C > & | maximumLikelihood (const carto::VolumeRef< P > &proba, carto::VolumeRef< C > &output, const carto::VolumeRef< M > &mask) |
template<typename C , typename P > | |
carto::VolumeRef< C > & | maximumLikelihood (const carto::VolumeRef< P > &proba, carto::VolumeRef< C > &output) |
template<typename C , typename P , typename M > | |
carto::VolumeRef< C > | newMaximumLikelihood (const carto::VolumeRef< P > &proba, const carto::VolumeRef< M > &mask) |
template<typename C , typename P > | |
carto::VolumeRef< C > | newMaximumLikelihood (const carto::VolumeRef< P > &proba) |
template<typename C , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< C > & | maximumAPosteriori (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< C > &output, const carto::VolumeRef< M > &mask) |
template<typename C , typename P1 , typename P2 > | |
carto::VolumeRef< C > & | maximumAPosteriori (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< C > &output) |
template<typename C , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< C > | newMaximumAPosteriori (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename C , typename P1 , typename P2 > | |
carto::VolumeRef< C > | newMaximumAPosteriori (const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior) |
template<typename C , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< C > & | robustMaximumAPosteriori (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< C > &output, const carto::VolumeRef< M > &mask) |
template<typename C , typename P1 , typename P2 > | |
carto::VolumeRef< C > & | robustMaximumAPosteriori (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, carto::VolumeRef< C > &output) |
template<typename C , typename P1 , typename P2 , typename M > | |
carto::VolumeRef< C > | newRobustMaximumAPosteriori (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior, const carto::VolumeRef< M > &mask) |
template<typename C , typename P1 , typename P2 > | |
carto::VolumeRef< C > | newRobustMaximumAPosteriori (int n_best, const carto::VolumeRef< P1 > &conditional, const carto::VolumeRef< P2 > &prior) |
template<typename P , typename M > | |
double | logLikelihoodSum (const carto::VolumeRef< P > &conditional, const carto::VolumeRef< M > &mask) |
template<typename P > | |
double | logLikelihoodSum (const carto::VolumeRef< P > &proba) |
void aims::proba::addProbaCatch | ( | carto::VolumeRef< ProbaType > & | proba, |
carto::VolumeRef< ProbaType > & | nbprior, | ||
double | probacatch = 1. |
||
) |
Definition at line 148 of file labels.h.
References normalize(), and aims::vol::sum().
carto::VolumeRef< P > & aims::proba::attenuate | ( | carto::VolumeRef< P > & | proba, |
float | alpha | ||
) |
Definition at line 64 of file proba_d.h.
References attenuate().
carto::VolumeRef< P > & aims::proba::attenuate | ( | carto::VolumeRef< P > & | proba, |
float | alpha, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 45 of file proba_d.h.
References attenuate().
double aims::proba::attenuate | ( | double | proba, |
float | alpha, | ||
int | n | ||
) |
Definition at line 33 of file proba_d.h.
Referenced by attenuate(), and newAttenuate().
carto::VolumeRef< P > & aims::proba::attenuateZ | ( | carto::VolumeRef< P > & | proba, |
float | alpha | ||
) |
Definition at line 122 of file proba_d.h.
References attenuateZ().
carto::VolumeRef< P > & aims::proba::attenuateZ | ( | carto::VolumeRef< P > & | proba, |
float | alpha, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 91 of file proba_d.h.
References aims::vol::sum().
Referenced by attenuateZ(), and newAttenuateZ().
carto::VolumeRef< OP > & aims::proba::bayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output | ||
) |
carto::VolumeRef< OP > & aims::proba::bayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 312 of file proba_d.h.
References normalize(), and aims::vol::sum().
carto::VolumeRef< OP > & aims::proba::bayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const std::vector< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output | ||
) |
carto::VolumeRef< OP > & aims::proba::bayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const std::vector< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 256 of file proba_d.h.
References normalize(), and aims::vol::sum().
Referenced by bayes(), and newBayes().
double aims::proba::gauss | ( | double | x, |
double | mu, | ||
double | sigma | ||
) |
double aims::proba::logLikelihoodSum | ( | const carto::VolumeRef< P > & | conditional, |
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 720 of file proba_d.h.
References aims::vol::sum().
Referenced by logLikelihoodSum().
double aims::proba::logLikelihoodSum | ( | const carto::VolumeRef< P > & | proba | ) |
Definition at line 742 of file proba_d.h.
References logLikelihoodSum().
carto::VolumeRef< C > & aims::proba::maximumAPosteriori | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< C > & | output | ||
) |
Definition at line 614 of file proba_d.h.
References maximumAPosteriori().
carto::VolumeRef< C > & aims::proba::maximumAPosteriori | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< C > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 578 of file proba_d.h.
References max().
Referenced by maximumAPosteriori(), and newMaximumAPosteriori().
carto::VolumeRef< C > & aims::proba::maximumLikelihood | ( | const carto::VolumeRef< P > & | proba, |
carto::VolumeRef< C > & | output | ||
) |
Definition at line 551 of file proba_d.h.
References maximumLikelihood().
carto::VolumeRef< C > & aims::proba::maximumLikelihood | ( | const carto::VolumeRef< P > & | proba, |
carto::VolumeRef< C > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 523 of file proba_d.h.
References max().
Referenced by maximumLikelihood(), and newMaximumLikelihood().
carto::VolumeRef< P > aims::proba::newAttenuate | ( | const carto::VolumeRef< P > & | proba, |
float | alpha | ||
) |
Definition at line 82 of file proba_d.h.
References attenuate().
carto::VolumeRef< P > aims::proba::newAttenuate | ( | const carto::VolumeRef< P > & | proba, |
float | alpha, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 71 of file proba_d.h.
References attenuate().
carto::VolumeRef< P > aims::proba::newAttenuateZ | ( | const carto::VolumeRef< P > & | proba, |
float | alpha | ||
) |
Definition at line 140 of file proba_d.h.
References attenuateZ().
carto::VolumeRef< P > aims::proba::newAttenuateZ | ( | const carto::VolumeRef< P > & | proba, |
float | alpha, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 129 of file proba_d.h.
References attenuateZ().
carto::VolumeRef< OP > aims::proba::newBayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior | ||
) |
carto::VolumeRef< OP > aims::proba::newBayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
carto::VolumeRef< OP > aims::proba::newBayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const std::vector< P2 > & | prior | ||
) |
carto::VolumeRef< OP > aims::proba::newBayes | ( | const carto::VolumeRef< P1 > & | conditional, |
const std::vector< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
carto::VolumeRef< C > aims::proba::newMaximumAPosteriori | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior | ||
) |
carto::VolumeRef< C > aims::proba::newMaximumAPosteriori | ( | const carto::VolumeRef< P1 > & | conditional, |
const carto::VolumeRef< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 623 of file proba_d.h.
References maximumAPosteriori().
carto::VolumeRef< C > aims::proba::newMaximumLikelihood | ( | const carto::VolumeRef< P > & | proba | ) |
carto::VolumeRef< C > aims::proba::newMaximumLikelihood | ( | const carto::VolumeRef< P > & | proba, |
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 559 of file proba_d.h.
References maximumLikelihood().
carto::VolumeRef< P > aims::proba::newNormalize | ( | const carto::VolumeRef< P > & | proba | ) |
Definition at line 193 of file proba_d.h.
References normalize().
carto::VolumeRef< P > aims::proba::newNormalize | ( | const carto::VolumeRef< P > & | proba, |
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 183 of file proba_d.h.
References normalize().
carto::VolumeRef< P > aims::proba::newPdf | ( | const std::vector< Distrib > & | param, |
const carto::VolumeRef< I > & | values | ||
) |
carto::VolumeRef< P > aims::proba::newPdf | ( | const std::vector< Distrib > & | param, |
const carto::VolumeRef< I > & | values, | ||
const carto::VolumeRef< M > & | mask | ||
) |
carto::VolumeRef< OP > aims::proba::newRobustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior | ||
) |
carto::VolumeRef< OP > aims::proba::newRobustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 500 of file proba_d.h.
References robustBayes().
carto::VolumeRef< OP > aims::proba::newRobustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const std::vector< P2 > & | prior | ||
) |
carto::VolumeRef< OP > aims::proba::newRobustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const std::vector< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 429 of file proba_d.h.
References robustBayes().
carto::VolumeRef< C > aims::proba::newRobustMaximumAPosteriori | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior | ||
) |
carto::VolumeRef< C > aims::proba::newRobustMaximumAPosteriori | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 697 of file proba_d.h.
References robustMaximumAPosteriori().
double aims::proba::normal | ( | double | x, |
double | mu, | ||
double | sigma | ||
) |
carto::VolumeRef< P > & aims::proba::normalize | ( | carto::VolumeRef< P > & | proba | ) |
Definition at line 176 of file proba_d.h.
References normalize().
carto::VolumeRef< P > & aims::proba::normalize | ( | carto::VolumeRef< P > & | proba, |
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 151 of file proba_d.h.
References aims::vol::sum().
Referenced by addProbaCatch(), bayes(), newNormalize(), normalize(), and robustBayes().
carto::VolumeRef< P > & aims::proba::pdf | ( | const std::vector< Distrib > & | param, |
const carto::VolumeRef< I > & | values, | ||
carto::VolumeRef< P > & | output | ||
) |
carto::VolumeRef< P > & aims::proba::pdf | ( | const std::vector< Distrib > & | param, |
const carto::VolumeRef< I > & | values, | ||
carto::VolumeRef< P > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
void aims::proba::prepare | ( | carto::VolumeRef< ProbaType > & | proba, |
carto::VolumeRef< ProbaType > & | nbprior, | ||
std::vector< int > & | labels, | ||
std::map< int, int > & | indices, | ||
const std::vector< int > & | ignore, | ||
int | nclass = 0 |
||
) |
Definition at line 27 of file labels.h.
References aims::vol::sum(), and aims::proba::internal::TO_REMOVE.
carto::VolumeRef< OP > & aims::proba::robustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output | ||
) |
Definition at line 490 of file proba_d.h.
References robustBayes().
carto::VolumeRef< OP > & aims::proba::robustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 452 of file proba_d.h.
References normalize(), and aims::vol::sum().
carto::VolumeRef< OP > & aims::proba::robustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const std::vector< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output | ||
) |
Definition at line 419 of file proba_d.h.
References robustBayes().
carto::VolumeRef< OP > & aims::proba::robustBayes | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const std::vector< P2 > & | prior, | ||
carto::VolumeRef< OP > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 384 of file proba_d.h.
References normalize(), and aims::vol::sum().
Referenced by newRobustBayes(), and robustBayes().
carto::VolumeRef< C > & aims::proba::robustMaximumAPosteriori | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< C > & | output | ||
) |
Definition at line 687 of file proba_d.h.
References robustMaximumAPosteriori().
carto::VolumeRef< C > & aims::proba::robustMaximumAPosteriori | ( | int | n_best, |
const carto::VolumeRef< P1 > & | conditional, | ||
const carto::VolumeRef< P2 > & | prior, | ||
carto::VolumeRef< C > & | output, | ||
const carto::VolumeRef< M > & | mask | ||
) |
Definition at line 644 of file proba_d.h.
References max().
Referenced by newRobustMaximumAPosteriori(), and robustMaximumAPosteriori().