Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Generates the diffusion signal using a collection of idealised cylinder with zero radius: e^(-bd(ng)²) More...
#include <mitkAstroStickModel.h>
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< ScalarType > | PixelType |
typedef itk::Vector< double, 3 > | GradientType |
typedef std::vector< GradientType > | GradientListType |
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator | ItkRandGenType |
Public Member Functions | |
AstroStickModel () | |
template<class OtherType > | |
AstroStickModel (AstroStickModel< OtherType > *model) | |
~AstroStickModel () | |
PixelType | SimulateMeasurement () |
ScalarType | SimulateMeasurement (unsigned int dir) |
void | SetFiberDirection (GradientType fiberDirection) |
void | SetGradientList (GradientListType gradientList) |
void | SetRandomizeSticks (bool randomize=true) |
Random stick configuration in each voxel. More... | |
bool | GetRandomizeSticks () |
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 | SetNumSticks (unsigned int order) |
unsigned int | GetNumSticks () |
GradientListType | GetSticks () |
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 | |
GradientType | GetRandomDirection () |
Protected Attributes | |
double | m_BValue |
b-value used to generate the artificial signal More... | |
double | m_Diffusivity |
Scalar diffusion constant. More... | |
GradientListType | m_Sticks |
Stick container. More... | |
unsigned int | m_NumSticks |
Number of sticks. More... | |
bool | m_RandomizeSticks |
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 the diffusion signal using a collection of idealised cylinder with zero radius: e^(-bd(ng)²)
Definition at line 31 of file mitkAstroStickModel.h.
typedef DiffusionSignalModel< ScalarType >::GradientListType mitk::AstroStickModel< ScalarType >::GradientListType |
Definition at line 55 of file mitkAstroStickModel.h.
typedef DiffusionSignalModel< ScalarType >::GradientType mitk::AstroStickModel< ScalarType >::GradientType |
Definition at line 54 of file mitkAstroStickModel.h.
typedef DiffusionSignalModel< ScalarType >::PixelType mitk::AstroStickModel< ScalarType >::PixelType |
Definition at line 53 of file mitkAstroStickModel.h.
AstroStickModel::AstroStickModel | ( | ) |
Definition at line 23 of file mitkAstroStickModel.cpp.
References mitk::AstroStickModel< ScalarType >::m_NumSticks, mitk::DiffusionSignalModel< ScalarType >::m_RandGen, mitk::AstroStickModel< ScalarType >::m_Sticks, and mitk::New().
|
inline |
Definition at line 36 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::GetBvalue(), mitk::AstroStickModel< ScalarType >::GetDiffusivity(), mitk::DiffusionSignalModel< ScalarType >::GetFiberDirection(), mitk::DiffusionSignalModel< ScalarType >::GetGradientList(), mitk::AstroStickModel< ScalarType >::GetNumSticks(), mitk::DiffusionSignalModel< ScalarType >::GetRandomGenerator(), mitk::AstroStickModel< ScalarType >::GetRandomizeSticks(), mitk::AstroStickModel< ScalarType >::GetSticks(), mitk::DiffusionSignalModel< ScalarType >::GetT2(), mitk::DiffusionSignalModel< ScalarType >::GetVolumeFractionImage(), mitk::AstroStickModel< ScalarType >::m_BValue, mitk::DiffusionSignalModel< ScalarType >::m_CompartmentId, mitk::AstroStickModel< ScalarType >::m_Diffusivity, mitk::DiffusionSignalModel< ScalarType >::m_FiberDirection, mitk::DiffusionSignalModel< ScalarType >::m_GradientList, mitk::AstroStickModel< ScalarType >::m_NumSticks, mitk::DiffusionSignalModel< ScalarType >::m_RandGen, mitk::AstroStickModel< ScalarType >::m_RandomizeSticks, mitk::AstroStickModel< ScalarType >::m_Sticks, mitk::DiffusionSignalModel< ScalarType >::m_T2, and mitk::DiffusionSignalModel< ScalarType >::m_VolumeFractionImage.
AstroStickModel::~AstroStickModel | ( | ) |
Definition at line 43 of file mitkAstroStickModel.cpp.
|
inline |
Definition at line 69 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_BValue.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel().
|
inline |
Definition at line 72 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_Diffusivity.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::FiberfoxParameters< ScalarType >::LoadParameters(), and mitk::FiberfoxParameters< ScalarType >::SaveParameters().
|
inline |
Definition at line 112 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_NumSticks.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel().
|
protected |
Definition at line 84 of file mitkAstroStickModel.cpp.
|
inline |
Definition at line 66 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_RandomizeSticks.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::FiberfoxParameters< ScalarType >::LoadParameters(), and mitk::FiberfoxParameters< ScalarType >::SaveParameters().
|
inline |
Definition at line 113 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_Sticks.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel().
|
inline |
b-value used to generate the artificial signal
Definition at line 68 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_BValue.
|
inline |
Scalar diffusion constant.
Definition at line 71 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_Diffusivity.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().
|
inlinevirtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 62 of file mitkAstroStickModel.h.
References mitk::DiffusionSignalModel< ScalarType >::m_FiberDirection.
|
inlinevirtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 63 of file mitkAstroStickModel.h.
References mitk::DiffusionSignalModel< ScalarType >::m_GradientList.
|
inline |
Definition at line 74 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_NumSticks, and mitk::AstroStickModel< ScalarType >::m_Sticks.
|
inline |
Random stick configuration in each voxel.
Definition at line 65 of file mitkAstroStickModel.h.
References mitk::AstroStickModel< ScalarType >::m_RandomizeSticks.
Referenced by mitk::FiberfoxParameters< ScalarType >::LoadParameters().
|
virtual |
Actual signal generation
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 95 of file mitkAstroStickModel.cpp.
|
virtual |
Implements mitk::DiffusionSignalModel< ScalarType >.
Definition at line 49 of file mitkAstroStickModel.cpp.
|
protected |
b-value used to generate the artificial signal
Definition at line 118 of file mitkAstroStickModel.h.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::AstroStickModel< ScalarType >::GetBvalue(), and mitk::AstroStickModel< ScalarType >::SetBvalue().
|
protected |
Scalar diffusion constant.
Definition at line 119 of file mitkAstroStickModel.h.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::AstroStickModel< ScalarType >::GetDiffusivity(), and mitk::AstroStickModel< ScalarType >::SetDiffusivity().
|
protected |
Number of sticks.
Definition at line 121 of file mitkAstroStickModel.h.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::AstroStickModel< ScalarType >::GetNumSticks(), and mitk::AstroStickModel< ScalarType >::SetNumSticks().
|
protected |
Definition at line 122 of file mitkAstroStickModel.h.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::AstroStickModel< ScalarType >::GetRandomizeSticks(), and mitk::AstroStickModel< ScalarType >::SetRandomizeSticks().
|
protected |
Stick container.
Definition at line 120 of file mitkAstroStickModel.h.
Referenced by mitk::AstroStickModel< ScalarType >::AstroStickModel(), mitk::AstroStickModel< ScalarType >::GetSticks(), and mitk::AstroStickModel< ScalarType >::SetNumSticks().