Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::BallModel< ScalarType > Class Template Reference

Generates direction independent diffusion measurement employing a scalar diffusion constant d: e^(-bd) More...

#include <mitkBallModel.h>

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

Public Types

typedef DiffusionSignalModel< ScalarType >::PixelType PixelType
 
typedef DiffusionSignalModel< ScalarType >::GradientType GradientType
 
typedef DiffusionSignalModel< ScalarType >::GradientListType GradientListType
 
- Public Types inherited from mitk::DiffusionSignalModel< ScalarType >
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

 BallModel ()
 
template<class OtherType >
 BallModel (BallModel< OtherType > *model)
 
 ~BallModel ()
 
PixelType SimulateMeasurement ()
 
ScalarType SimulateMeasurement (unsigned int dir)
 
void SetDiffusivity (double D)
 
double GetDiffusivity ()
 
void SetBvalue (double bValue)
 b-value used to generate the artificial signal More...
 
double GetBvalue ()
 
void SetFiberDirection (GradientType fiberDirection)
 
void SetGradientList (GradientListType gradientList)
 
- Public Member Functions inherited from mitk::DiffusionSignalModel< ScalarType >
 DiffusionSignalModel ()
 
 ~DiffusionSignalModel ()
 
GradientType GetFiberDirection ()
 
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)
 

Protected Attributes

double m_Diffusivity
 Scalar diffusion constant. More...
 
double m_BValue
 b-value used to generate the artificial signal More...
 
- Protected Attributes inherited from mitk::DiffusionSignalModel< ScalarType >
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...
 

Additional Inherited Members

- Public Attributes inherited from mitk::DiffusionSignalModel< ScalarType >
unsigned int m_CompartmentId
 GUI flag. Which compartment is this model assigned to? More...
 

Detailed Description

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

Generates direction independent diffusion measurement employing a scalar diffusion constant d: e^(-bd)

Definition at line 30 of file mitkBallModel.h.

Member Typedef Documentation

template<class ScalarType = double>
typedef DiffusionSignalModel< ScalarType >::GradientListType mitk::BallModel< ScalarType >::GradientListType

Definition at line 51 of file mitkBallModel.h.

template<class ScalarType = double>
typedef DiffusionSignalModel< ScalarType >::GradientType mitk::BallModel< ScalarType >::GradientType

Definition at line 50 of file mitkBallModel.h.

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

Definition at line 49 of file mitkBallModel.h.

Constructor & Destructor Documentation

template<class ScalarType >
BallModel::BallModel ( )

Definition at line 23 of file mitkBallModel.cpp.

template<class ScalarType >
BallModel::~BallModel ( )

Definition at line 31 of file mitkBallModel.cpp.

Member Function Documentation

template<class ScalarType = double>
double mitk::BallModel< ScalarType >::GetBvalue ( )
inline
template<class ScalarType = double>
void mitk::BallModel< ScalarType >::SetBvalue ( double  bValue)
inline

b-value used to generate the artificial signal

Definition at line 60 of file mitkBallModel.h.

References mitk::BallModel< ScalarType >::m_BValue.

template<class ScalarType = double>
void mitk::BallModel< ScalarType >::SetDiffusivity ( double  D)
inline
template<class ScalarType = double>
void mitk::BallModel< ScalarType >::SetFiberDirection ( GradientType  fiberDirection)
inlinevirtual
template<class ScalarType = double>
void mitk::BallModel< ScalarType >::SetGradientList ( GradientListType  gradientList)
inlinevirtual
template<class ScalarType >
BallModel< ScalarType >::PixelType BallModel::SimulateMeasurement ( )
virtual

Actual signal generation

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 56 of file mitkBallModel.cpp.

template<class ScalarType >
ScalarType BallModel::SimulateMeasurement ( unsigned int  dir)
virtual

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 37 of file mitkBallModel.cpp.

Member Data Documentation

template<class ScalarType = double>
double mitk::BallModel< ScalarType >::m_BValue
protected

b-value used to generate the artificial signal

Definition at line 69 of file mitkBallModel.h.

Referenced by mitk::BallModel< ScalarType >::BallModel(), mitk::BallModel< ScalarType >::GetBvalue(), and mitk::BallModel< ScalarType >::SetBvalue().

template<class ScalarType = double>
double mitk::BallModel< ScalarType >::m_Diffusivity
protected

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