![]() |
aimsalgo 6.0.0
Neuroimaging image processing
|
#include <aims/math/ppca.h>

Public Member Functions | |
| ProbabilisticPcaElement (int nbOfSignificativeEV, double PIj=1.) | |
| virtual | ~ProbabilisticPcaElement () |
| template<class T> | |
| void | doIt (const carto::rc_ptr< carto::Volume< T > > &individuals, double distanceRef=0.) |
| template<class T> | |
| void | doIt (const std::list< Point3d > &selectedPoints, const carto::rc_ptr< carto::Volume< T > > &data, double distanceRef=0.) |
| void | setPIj (double PIj) |
| double | distance (const carto::rc_ptr< carto::Volume< double > > &individual) |
| double | posteriorProbability (const carto::rc_ptr< carto::Volume< double > > &individual, double pX) |
| double | lnPosteriorProbability (const carto::rc_ptr< carto::Volume< double > > &individual) |
| const carto::VolumeRef< double > & | mean () const |
| double | noiseVariance () const |
| template<class T> | |
| double | noiseVariance (const carto::rc_ptr< carto::Volume< T > > &individuals, double &normMean) const |
| double | meanNorm () |
| const carto::VolumeRef< double > & | eigenValues () |
| const carto::VolumeRef< double > & | selectedEigenVectors () |
| double | normFactor () const |
Protected Member Functions | |
| double | exponential (double x) |
Protected Attributes | |
| double | _distanceRef |
| bool | _computed |
| bool | _valid |
| int | _nbOfSignificantEV |
| double | _PIj |
| carto::VolumeRef< double > | _mean |
| double | _meanMean |
| double | _meanNorm |
| carto::VolumeRef< double > | _x |
| carto::VolumeRef< double > | _xT |
| carto::VolumeRef< double > | _Wi |
| carto::VolumeRef< double > | _invCi |
| carto::VolumeRef< double > | _EValues |
| carto::VolumeRef< double > | _EVect |
| double | _Sigma2 |
| double | _detCi |
| double | _normFactor |
| double | _lnAddFactor |
Static Protected Attributes | |
| static double * | _exp |
| aims::ProbabilisticPcaElement::ProbabilisticPcaElement | ( | int | nbOfSignificativeEV, |
| double | PIj = 1. ) |
|
inlinevirtual |
|
inline |
Definition at line 190 of file ppca.h.
References _computed, _distanceRef, _invCi, _mean, _valid, and distance().
Referenced by distance(), lnPosteriorProbability(), and posteriorProbability().
| void aims::ProbabilisticPcaElement::doIt | ( | const carto::rc_ptr< carto::Volume< T > > & | individuals, |
| double | distanceRef = 0. ) |
Definition at line 87 of file ppca_d.h.
References _computed, _detCi, _distanceRef, _EValues, _EVect, _invCi, _lnAddFactor, _mean, _nbOfSignificantEV, _normFactor, _PIj, _Sigma2, _valid, _Wi, _x, _xT, carto::VolumeRef< typename T >::at(), carto::VolumeRef< typename T >::deepcopy(), AimsSVD< T >::doit(), carto::VolumeRef< typename T >::getSizeX(), carto::VolumeRef< typename T >::getSizeY(), AimsSVD< T >::MatrixOfSingularValues, carto::VolumeRef< typename T >::max(), AimsSVD< T >::setReturnType(), AimsSVD< T >::sort(), and aims::transpose().
Referenced by doIt().
| void aims::ProbabilisticPcaElement::doIt | ( | const std::list< Point3d > & | selectedPoints, |
| const carto::rc_ptr< carto::Volume< T > > & | data, | ||
| double | distanceRef = 0. ) |
|
inline |
|
inlineprotected |
|
inline |
Definition at line 268 of file ppca.h.
References _computed, _distanceRef, _invCi, _lnAddFactor, _mean, _valid, distance(), and std::numeric_limits< typename _Tp >::max().
|
inline |
|
inline |
|
inline |
| double aims::ProbabilisticPcaElement::noiseVariance | ( | const carto::rc_ptr< carto::Volume< T > > & | individuals, |
| double & | normMean ) const |
Definition at line 348 of file ppca_d.h.
References _nbOfSignificantEV, carto::VolumeRef< typename T >::at(), AimsSVD< T >::doit(), carto::VolumeRef< typename T >::getSizeX(), AimsSVD< T >::MatrixOfSingularValues, mean(), meanNorm(), AimsSVD< T >::setReturnType(), and AimsSVD< T >::sort().
|
inline |
Definition at line 94 of file ppca.h.
References _normFactor.
|
inline |
Definition at line 228 of file ppca.h.
References _computed, _distanceRef, _exp, _invCi, _mean, _normFactor, _PIj, _valid, and distance().
|
inline |
|
inline |
|
protected |
Definition at line 107 of file ppca.h.
Referenced by distance(), doIt(), doIt(), lnPosteriorProbability(), posteriorProbability(), and setPIj().
|
protected |
|
protected |
Definition at line 106 of file ppca.h.
Referenced by distance(), doIt(), lnPosteriorProbability(), and posteriorProbability().
|
protected |
Definition at line 120 of file ppca.h.
Referenced by doIt(), and eigenValues().
|
protected |
Definition at line 121 of file ppca.h.
Referenced by doIt(), and selectedEigenVectors().
|
staticprotected |
Definition at line 97 of file ppca.h.
Referenced by exponential(), and posteriorProbability().
|
protected |
Definition at line 119 of file ppca.h.
Referenced by distance(), doIt(), lnPosteriorProbability(), and posteriorProbability().
|
protected |
Definition at line 126 of file ppca.h.
Referenced by doIt(), lnPosteriorProbability(), and setPIj().
|
protected |
Definition at line 112 of file ppca.h.
Referenced by distance(), doIt(), lnPosteriorProbability(), mean(), and posteriorProbability().
|
protected |
Definition at line 114 of file ppca.h.
Referenced by meanNorm().
|
protected |
Definition at line 109 of file ppca.h.
Referenced by doIt(), and noiseVariance().
|
protected |
Definition at line 125 of file ppca.h.
Referenced by doIt(), normFactor(), and posteriorProbability().
|
protected |
Definition at line 110 of file ppca.h.
Referenced by doIt(), posteriorProbability(), and setPIj().
|
protected |
Definition at line 122 of file ppca.h.
Referenced by doIt(), and noiseVariance().
|
protected |
Definition at line 108 of file ppca.h.
Referenced by distance(), doIt(), doIt(), lnPosteriorProbability(), and posteriorProbability().
|
protected |
|
protected |
|
protected |