CongealGroupPhasedOf< RECIPIE > Class Template Reference

#include <CongealGroupPhased.h>

List of all members.

Classes

struct  AlignInfo

Public Member Functions

 CongealGroupPhasedOf (RECIPIE *precipie)
void OptimizeSource (AlignInfo *pai)
void StatisticalPhasedCongeal (int cSamples, Real rThreshold=.001, int cIterations=1000, int nFirstIteration=0, int nLastIteration=-1)
 ~CongealGroupPhasedOf ()

Static Public Member Functions

static Real FastGaussian (const DATA &r, const DATA &rMean, Real &rSigma)
static void InitFastGaussian (Real &rSigma)
static Real MeasureFullInverseParzenProbabilityInPlace (const void *p)
static Real MeasureInverseParzenProbability (const Parameter *vparam, const Real &rErrMin, const void *p)
static Real MeasureInverseParzenProbabilityInPlace (const void *p)
static Real MeasureVariance (const Parameter *vparam, const Real &rErrMin, const void *p)
static Real MeasureVarianceInPlace (const void *p)
static Real Optimize_BruteForce (int cParams, Parameter **vpParams, Parameter *vSteps, Real fxnObjective(const void *), void *pObjectiveInfo, Real rStep)
static Real Optimize_GreedyRandomWalk (int cParams, Parameter **vpParams, Parameter *vSteps, Real fxnObjective(const void *), void *pObjectiveInfo, Real rStep)
static Real Optimize_OneGradientStep (int cParams, Parameter **vpParams, Parameter *vSteps, Real fxnObjective(const void *), void *pObjectiveInfo, Real rStep)
static void * OptimizeSource (void *p)
static void ParamsFromArray (RegistryOfParameters &reg, const Parameter *vparam)
static void ParamsToArray (Parameter *vparam, const RegistryOfParameters &reg)
static int SortPoints (const void *ppt1, const void *ppt2)

Static Public Attributes

static Real m_vrFastGaussian [FASTGAUSSIAN_TABLESIZE]

Private Types

typedef RECIPIE::type_data DATA
typedef PointOf
< DIMENSIONALITY, PRECISION
POINT
typedef RECIPIE::type_precision PRECISION
typedef CongealGroupPhasedOf
< RECIPIE > 
THIS_TYPE

Private Member Functions

void AllocateSampleSpace (int cSamples)
 RANGEPROMOTION (DATA)*m_vdataSumSq
 RANGEPROMOTION (DATA)*m_vdataSum
void SetUpRegistries ()

Private Attributes

pthread_barrier_t m_barrierDone
bool m_bDie
pthread_cond_t m_condReady
int m_cSamples
int m_cSources
DATAm_mdata
pthread_mutex_t m_mutexReady
RECIPIE * m_precipie
RegistryOfInitialSteps m_regSteps
Real m_rStep
AlignInfom_vai
Parameterm_vparam
POINTm_vpt
RegistryOfParametersm_vregParams
pthread_t * m_vthread

Static Private Attributes

static const int DIMENSIONALITY = RECIPIE::type_dimensionality
static long int m_cLookups

template<class RECIPIE>
class CongealGroupPhasedOf< RECIPIE >


Member Typedef Documentation

template<class RECIPIE>
typedef RECIPIE::type_data CongealGroupPhasedOf< RECIPIE >::DATA [private]
template<class RECIPIE>
typedef PointOf<DIMENSIONALITY, PRECISION> CongealGroupPhasedOf< RECIPIE >::POINT [private]
template<class RECIPIE>
typedef RECIPIE::type_precision CongealGroupPhasedOf< RECIPIE >::PRECISION [private]
template<class RECIPIE>
typedef CongealGroupPhasedOf<RECIPIE> CongealGroupPhasedOf< RECIPIE >::THIS_TYPE [private]

Constructor & Destructor Documentation

template<class RECIPIE>
CongealGroupPhasedOf< RECIPIE >::CongealGroupPhasedOf ( RECIPIE *  precipie  )  [inline]
template<class RECIPIE>
CongealGroupPhasedOf< RECIPIE >::~CongealGroupPhasedOf (  )  [inline]

Member Function Documentation

template<class RECIPIE>
void CongealGroupPhasedOf< RECIPIE >::AllocateSampleSpace ( int  cSamples  )  [inline, private]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::FastGaussian ( const DATA r,
const DATA rMean,
Real rSigma 
) [inline, static]
template<class RECIPIE>
static void CongealGroupPhasedOf< RECIPIE >::InitFastGaussian ( Real rSigma  )  [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::MeasureFullInverseParzenProbabilityInPlace ( const void *  p  )  [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::MeasureInverseParzenProbability ( const Parameter vparam,
const Real rErrMin,
const void *  p 
) [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::MeasureInverseParzenProbabilityInPlace ( const void *  p  )  [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::MeasureVariance ( const Parameter vparam,
const Real rErrMin,
const void *  p 
) [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::MeasureVarianceInPlace ( const void *  p  )  [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::Optimize_BruteForce ( int  cParams,
Parameter **  vpParams,
Parameter vSteps,
Real   fxnObjectiveconst void *,
void *  pObjectiveInfo,
Real  rStep 
) [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::Optimize_GreedyRandomWalk ( int  cParams,
Parameter **  vpParams,
Parameter vSteps,
Real   fxnObjectiveconst void *,
void *  pObjectiveInfo,
Real  rStep 
) [inline, static]
template<class RECIPIE>
static Real CongealGroupPhasedOf< RECIPIE >::Optimize_OneGradientStep ( int  cParams,
Parameter **  vpParams,
Parameter vSteps,
Real   fxnObjectiveconst void *,
void *  pObjectiveInfo,
Real  rStep 
) [inline, static]
template<class RECIPIE>
void CongealGroupPhasedOf< RECIPIE >::OptimizeSource ( AlignInfo pai  )  [inline]
template<class RECIPIE>
static void* CongealGroupPhasedOf< RECIPIE >::OptimizeSource ( void *  p  )  [inline, static]
template<class RECIPIE>
static void CongealGroupPhasedOf< RECIPIE >::ParamsFromArray ( RegistryOfParameters reg,
const Parameter vparam 
) [inline, static]
template<class RECIPIE>
static void CongealGroupPhasedOf< RECIPIE >::ParamsToArray ( Parameter vparam,
const RegistryOfParameters reg 
) [inline, static]
template<class RECIPIE>
CongealGroupPhasedOf< RECIPIE >::RANGEPROMOTION ( DATA   )  [private]
template<class RECIPIE>
CongealGroupPhasedOf< RECIPIE >::RANGEPROMOTION ( DATA   )  [private]
template<class RECIPIE>
void CongealGroupPhasedOf< RECIPIE >::SetUpRegistries (  )  [inline, private]
template<class RECIPIE>
static int CongealGroupPhasedOf< RECIPIE >::SortPoints ( const void *  ppt1,
const void *  ppt2 
) [inline, static]
template<class RECIPIE>
void CongealGroupPhasedOf< RECIPIE >::StatisticalPhasedCongeal ( int  cSamples,
Real  rThreshold = .001,
int  cIterations = 1000,
int  nFirstIteration = 0,
int  nLastIteration = -1 
) [inline]

Member Data Documentation

template<class RECIPIE>
const int CongealGroupPhasedOf< RECIPIE >::DIMENSIONALITY = RECIPIE::type_dimensionality [static, private]
template<class RECIPIE>
pthread_barrier_t CongealGroupPhasedOf< RECIPIE >::m_barrierDone [private]
template<class RECIPIE>
bool CongealGroupPhasedOf< RECIPIE >::m_bDie [private]
template<class RECIPIE>
long int CongealGroupPhasedOf< RECIPIE >::m_cLookups [inline, static, private]
template<class RECIPIE>
pthread_cond_t CongealGroupPhasedOf< RECIPIE >::m_condReady [private]
template<class RECIPIE>
int CongealGroupPhasedOf< RECIPIE >::m_cSamples [private]
template<class RECIPIE>
int CongealGroupPhasedOf< RECIPIE >::m_cSources [private]
template<class RECIPIE>
DATA* CongealGroupPhasedOf< RECIPIE >::m_mdata [private]
template<class RECIPIE>
pthread_mutex_t CongealGroupPhasedOf< RECIPIE >::m_mutexReady [private]
template<class RECIPIE>
RECIPIE* CongealGroupPhasedOf< RECIPIE >::m_precipie [private]
template<class RECIPIE>
RegistryOfInitialSteps CongealGroupPhasedOf< RECIPIE >::m_regSteps [private]
template<class RECIPIE>
Real CongealGroupPhasedOf< RECIPIE >::m_rStep [private]
template<class RECIPIE>
AlignInfo* CongealGroupPhasedOf< RECIPIE >::m_vai [private]
template<class RECIPIE>
Parameter* CongealGroupPhasedOf< RECIPIE >::m_vparam [private]
template<class RECIPIE>
POINT* CongealGroupPhasedOf< RECIPIE >::m_vpt [private]
template<class RECIPIE>
RegistryOfParameters* CongealGroupPhasedOf< RECIPIE >::m_vregParams [private]
template<class RECIPIE>
Real CongealGroupPhasedOf< RECIPIE >::m_vrFastGaussian [inline, static]
template<class RECIPIE>
pthread_t* CongealGroupPhasedOf< RECIPIE >::m_vthread [private]

The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1