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

Generates diffusion measurement employing a second rank tensor model: e^(-bg^TDg) More...

#include <mitkTensorModel.h>

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

Public Types

typedef DiffusionSignalModel< ScalarType >::PixelType PixelType
 
typedef itk::DiffusionTensor3D< ScalarTypeItkTensorType
 
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

 TensorModel ()
 
template<class OtherType >
 TensorModel (TensorModel< OtherType > *model)
 
 ~TensorModel ()
 
PixelType SimulateMeasurement ()
 
ScalarType SimulateMeasurement (unsigned int dir)
 
void SetBvalue (double bValue)
 b-value used to generate the artificial signal More...
 
double GetBvalue ()
 
void SetDiffusivity1 (double d1)
 
void SetDiffusivity2 (double d2)
 
void SetDiffusivity3 (double d3)
 
double GetDiffusivity1 ()
 
double GetDiffusivity2 ()
 
double GetDiffusivity3 ()
 
void SetFiberDirection (GradientType fiberDirection)
 
void SetGradientList (GradientListType gradientList)
 
GradientType GetKernelDirection ()
 
vnl_matrix_fixed< double, 3, 3 > GetKernelTensorMatrix ()
 
- 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 Member Functions

void UpdateKernelTensor ()
 

Protected Attributes

GradientType m_KernelDirection
 Direction of the kernel tensors principal eigenvector. More...
 
vnl_matrix_fixed< double, 3, 3 > m_KernelTensorMatrix
 3x3 matrix containing the kernel tensor values 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::TensorModel< ScalarType >

Generates diffusion measurement employing a second rank tensor model: e^(-bg^TDg)

Definition at line 31 of file mitkTensorModel.h.

Member Typedef Documentation

Definition at line 54 of file mitkTensorModel.h.

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

Definition at line 53 of file mitkTensorModel.h.

template<class ScalarType = double>
typedef itk::DiffusionTensor3D< ScalarType > mitk::TensorModel< ScalarType >::ItkTensorType

Definition at line 52 of file mitkTensorModel.h.

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

Definition at line 51 of file mitkTensorModel.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file mitkTensorModel.cpp.

Member Function Documentation

template<class ScalarType = double>
double mitk::TensorModel< ScalarType >::GetBvalue ( )
inline
template<class ScalarType = double>
double mitk::TensorModel< ScalarType >::GetDiffusivity1 ( )
inline
template<class ScalarType = double>
double mitk::TensorModel< ScalarType >::GetDiffusivity2 ( )
inline
template<class ScalarType = double>
double mitk::TensorModel< ScalarType >::GetDiffusivity3 ( )
inline
template<class ScalarType = double>
GradientType mitk::TensorModel< ScalarType >::GetKernelDirection ( )
inline
template<class ScalarType = double>
vnl_matrix_fixed<double, 3, 3> mitk::TensorModel< ScalarType >::GetKernelTensorMatrix ( )
inline
template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetBvalue ( double  bValue)
inline

b-value used to generate the artificial signal

Definition at line 60 of file mitkTensorModel.h.

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

template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetDiffusivity1 ( double  d1)
inline
template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetDiffusivity2 ( double  d2)
inline
template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetDiffusivity3 ( double  d3)
inline
template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetFiberDirection ( GradientType  fiberDirection)
inlinevirtual
template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::SetGradientList ( GradientListType  gradientList)
inlinevirtual
template<class ScalarType >
TensorModel< ScalarType >::PixelType TensorModel::SimulateMeasurement ( )
virtual

Actual signal generation

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 86 of file mitkTensorModel.cpp.

References rotation.

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

Implements mitk::DiffusionSignalModel< ScalarType >.

Definition at line 40 of file mitkTensorModel.cpp.

References rotation.

template<class ScalarType = double>
void mitk::TensorModel< ScalarType >::UpdateKernelTensor ( )
protected

Calculates tensor matrix from FA and ADC

Member Data Documentation

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

b-value used to generate the artificial signal

Definition at line 80 of file mitkTensorModel.h.

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

template<class ScalarType = double>
GradientType mitk::TensorModel< ScalarType >::m_KernelDirection
protected

Direction of the kernel tensors principal eigenvector.

Definition at line 78 of file mitkTensorModel.h.

Referenced by mitk::TensorModel< ScalarType >::GetKernelDirection(), and mitk::TensorModel< ScalarType >::TensorModel().


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