![]() |
aimsalgo
5.1.2
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 |
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< class >::at(), carto::VolumeRef< class >::deepcopy(), AimsSVD< T >::doit(), carto::VolumeRef< class >::getSizeT(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), carto::VolumeRef< class >::getSizeZ(), matrix_product(), carto::VolumeRef< class >::max(), AimsSVD< T >::setReturnType(), AimsSVD< T >::sort(), and aims::transpose().
Referenced by doIt(), and aims::ProbabilisticPca< T >::ProbabilisticPca().
void aims::ProbabilisticPcaElement::doIt | ( | const std::list< Point3d > & | selectedPoints, |
const carto::rc_ptr< carto::Volume< T > > & | data, | ||
double | distanceRef = 0. |
||
) |
|
inline |
Definition at line 91 of file ppca.h.
References _EValues.
Referenced by aims::ProbabilisticPca< T >::ProbabilisticPca().
|
inlineprotected |
|
inline |
Definition at line 268 of file ppca.h.
References std::numeric_limits< class >::max(), and sum().
|
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< class >::at(), AimsSVD< T >::doit(), carto::VolumeRef< class >::getSizeX(), mean(), meanNorm(), AimsSVD< T >::setReturnType(), and AimsSVD< T >::sort().
|
inline |
Definition at line 94 of file ppca.h.
References _normFactor.
Referenced by aims::ProbabilisticPca< T >::ProbabilisticPca().
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 107 of file ppca.h.
Referenced by distance(), doIt(), and setPIj().
|
protected |
|
protected |
Definition at line 106 of file ppca.h.
Referenced by distance(), and doIt().
|
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().
|
protected |
Definition at line 119 of file ppca.h.
Referenced by distance(), and doIt().
|
protected |
|
protected |
Definition at line 112 of file ppca.h.
Referenced by distance(), doIt(), and mean().
|
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(), and normFactor().
|
protected |
|
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(), and doIt().
|
protected |
|
protected |
|
protected |