Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Generates diffusion measurement employing a second rank tensor model: e^(-bg^TDg) More...
#include <mitkTensorModel.h>
Public Types | |
typedef DiffusionSignalModel< ScalarType >::PixelType | PixelType |
typedef itk::DiffusionTensor3D< ScalarType > | ItkTensorType |
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< ScalarType > | PixelType |
typedef itk::Vector< double, 3 > | GradientType |
typedef std::vector< GradientType > | GradientListType |
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... | |
Generates diffusion measurement employing a second rank tensor model: e^(-bg^TDg)
Definition at line 31 of file mitkTensorModel.h.
typedef DiffusionSignalModel< ScalarType >::GradientListType mitk::TensorModel< ScalarType >::GradientListType |
Definition at line 54 of file mitkTensorModel.h.
typedef DiffusionSignalModel< ScalarType >::GradientType mitk::TensorModel< ScalarType >::GradientType |
Definition at line 53 of file mitkTensorModel.h.
typedef itk::DiffusionTensor3D< ScalarType > mitk::TensorModel< ScalarType >::ItkTensorType |
Definition at line 52 of file mitkTensorModel.h.
typedef DiffusionSignalModel< ScalarType >::PixelType mitk::TensorModel< ScalarType >::PixelType |
Definition at line 51 of file mitkTensorModel.h.
TensorModel::TensorModel | ( | ) |
Definition at line 23 of file mitkTensorModel.cpp.
References mitk::TensorModel< ScalarType >::m_KernelDirection, and mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
|
inline |
Definition at line 36 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::GetBvalue(), mitk::DiffusionSignalModel< ScalarType >::GetFiberDirection(), mitk::DiffusionSignalModel< ScalarType >::GetGradientList(), mitk::TensorModel< ScalarType >::GetKernelDirection(), mitk::TensorModel< ScalarType >::GetKernelTensorMatrix(), mitk::DiffusionSignalModel< ScalarType >::GetRandomGenerator(), mitk::DiffusionSignalModel< ScalarType >::GetT2(), mitk::DiffusionSignalModel< ScalarType >::GetVolumeFractionImage(), mitk::TensorModel< ScalarType >::m_BValue, mitk::DiffusionSignalModel< ScalarType >::m_CompartmentId, mitk::DiffusionSignalModel< ScalarType >::m_FiberDirection, mitk::DiffusionSignalModel< ScalarType >::m_GradientList, mitk::TensorModel< ScalarType >::m_KernelDirection, mitk::TensorModel< ScalarType >::m_KernelTensorMatrix, mitk::DiffusionSignalModel< ScalarType >::m_RandGen, mitk::DiffusionSignalModel< ScalarType >::m_T2, and mitk::DiffusionSignalModel< ScalarType >::m_VolumeFractionImage.
TensorModel::~TensorModel | ( | ) |
Definition at line 34 of file mitkTensorModel.cpp.
|
inline |
Definition at line 61 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_BValue.
Referenced by mitk::TensorModel< ScalarType >::TensorModel().
|
inline |
Definition at line 65 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters(), and mitk::FiberfoxParameters< ScalarType >::SaveParameters().
|
inline |
Definition at line 66 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters(), and mitk::FiberfoxParameters< ScalarType >::SaveParameters().
|
inline |
Definition at line 67 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters(), and mitk::FiberfoxParameters< ScalarType >::SaveParameters().
|
inline |
Definition at line 71 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelDirection.
Referenced by mitk::TensorModel< ScalarType >::TensorModel().
|
inline |
Definition at line 72 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::TensorModel< ScalarType >::TensorModel().
|
inline |
b-value used to generate the artificial signal
Definition at line 60 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_BValue.
|
inline |
Definition at line 62 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().
|
inline |
Definition at line 63 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().
|
inline |
Definition at line 64 of file mitkTensorModel.h.
References mitk::TensorModel< ScalarType >::m_KernelTensorMatrix.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().
|
inlinevirtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 69 of file mitkTensorModel.h.
References mitk::DiffusionSignalModel< ScalarType >::m_FiberDirection.
|
inlinevirtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 70 of file mitkTensorModel.h.
References mitk::DiffusionSignalModel< ScalarType >::m_GradientList.
|
virtual |
Actual signal generation
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 86 of file mitkTensorModel.cpp.
References rotation.
|
virtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 40 of file mitkTensorModel.cpp.
References rotation.
|
protected |
Calculates tensor matrix from FA and ADC
|
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().
|
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().
|
protected |
3x3 matrix containing the kernel tensor values
Definition at line 79 of file mitkTensorModel.h.
Referenced by mitk::TensorModel< ScalarType >::GetDiffusivity1(), mitk::TensorModel< ScalarType >::GetDiffusivity2(), mitk::TensorModel< ScalarType >::GetDiffusivity3(), mitk::TensorModel< ScalarType >::GetKernelTensorMatrix(), mitk::TensorModel< ScalarType >::SetDiffusivity1(), mitk::TensorModel< ScalarType >::SetDiffusivity2(), mitk::TensorModel< ScalarType >::SetDiffusivity3(), and mitk::TensorModel< ScalarType >::TensorModel().