src/ten/chan.c File Reference

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

Include dependency graph for chan.c:


Defines

#define DWI_NUM_MAX   256

Functions

int tenDWMRIKeyValueParse (Nrrd **ngradP, Nrrd **nbmatP, double *bP, unsigned int **skipP, unsigned int *skipNumP, const Nrrd *ndwi)
int tenBMatrixCalc (Nrrd *nbmat, const Nrrd *_ngrad)
int tenEMatrixCalc (Nrrd *nemat, const Nrrd *_nbmat, int knownB0)
void tenEstimateLinearSingle_d (double *ten, double *B0P, const double *dwi, const double *emat, double *vbuf, unsigned int DD, int knownB0, double thresh, double soft, double b)
void tenEstimateLinearSingle_f (float *_ten, float *_B0P, const float *_dwi, const double *emat, double *vbuf, unsigned int DD, int knownB0, float thresh, float soft, float b)
int tenEstimateLinear3D (Nrrd *nten, Nrrd **nterrP, Nrrd **nB0P, const Nrrd *const *_ndwi, unsigned int dwiLen, const Nrrd *_nbmat, int knownB0, double thresh, double soft, double b)
int tenEstimateLinear4D (Nrrd *nten, Nrrd **nterrP, Nrrd **nB0P, const Nrrd *ndwi, const Nrrd *_nbmat, int knownB0, double thresh, double soft, double b)
void tenSimulateSingle_f (float *dwi, float B0, const float *ten, const double *bmat, unsigned int DD, float b)
int tenSimulate (Nrrd *ndwi, const Nrrd *nT2, const Nrrd *nten, const Nrrd *_nbmat, double b)
void tenCalcOneTensor1 (float tens[7], float chan[7], float thresh, float slope, float b)
void tenCalcOneTensor2 (float tens[7], float chan[7], float thresh, float slope, float b)
int tenCalcTensor (Nrrd *nout, Nrrd *nin, int version, float thresh, float slope, float b)

Variables

const char * tenDWMRIModalityKey = "modality"
const char * tenDWMRIModalityVal = "DWMRI"
const char * tenDWMRINAVal = "n/a"
const char * tenDWMRIBValueKey = "DWMRI_b-value"
const char * tenDWMRIGradKeyFmt = "DWMRI_gradient_%04u"
const char * tenDWMRIBmatKeyFmt = "DWMRI_B-matrix_%04u"
const char * tenDWMRINexKeyFmt = "DWMRI_NEX_%04u"
const char * tenDWMRISkipKeyFmt = "DWMRI_skip_%04u"

Define Documentation

#define DWI_NUM_MAX   256


Function Documentation

int tenBMatrixCalc ( Nrrd nbmat,
const Nrrd _ngrad 
)

void tenCalcOneTensor1 ( float  tens[7],
float  chan[7],
float  thresh,
float  slope,
float  b 
)

void tenCalcOneTensor2 ( float  tens[7],
float  chan[7],
float  thresh,
float  slope,
float  b 
)

int tenCalcTensor ( Nrrd nout,
Nrrd nin,
int  version,
float  thresh,
float  slope,
float  b 
)

int tenDWMRIKeyValueParse ( Nrrd **  ngradP,
Nrrd **  nbmatP,
double *  bP,
unsigned int **  skipP,
unsigned int *  skipNumP,
const Nrrd ndwi 
)

int tenEMatrixCalc ( Nrrd nemat,
const Nrrd _nbmat,
int  knownB0 
)

int tenEstimateLinear3D ( Nrrd nten,
Nrrd **  nterrP,
Nrrd **  nB0P,
const Nrrd *const *  _ndwi,
unsigned int  dwiLen,
const Nrrd _nbmat,
int  knownB0,
double  thresh,
double  soft,
double  b 
)

int tenEstimateLinear4D ( Nrrd nten,
Nrrd **  nterrP,
Nrrd **  nB0P,
const Nrrd ndwi,
const Nrrd _nbmat,
int  knownB0,
double  thresh,
double  soft,
double  b 
)

void tenEstimateLinearSingle_d ( double *  ten,
double *  B0P,
const double *  dwi,
const double *  emat,
double *  vbuf,
unsigned int  DD,
int  knownB0,
double  thresh,
double  soft,
double  b 
)

void tenEstimateLinearSingle_f ( float *  _ten,
float *  _B0P,
const float *  _dwi,
const double *  emat,
double *  vbuf,
unsigned int  DD,
int  knownB0,
float  thresh,
float  soft,
float  b 
)

int tenSimulate ( Nrrd ndwi,
const Nrrd nT2,
const Nrrd nten,
const Nrrd _nbmat,
double  b 
)

void tenSimulateSingle_f ( float *  dwi,
float  B0,
const float *  ten,
const double *  bmat,
unsigned int  DD,
float  b 
)


Variable Documentation

const char* tenDWMRIBmatKeyFmt = "DWMRI_B-matrix_%04u"

const char* tenDWMRIBValueKey = "DWMRI_b-value"

const char* tenDWMRIGradKeyFmt = "DWMRI_gradient_%04u"

const char* tenDWMRIModalityKey = "modality"

const char* tenDWMRIModalityVal = "DWMRI"

const char* tenDWMRINAVal = "n/a"

const char* tenDWMRINexKeyFmt = "DWMRI_NEX_%04u"

const char* tenDWMRISkipKeyFmt = "DWMRI_skip_%04u"


Generated on Thu Jan 1 01:07:05 2009 for Teem by  doxygen 1.5.6