Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::DiffusionSignalModel< ScalarType > Class Template Referenceabstract

Abstract class for diffusion signal models. More...

#include <mitkDiffusionSignalModel.h>

Inheritance diagram for mitk::DiffusionSignalModel< ScalarType >:
Collaboration diagram for mitk::DiffusionSignalModel< ScalarType >:

Public Types

typedef itk::Image< double, 3 > ItkDoubleImgType
 
typedef itk::VariableLengthVector< ScalarTypePixelType
 
typedef itk::Vector< double, 3 > GradientType
 
typedef std::vector< GradientTypeGradientListType
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator ItkRandGenType
 

Public Member Functions

 DiffusionSignalModel ()
 
 ~DiffusionSignalModel ()
 
virtual PixelType SimulateMeasurement ()=0
 
virtual ScalarType SimulateMeasurement (unsigned int dir)=0
 
virtual void SetFiberDirection (GradientType fiberDirection)=0
 
GradientType GetFiberDirection ()
 
virtual void SetGradientList (GradientListType gradientList)=0
 
GradientListType GetGradientList ()
 
GradientType GetGradientDirection (int i)
 
void SetT2 (double T2)
 
double GetT2 ()
 
void SetT1 (double T1)
 
double GetT1 ()
 
void SetVolumeFractionImage (ItkDoubleImgType::Pointer img)
 
ItkDoubleImgType::Pointer GetVolumeFractionImage ()
 
void SetRandomGenerator (ItkRandGenType::Pointer randgen)
 
ItkRandGenType::Pointer GetRandomGenerator ()
 
void SetSeed (int s)
 

Public Attributes

unsigned int m_CompartmentId
 GUI flag. Which compartment is this model assigned to? More...
 

Protected Attributes

GradientType m_FiberDirection
 Needed to generate anisotropc signal to determin direction of anisotropy. More...
 
GradientListType m_GradientList
 Diffusion gradient direction container. More...
 
double m_T2
 Tissue specific transversal relaxation time. More...
 
double m_T1
 Tissue specific longitudinal relaxation time. More...
 
ItkDoubleImgType::Pointer m_VolumeFractionImage
 Tissue specific volume fraction for each voxel (only relevant for non fiber compartments) More...
 
ItkRandGenType::Pointer m_RandGen
 Random number generator. More...
 

Detailed Description

template<class ScalarType = double>
class mitk::DiffusionSignalModel< ScalarType >

Abstract class for diffusion signal models.

Definition at line 35 of file mitkDiffusionSignalModel.h.

Member Typedef Documentation

template<class ScalarType = double>
typedef std::vector<GradientType> mitk::DiffusionSignalModel< ScalarType >::GradientListType

Definition at line 48 of file mitkDiffusionSignalModel.h.

template<class ScalarType = double>
typedef itk::Vector<double,3> mitk::DiffusionSignalModel< ScalarType >::GradientType

Definition at line 47 of file mitkDiffusionSignalModel.h.

template<class ScalarType = double>
typedef itk::Image<double, 3> mitk::DiffusionSignalModel< ScalarType >::ItkDoubleImgType

Definition at line 45 of file mitkDiffusionSignalModel.h.

template<class ScalarType = double>
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator mitk::DiffusionSignalModel< ScalarType >::ItkRandGenType

Definition at line 49 of file mitkDiffusionSignalModel.h.

template<class ScalarType = double>
typedef itk::VariableLengthVector< ScalarType > mitk::DiffusionSignalModel< ScalarType >::PixelType

Definition at line 46 of file mitkDiffusionSignalModel.h.

Constructor & Destructor Documentation

template<class ScalarType = double>
mitk::DiffusionSignalModel< ScalarType >::DiffusionSignalModel ( )
inline

Definition at line 39 of file mitkDiffusionSignalModel.h.

template<class ScalarType = double>
mitk::DiffusionSignalModel< ScalarType >::~DiffusionSignalModel ( )
inline

Definition at line 43 of file mitkDiffusionSignalModel.h.

Member Function Documentation

template<class ScalarType = double>
GradientType mitk::DiffusionSignalModel< ScalarType >::GetGradientDirection ( int  i)
inline
template<class ScalarType = double>
void mitk::DiffusionSignalModel< ScalarType >::SetRandomGenerator ( ItkRandGenType::Pointer  randgen)
inline
template<class ScalarType = double>
void mitk::DiffusionSignalModel< ScalarType >::SetSeed ( int  s)
inline
Parameters
sset seed for random generator

Definition at line 74 of file mitkDiffusionSignalModel.h.

References mitk::DiffusionSignalModel< ScalarType >::m_RandGen, and mitk::New().

template<class ScalarType = double>
void mitk::DiffusionSignalModel< ScalarType >::SetT1 ( double  T1)
inline
template<class ScalarType = double>
void mitk::DiffusionSignalModel< ScalarType >::SetT2 ( double  T2)
inline
template<class ScalarType = double>
void mitk::DiffusionSignalModel< ScalarType >::SetVolumeFractionImage ( ItkDoubleImgType::Pointer  img)
inline
template<class ScalarType = double>
virtual PixelType mitk::DiffusionSignalModel< ScalarType >::SimulateMeasurement ( )
pure virtual

Member Data Documentation

template<class ScalarType = double>
double mitk::DiffusionSignalModel< ScalarType >::m_T1
protected

Tissue specific longitudinal relaxation time.

Definition at line 88 of file mitkDiffusionSignalModel.h.

Referenced by mitk::DiffusionSignalModel< ScalarType >::GetT1(), and mitk::DiffusionSignalModel< ScalarType >::SetT1().


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