src/ten/estimate.c File Reference

#include "ten.h"
#include "privateTen.h"

Include dependency graph for estimate.c:


Enumerations

enum  {
  flagUnknown, flagEstimateMethod, flagBInfo, flagAllNum,
  flagDwiNum, flagAllAlloc, flagDwiAlloc, flagAllSet,
  flagDwiSet, flagSkipSet, flagWght, flagEmat,
  flagLast
}

Functions

int _tenGaussian (double *retP, double m, double t, double s)
int _tenRicianTrue (double *retP, double m, double t, double s)
int _tenRicianSafe (double *retP, double m, double t, double s)
int _tenRician (double *retP, double m, double t, double s)
void _tenEstimateOutputInit (tenEstimateContext *tec)
tenEstimateContexttenEstimateContextNew ()
tenEstimateContexttenEstimateContextNix (tenEstimateContext *tec)
void tenEstimateVerboseSet (tenEstimateContext *tec, int verbose)
void tenEstimateNegEvalShiftSet (tenEstimateContext *tec, int doit)
int tenEstimateMethodSet (tenEstimateContext *tec, int estimateMethod)
int tenEstimateSigmaSet (tenEstimateContext *tec, double sigma)
int tenEstimateValueMinSet (tenEstimateContext *tec, double valueMin)
int tenEstimateGradientsSet (tenEstimateContext *tec, const Nrrd *ngrad, double bValue, int estimateB0)
int tenEstimateBMatricesSet (tenEstimateContext *tec, const Nrrd *nbmat, double bValue, int estimateB0)
int tenEstimateSkipSet (tenEstimateContext *tec, unsigned int valIdx, int doSkip)
int tenEstimateSkipReset (tenEstimateContext *tec)
int tenEstimateThresholdSet (tenEstimateContext *tec, double thresh, double soft)
int _tenEstimateCheck (tenEstimateContext *tec)
int _tenEstimateNumUpdate (tenEstimateContext *tec)
int _tenEstimateAllAllocUpdate (tenEstimateContext *tec)
int _tenEstimateDwiAllocUpdate (tenEstimateContext *tec)
int _tenEstimateAllSetUpdate (tenEstimateContext *tec)
int _tenEstimateDwiSetUpdate (tenEstimateContext *tec)
int _tenEstimateWghtUpdate (tenEstimateContext *tec)
int _tenEstimateEmatUpdate (tenEstimateContext *tec)
int tenEstimateUpdate (tenEstimateContext *tec)
void _tenEstimateValuesSet (tenEstimateContext *tec)
double _tenEstimateErrorDwi (tenEstimateContext *tec)
double _tenEstimateErrorLogDwi (tenEstimateContext *tec)
int _tenEstimate1TensorSimulateSingle (tenEstimateContext *tec, double sigma, double bValue, double B0, const double ten[7])
int tenEstimate1TensorSimulateSingle_f (tenEstimateContext *tec, float *simval, float sigma, float bValue, float B0, const float _ten[7])
int tenEstimate1TensorSimulateSingle_d (tenEstimateContext *tec, double *simval, double sigma, double bValue, double B0, const double ten[7])
int tenEstimate1TensorSimulateVolume (tenEstimateContext *tec, Nrrd *ndwi, double sigma, double bValue, const Nrrd *nB0, const Nrrd *nten, int outType, int keyValueSet)
int _tenEstimate1Tensor_LLS (tenEstimateContext *tec)
int _tenEstimate1Tensor_WLS (tenEstimateContext *tec)
int _tenEstimate1TensorGradient (tenEstimateContext *tec, double *gradB0P, double gradTen[7], double B0, double ten[7], double epsilon, int(*gradientCB)(tenEstimateContext *tec, double *gradB0P, double gTen[7], double B0, double ten[7]), int(*badnessCB)(tenEstimateContext *tec, double *badP, double B0, double ten[7]))
int _tenEstimate1TensorDescent (tenEstimateContext *tec, int(*gradientCB)(tenEstimateContext *tec, double *gradB0, double gradTen[7], double B0, double ten[7]), int(*badnessCB)(tenEstimateContext *tec, double *badP, double B0, double ten[7]))
int _tenEstimate1Tensor_GradientNLS (tenEstimateContext *tec, double *gradB0P, double gradTen[7], double currB0, double currTen[7])
int _tenEstimate1Tensor_BadnessNLS (tenEstimateContext *tec, double *retP, double currB0, double currTen[7])
int _tenEstimate1Tensor_NLS (tenEstimateContext *tec)
int _tenEstimate1Tensor_GradientMLE (tenEstimateContext *tec, double *gradB0P, double gradTen[7], double currB0, double currTen[7])
int _tenEstimate1Tensor_BadnessMLE (tenEstimateContext *tec, double *retP, double currB0, double curt[7])
int _tenEstimate1Tensor_MLE (tenEstimateContext *tec)
int _tenEstimate1TensorSingle (tenEstimateContext *tec)
int tenEstimate1TensorSingle_f (tenEstimateContext *tec, float ten[7], const float *all)
int tenEstimate1TensorSingle_d (tenEstimateContext *tec, double ten[7], const double *all)
int tenEstimate1TensorVolume4D (tenEstimateContext *tec, Nrrd *nten, Nrrd **nB0P, Nrrd **nterrP, const Nrrd *ndwi, int outType)

Enumeration Type Documentation

anonymous enum

Enumerator:
flagUnknown 
flagEstimateMethod 
flagBInfo 
flagAllNum 
flagDwiNum 
flagAllAlloc 
flagDwiAlloc 
flagAllSet 
flagDwiSet 
flagSkipSet 
flagWght 
flagEmat 
flagLast 


Function Documentation

int _tenEstimate1Tensor_BadnessMLE ( tenEstimateContext tec,
double *  retP,
double  currB0,
double  curt[7] 
)

int _tenEstimate1Tensor_BadnessNLS ( tenEstimateContext tec,
double *  retP,
double  currB0,
double  currTen[7] 
)

int _tenEstimate1Tensor_GradientMLE ( tenEstimateContext tec,
double *  gradB0P,
double  gradTen[7],
double  currB0,
double  currTen[7] 
)

int _tenEstimate1Tensor_GradientNLS ( tenEstimateContext tec,
double *  gradB0P,
double  gradTen[7],
double  currB0,
double  currTen[7] 
)

int _tenEstimate1Tensor_LLS ( tenEstimateContext tec  ) 

int _tenEstimate1Tensor_MLE ( tenEstimateContext tec  ) 

int _tenEstimate1Tensor_NLS ( tenEstimateContext tec  ) 

int _tenEstimate1Tensor_WLS ( tenEstimateContext tec  ) 

int _tenEstimate1TensorDescent ( tenEstimateContext tec,
int(*)(tenEstimateContext *tec, double *gradB0, double gradTen[7], double B0, double ten[7])  gradientCB,
int(*)(tenEstimateContext *tec, double *badP, double B0, double ten[7])  badnessCB 
)

int _tenEstimate1TensorGradient ( tenEstimateContext tec,
double *  gradB0P,
double  gradTen[7],
double  B0,
double  ten[7],
double  epsilon,
int(*)(tenEstimateContext *tec, double *gradB0P, double gTen[7], double B0, double ten[7])  gradientCB,
int(*)(tenEstimateContext *tec, double *badP, double B0, double ten[7])  badnessCB 
)

int _tenEstimate1TensorSimulateSingle ( tenEstimateContext tec,
double  sigma,
double  bValue,
double  B0,
const double  ten[7] 
)

int _tenEstimate1TensorSingle ( tenEstimateContext tec  ) 

int _tenEstimateAllAllocUpdate ( tenEstimateContext tec  ) 

int _tenEstimateAllSetUpdate ( tenEstimateContext tec  ) 

int _tenEstimateCheck ( tenEstimateContext tec  ) 

int _tenEstimateDwiAllocUpdate ( tenEstimateContext tec  ) 

int _tenEstimateDwiSetUpdate ( tenEstimateContext tec  ) 

int _tenEstimateEmatUpdate ( tenEstimateContext tec  ) 

double _tenEstimateErrorDwi ( tenEstimateContext tec  ) 

double _tenEstimateErrorLogDwi ( tenEstimateContext tec  ) 

int _tenEstimateNumUpdate ( tenEstimateContext tec  ) 

void _tenEstimateOutputInit ( tenEstimateContext tec  ) 

void _tenEstimateValuesSet ( tenEstimateContext tec  ) 

int _tenEstimateWghtUpdate ( tenEstimateContext tec  ) 

int _tenGaussian ( double *  retP,
double  m,
double  t,
double  s 
)

int _tenRician ( double *  retP,
double  m,
double  t,
double  s 
)

int _tenRicianSafe ( double *  retP,
double  m,
double  t,
double  s 
)

int _tenRicianTrue ( double *  retP,
double  m,
double  t,
double  s 
)

int tenEstimate1TensorSimulateSingle_d ( tenEstimateContext tec,
double *  simval,
double  sigma,
double  bValue,
double  B0,
const double  ten[7] 
)

int tenEstimate1TensorSimulateSingle_f ( tenEstimateContext tec,
float *  simval,
float  sigma,
float  bValue,
float  B0,
const float  _ten[7] 
)

int tenEstimate1TensorSimulateVolume ( tenEstimateContext tec,
Nrrd ndwi,
double  sigma,
double  bValue,
const Nrrd nB0,
const Nrrd nten,
int  outType,
int  keyValueSet 
)

int tenEstimate1TensorSingle_d ( tenEstimateContext tec,
double  ten[7],
const double *  all 
)

int tenEstimate1TensorSingle_f ( tenEstimateContext tec,
float  ten[7],
const float *  all 
)

int tenEstimate1TensorVolume4D ( tenEstimateContext tec,
Nrrd nten,
Nrrd **  nB0P,
Nrrd **  nterrP,
const Nrrd ndwi,
int  outType 
)

int tenEstimateBMatricesSet ( tenEstimateContext tec,
const Nrrd nbmat,
double  bValue,
int  estimateB0 
)

tenEstimateContext* tenEstimateContextNew (  ) 

tenEstimateContext* tenEstimateContextNix ( tenEstimateContext tec  ) 

int tenEstimateGradientsSet ( tenEstimateContext tec,
const Nrrd ngrad,
double  bValue,
int  estimateB0 
)

int tenEstimateMethodSet ( tenEstimateContext tec,
int  estimateMethod 
)

void tenEstimateNegEvalShiftSet ( tenEstimateContext tec,
int  doit 
)

int tenEstimateSigmaSet ( tenEstimateContext tec,
double  sigma 
)

int tenEstimateSkipReset ( tenEstimateContext tec  ) 

int tenEstimateSkipSet ( tenEstimateContext tec,
unsigned int  valIdx,
int  doSkip 
)

int tenEstimateThresholdSet ( tenEstimateContext tec,
double  thresh,
double  soft 
)

int tenEstimateUpdate ( tenEstimateContext tec  ) 

int tenEstimateValueMinSet ( tenEstimateContext tec,
double  valueMin 
)

void tenEstimateVerboseSet ( tenEstimateContext tec,
int  verbose 
)


Generated on Sat May 9 03:55:45 2009 for Teem by  doxygen 1.5.9