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

Generates the diffusion signal using an idealised cylinder with zero radius: e^(-bd(ng)²) More...

#include <mitkStickModel.h>

Inheritance diagram for mitk::StickModel< ScalarType >:
Collaboration diagram for mitk::StickModel< 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

 StickModel ()
 
template<class OtherType >
 StickModel (StickModel< OtherType > *model)
 
 ~StickModel ()
 
PixelType SimulateMeasurement ()
 
ScalarType SimulateMeasurement (unsigned int dir)
 
void SetBvalue (double bValue)
 b-value used to generate the artificial signal More...
 
double GetBvalue ()
 
void SetDiffusivity (double diffusivity)
 Scalar diffusion constant. More...
 
double GetDiffusivity ()
 
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::StickModel< ScalarType >

Generates the diffusion signal using an idealised cylinder with zero radius: e^(-bd(ng)²)

Definition at line 30 of file mitkStickModel.h.

Member Typedef Documentation

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

Definition at line 51 of file mitkStickModel.h.

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

Definition at line 50 of file mitkStickModel.h.

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

Definition at line 49 of file mitkStickModel.h.

Constructor & Destructor Documentation

template<class ScalarType >
StickModel::StickModel ( )

Definition at line 23 of file mitkStickModel.cpp.

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

Definition at line 31 of file mitkStickModel.cpp.

Member Function Documentation

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

b-value used to generate the artificial signal

Definition at line 57 of file mitkStickModel.h.

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

template<class ScalarType = double>
void mitk::StickModel< ScalarType >::SetDiffusivity ( double  diffusivity)
inline

Scalar diffusion constant.

Definition at line 59 of file mitkStickModel.h.

References mitk::StickModel< ScalarType >::m_Diffusivity.

Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().

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

Actual signal generation

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 61 of file mitkStickModel.cpp.

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

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 37 of file mitkStickModel.cpp.

Member Data Documentation

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

b-value used to generate the artificial signal

Definition at line 68 of file mitkStickModel.h.

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

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

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