primatologist-gpl 6.0.4
aims::proba Namespace Reference

Namespaces

namespace  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 > &param, 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 > &param, 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 > &param, 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 > &param, 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)
 

Function Documentation

◆ addProbaCatch()

template<typename ProbaType>
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().

◆ attenuate() [1/3]

template<typename P>
carto::VolumeRef< P > & aims::proba::attenuate ( carto::VolumeRef< P > & proba,
float alpha )

Definition at line 64 of file proba_d.h.

References attenuate(), and aims::vol::empty().

◆ attenuate() [2/3]

template<typename P, typename M>
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().

◆ attenuate() [3/3]

double aims::proba::attenuate ( double proba,
float alpha,
int n )

Definition at line 33 of file proba_d.h.

Referenced by attenuate(), attenuate(), newAttenuate(), and newAttenuate().

◆ attenuateZ() [1/2]

template<typename P>
carto::VolumeRef< P > & aims::proba::attenuateZ ( carto::VolumeRef< P > & proba,
float alpha )

Definition at line 122 of file proba_d.h.

References attenuateZ(), and aims::vol::empty().

◆ attenuateZ() [2/2]

template<typename P, typename M>
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.

Referenced by attenuateZ(), newAttenuateZ(), and newAttenuateZ().

◆ bayes() [1/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > & aims::proba::bayes ( const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior,
carto::VolumeRef< OP > & output )

Definition at line 341 of file proba_d.h.

References bayes(), and aims::vol::empty().

◆ bayes() [2/4]

template<typename OP, typename P1, typename P2, typename M>
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().

◆ bayes() [3/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > & aims::proba::bayes ( const carto::VolumeRef< P1 > & conditional,
const std::vector< P2 > & prior,
carto::VolumeRef< OP > & output )

Definition at line 282 of file proba_d.h.

References bayes(), and aims::vol::empty().

◆ bayes() [4/4]

template<typename OP, typename P1, typename P2, typename M>
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().

Referenced by bayes(), bayes(), newBayes(), and newBayes().

◆ gauss()

double aims::proba::gauss ( double x,
double mu,
double sigma )

◆ logLikelihoodSum() [1/2]

template<typename P, typename M>
double aims::proba::logLikelihoodSum ( const carto::VolumeRef< P > & conditional,
const carto::VolumeRef< M > & mask )

Definition at line 720 of file proba_d.h.

Referenced by logLikelihoodSum().

◆ logLikelihoodSum() [2/2]

template<typename P>
double aims::proba::logLikelihoodSum ( const carto::VolumeRef< P > & proba)

Definition at line 742 of file proba_d.h.

References aims::vol::empty(), and logLikelihoodSum().

◆ maximumAPosteriori() [1/2]

template<typename C, typename P1, typename P2>
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 aims::vol::empty(), and maximumAPosteriori().

◆ maximumAPosteriori() [2/2]

template<typename C, typename P1, typename P2, typename M>
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.

Referenced by maximumAPosteriori(), and newMaximumAPosteriori().

◆ maximumLikelihood() [1/2]

template<typename C, typename P>
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 aims::vol::empty(), and maximumLikelihood().

◆ maximumLikelihood() [2/2]

template<typename C, typename P, typename M>
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.

Referenced by maximumLikelihood(), and newMaximumLikelihood().

◆ newAttenuate() [1/2]

template<typename P>
carto::VolumeRef< P > aims::proba::newAttenuate ( const carto::VolumeRef< P > & proba,
float alpha )

Definition at line 82 of file proba_d.h.

References attenuate().

◆ newAttenuate() [2/2]

template<typename P, typename M>
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().

◆ newAttenuateZ() [1/2]

template<typename P>
carto::VolumeRef< P > aims::proba::newAttenuateZ ( const carto::VolumeRef< P > & proba,
float alpha )

Definition at line 140 of file proba_d.h.

References attenuateZ().

◆ newAttenuateZ() [2/2]

template<typename P, typename M>
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().

◆ newBayes() [1/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > aims::proba::newBayes ( const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior )

Definition at line 361 of file proba_d.h.

References aims::vol::empty(), and newBayes().

◆ newBayes() [2/4]

template<typename OP, typename P1, typename P2, typename M>
carto::VolumeRef< OP > aims::proba::newBayes ( const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior,
const carto::VolumeRef< M > & mask )

Definition at line 350 of file proba_d.h.

References bayes().

◆ newBayes() [3/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > aims::proba::newBayes ( const carto::VolumeRef< P1 > & conditional,
const std::vector< P2 > & prior )

Definition at line 302 of file proba_d.h.

References aims::vol::empty(), and newBayes().

◆ newBayes() [4/4]

template<typename OP, typename P1, typename P2, typename M>
carto::VolumeRef< OP > aims::proba::newBayes ( const carto::VolumeRef< P1 > & conditional,
const std::vector< P2 > & prior,
const carto::VolumeRef< M > & mask )

Definition at line 291 of file proba_d.h.

References bayes().

Referenced by newBayes(), and newBayes().

◆ newMaximumAPosteriori() [1/2]

template<typename C, typename P1, typename P2>
carto::VolumeRef< C > aims::proba::newMaximumAPosteriori ( const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior )

Definition at line 634 of file proba_d.h.

References aims::vol::empty(), and newMaximumAPosteriori().

◆ newMaximumAPosteriori() [2/2]

template<typename C, typename P1, typename P2, typename M>
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().

Referenced by newMaximumAPosteriori().

◆ newMaximumLikelihood() [1/2]

template<typename C, typename P>
carto::VolumeRef< C > aims::proba::newMaximumLikelihood ( const carto::VolumeRef< P > & proba)

Definition at line 569 of file proba_d.h.

References aims::vol::empty(), and newMaximumLikelihood().

◆ newMaximumLikelihood() [2/2]

template<typename C, typename P, typename M>
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().

Referenced by newMaximumLikelihood().

◆ newNormalize() [1/2]

template<typename P>
carto::VolumeRef< P > aims::proba::newNormalize ( const carto::VolumeRef< P > & proba)

Definition at line 193 of file proba_d.h.

References normalize().

◆ newNormalize() [2/2]

template<typename P, typename M>
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().

◆ newPdf() [1/2]

template<typename P, typename I, typename Distrib>
carto::VolumeRef< P > aims::proba::newPdf ( const std::vector< Distrib > & param,
const carto::VolumeRef< I > & values )

Definition at line 246 of file proba_d.h.

References aims::vol::empty(), and newPdf().

◆ newPdf() [2/2]

template<typename P, typename I, typename M, typename Distrib>
carto::VolumeRef< P > aims::proba::newPdf ( const std::vector< Distrib > & param,
const carto::VolumeRef< I > & values,
const carto::VolumeRef< M > & mask )

Definition at line 234 of file proba_d.h.

References pdf().

Referenced by newPdf().

◆ newRobustBayes() [1/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > aims::proba::newRobustBayes ( int n_best,
const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior )

Definition at line 512 of file proba_d.h.

References aims::vol::empty(), and newRobustBayes().

◆ newRobustBayes() [2/4]

template<typename OP, typename P1, typename P2, typename M>
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().

◆ newRobustBayes() [3/4]

template<typename OP, typename P1, typename P2>
carto::VolumeRef< OP > aims::proba::newRobustBayes ( int n_best,
const carto::VolumeRef< P1 > & conditional,
const std::vector< P2 > & prior )

Definition at line 441 of file proba_d.h.

References aims::vol::empty(), and newRobustBayes().

◆ newRobustBayes() [4/4]

template<typename OP, typename P1, typename P2, typename M>
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().

Referenced by newRobustBayes(), and newRobustBayes().

◆ newRobustMaximumAPosteriori() [1/2]

template<typename C, typename P1, typename P2>
carto::VolumeRef< C > aims::proba::newRobustMaximumAPosteriori ( int n_best,
const carto::VolumeRef< P1 > & conditional,
const carto::VolumeRef< P2 > & prior )

Definition at line 709 of file proba_d.h.

References aims::vol::empty(), and newRobustMaximumAPosteriori().

◆ newRobustMaximumAPosteriori() [2/2]

template<typename C, typename P1, typename P2, typename M>
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().

Referenced by newRobustMaximumAPosteriori().

◆ normal()

double aims::proba::normal ( double x,
double mu,
double sigma )

◆ normalize() [1/2]

template<typename P>
carto::VolumeRef< P > & aims::proba::normalize ( carto::VolumeRef< P > & proba)

Definition at line 176 of file proba_d.h.

References aims::vol::empty(), and normalize().

◆ normalize() [2/2]

template<typename P, typename M>
carto::VolumeRef< P > & aims::proba::normalize ( carto::VolumeRef< P > & proba,
const carto::VolumeRef< M > & mask )

◆ pdf() [1/2]

template<typename P, typename I, typename Distrib>
carto::VolumeRef< P > & aims::proba::pdf ( const std::vector< Distrib > & param,
const carto::VolumeRef< I > & values,
carto::VolumeRef< P > & output )

Definition at line 225 of file proba_d.h.

References aims::vol::empty(), and pdf().

◆ pdf() [2/2]

template<typename P, typename I, typename M, typename Distrib>
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 )

Definition at line 205 of file proba_d.h.

References pdf().

Referenced by newPdf(), pdf(), and pdf().

◆ prepare()

template<typename ProbaType>
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::proba::internal::TO_REMOVE.

◆ robustBayes() [1/4]

template<typename OP, typename P1, typename P2>
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 aims::vol::empty(), and robustBayes().

◆ robustBayes() [2/4]

template<typename OP, typename P1, typename P2, typename M>
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().

◆ robustBayes() [3/4]

template<typename OP, typename P1, typename P2>
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 aims::vol::empty(), and robustBayes().

◆ robustBayes() [4/4]

template<typename OP, typename P1, typename P2, typename M>
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().

Referenced by newRobustBayes(), newRobustBayes(), robustBayes(), and robustBayes().

◆ robustMaximumAPosteriori() [1/2]

template<typename C, typename P1, typename P2>
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 aims::vol::empty(), and robustMaximumAPosteriori().

◆ robustMaximumAPosteriori() [2/2]

template<typename C, typename P1, typename P2, typename M>
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.

Referenced by newRobustMaximumAPosteriori(), and robustMaximumAPosteriori().