ANIMA
4.0
|
#include <animaStaniszCompartment.h>
Public Types | |
typedef Superclass::Pointer | BasePointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::Matrix3DType | Matrix3DType |
typedef Superclass::ModelOutputVectorType | ModelOutputVectorType |
typedef itk::SmartPointer< Self > | Pointer |
typedef StaniszCompartment | Self |
typedef BaseCompartment | Superclass |
typedef Superclass::Vector3DType | Vector3DType |
Public Types inherited from anima::BaseCompartment | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::vector< double > | ListType |
typedef itk::Matrix< double, 3, 3 > | Matrix3DType |
typedef itk::VariableLengthVector< double > | ModelOutputVectorType |
typedef itk::SmartPointer< Self > | Pointer |
typedef BaseCompartment | Self |
typedef itk::LightObject | Superclass |
typedef vnl_vector_fixed< double, 3 > | Vector3DType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
double | GetApparentFractionalAnisotropy () ITK_OVERRIDE |
unsigned int | GetCompartmentSize () ITK_OVERRIDE |
Number of parameters to describe the model, these parameters will be self-contained, i.e. include fixed parameters for example. More... | |
DiffusionModelCompartmentType | GetCompartmentType () ITK_OVERRIDE |
Utility function to return compartment type without needing dynamic casts. More... | |
ModelOutputVectorType & | GetCompartmentVector () ITK_OVERRIDE |
Get compartment overall description vector, mainly for writing, should be self-contained. More... | |
virtual double | GetFourierTransformedDiffusionProfile (double smallDelta, double bigDelta, double gradientStrength, const Vector3DType &gradient) ITK_OVERRIDE |
virtual double | GetLogDiffusionProfile (const Vector3DType &sample) ITK_OVERRIDE |
virtual const char * | GetNameOfClass () const |
unsigned int | GetNumberOfParameters () ITK_OVERRIDE |
Number of optimized parameters: smaller than total number of parameters. More... | |
virtual ListType & | GetParameterLowerBounds () ITK_OVERRIDE |
virtual ListType & | GetParametersAsVector () ITK_OVERRIDE |
virtual ListType & | GetParameterUpperBounds () ITK_OVERRIDE |
virtual ListType & | GetSignalAttenuationJacobian (double smallDelta, double bigDelta, double gradientStrength, const Vector3DType &gradient) ITK_OVERRIDE |
bool | GetTensorCompatible () ITK_OVERRIDE |
void | SetAxialDiffusivity (double num) ITK_OVERRIDE |
void | SetCompartmentVector (ModelOutputVectorType &compartmentVector) ITK_OVERRIDE |
Set compartment overall description vector, for setting automatically the individual parameters when reading from disk. More... | |
void | SetEstimateAxialDiffusivity (bool arg) |
void | SetEstimateTissueRadius (bool arg) |
virtual void | SetParametersFromVector (const ListType ¶ms) ITK_OVERRIDE |
Various methods for optimization parameters setting and getting. More... | |
void | SetTissueRadius (double num) ITK_OVERRIDE |
Public Member Functions inherited from anima::BaseCompartment | |
virtual void | CopyFromOther (Self *rhs) |
Copy internal parameters from another compartment, faster than a set/get compartment vector. More... | |
virtual double | GetApparentMeanDiffusivity () |
virtual double | GetApparentParallelDiffusivity () |
Get approximation to parallel diffusivity of the compartment (may be different from axial diffusivity which is an internal parameter of the model) More... | |
virtual double | GetApparentPerpendicularDiffusivity () |
Get approximation to perpendicular diffusivity of the compartment (may be different from radial diffusivities which are internal parameters of the model) More... | |
virtual double | GetAxialDiffusivity () |
virtual const Matrix3DType & | GetDiffusionTensor () |
Get compartment as a 3D tensor (default behavior: throw exception if not supported by the compartment model) More... | |
virtual double | GetExtraAxonalFraction () |
virtual double | GetOrientationConcentration () |
virtual double | GetOrientationPhi () |
virtual double | GetOrientationTheta () |
virtual double | GetPerpendicularAngle () |
double | GetPredictedSignal (double smallDelta, double bigDelta, double gradientStrength, const Vector3DType &gradient) |
virtual double | GetRadialDiffusivity1 () |
virtual double | GetRadialDiffusivity2 () |
virtual double | GetTissueRadius () |
virtual bool | IsEqual (Self *rhs, double tolerance=1.0e-2, double absoluteTolerance=1.0e-8) |
Tests equality to another compartment up to a constant (relative and absolute tolerances) More... | |
virtual void | Reorient (vnl_matrix< double > &orientationMatrix, bool affineTransform) |
Reorient the fascicle compartment using a matrix, the flag specifies if the transform is affine or rigid. More... | |
virtual void | SetExtraAxonalFraction (double num) |
virtual void | SetOrientationConcentration (double num) |
virtual void | SetOrientationPhi (double num) |
virtual void | SetOrientationTheta (double num) |
virtual void | SetPerpendicularAngle (double num) |
virtual void | SetRadialDiffusivity1 (double num) |
virtual void | SetRadialDiffusivity2 (double num) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
StaniszCompartment () | |
void | UpdateSignals (double smallDelta, double bigDelta, double gradientStrength) |
virtual | ~StaniszCompartment () |
Protected Member Functions inherited from anima::BaseCompartment | |
BaseCompartment () | |
virtual | ~BaseCompartment () |
Additional Inherited Members | |
Protected Attributes inherited from anima::BaseCompartment | |
ModelOutputVectorType | m_CompartmentVector |
Vector to hold working value of compartment vector. More... | |
Matrix3DType | m_DiffusionTensor |
Matrix to hold working value of diffusion tensor approximation to the model. More... | |
ListType | m_JacobianVector |
Vector holding current jacobian value. More... | |
ListType | m_ParametersLowerBoundsVector |
Vector holding current parameters lower bounds. More... | |
ListType | m_ParametersUpperBoundsVector |
Vector holding current parameters upper bounds. More... | |
ListType | m_ParametersVector |
Vector holding current parameters vector. More... | |
Static Protected Attributes inherited from anima::BaseCompartment | |
static const unsigned int | m_SpaceDimension = 3 |
Definition at line 9 of file animaStaniszCompartment.h.
Definition at line 15 of file animaStaniszCompartment.h.
typedef itk::SmartPointer<const Self> anima::StaniszCompartment::ConstPointer |
Definition at line 17 of file animaStaniszCompartment.h.
Definition at line 20 of file animaStaniszCompartment.h.
Definition at line 18 of file animaStaniszCompartment.h.
typedef itk::SmartPointer<Self> anima::StaniszCompartment::Pointer |
Definition at line 16 of file animaStaniszCompartment.h.
Definition at line 13 of file animaStaniszCompartment.h.
Definition at line 14 of file animaStaniszCompartment.h.
Definition at line 19 of file animaStaniszCompartment.h.
|
inlineprotected |
Definition at line 56 of file animaStaniszCompartment.h.
|
inlineprotectedvirtual |
Definition at line 74 of file animaStaniszCompartment.h.
virtual::itk::LightObject::Pointer anima::StaniszCompartment::CreateAnother | ( | void | ) | const |
|
virtual |
Reimplemented from anima::BaseCompartment.
Definition at line 298 of file animaStaniszCompartment.cxx.
|
virtual |
Number of parameters to describe the model, these parameters will be self-contained, i.e. include fixed parameters for example.
Implements anima::BaseCompartment.
Definition at line 265 of file animaStaniszCompartment.cxx.
Referenced by GetCompartmentVector(), and SetCompartmentVector().
|
inlinevirtual |
Utility function to return compartment type without needing dynamic casts.
Implements anima::BaseCompartment.
Definition at line 28 of file animaStaniszCompartment.h.
References anima::Stanisz.
|
virtual |
Get compartment overall description vector, mainly for writing, should be self-contained.
Implements anima::BaseCompartment.
Definition at line 287 of file animaStaniszCompartment.cxx.
References anima::BaseCompartment::GetAxialDiffusivity(), GetCompartmentSize(), anima::BaseCompartment::GetTissueRadius(), and anima::BaseCompartment::m_CompartmentVector.
|
virtual |
Implements anima::BaseCompartment.
Definition at line 66 of file animaStaniszCompartment.cxx.
References anima::DiffusionGyromagneticRatio, anima::BaseCompartment::GetTissueRadius(), and UpdateSignals().
|
virtual |
Implements anima::BaseCompartment.
Definition at line 125 of file animaStaniszCompartment.cxx.
References anima::DiffusionBigDelta, anima::DiffusionGyromagneticRatio, anima::DiffusionSmallDelta, anima::GetGradientStrengthFromBValue(), anima::BaseCompartment::GetTissueRadius(), and UpdateSignals().
|
virtual |
Run-time type information (and related methods)
Reimplemented from anima::BaseCompartment.
|
virtual |
Number of optimized parameters: smaller than total number of parameters.
Implements anima::BaseCompartment.
Definition at line 270 of file animaStaniszCompartment.cxx.
Referenced by GetParameterLowerBounds(), GetParametersAsVector(), GetParameterUpperBounds(), GetSignalAttenuationJacobian(), and SetParametersFromVector().
|
virtual |
Implements anima::BaseCompartment.
Definition at line 202 of file animaStaniszCompartment.cxx.
References GetNumberOfParameters(), anima::BaseCompartment::m_ParametersLowerBoundsVector, anima::MCMDiffusivityLowerBound, and anima::MCMTissueRadiusLowerBound.
|
virtual |
Implements anima::BaseCompartment.
Definition at line 185 of file animaStaniszCompartment.cxx.
References anima::BaseCompartment::GetAxialDiffusivity(), GetNumberOfParameters(), anima::BaseCompartment::GetTissueRadius(), and anima::BaseCompartment::m_ParametersVector.
|
virtual |
Implements anima::BaseCompartment.
Definition at line 219 of file animaStaniszCompartment.cxx.
References GetNumberOfParameters(), anima::BaseCompartment::m_ParametersUpperBoundsVector, anima::MCMDiffusivityUpperBound, and anima::MCMTissueRadiusUpperBound.
|
virtual |
Implements anima::BaseCompartment.
Definition at line 84 of file animaStaniszCompartment.cxx.
References anima::DiffusionGyromagneticRatio, anima::BaseCompartment::GetAxialDiffusivity(), anima::GetBValueFromAcquisitionParameters(), GetNumberOfParameters(), anima::BaseCompartment::GetTissueRadius(), anima::BaseCompartment::m_JacobianVector, and UpdateSignals().
|
inlinevirtual |
Reimplemented from anima::BaseCompartment.
Definition at line 52 of file animaStaniszCompartment.h.
|
static |
|
virtual |
Reimplemented from anima::BaseCompartment.
Definition at line 160 of file animaStaniszCompartment.cxx.
References anima::BaseCompartment::GetAxialDiffusivity(), and anima::BaseCompartment::SetAxialDiffusivity().
Referenced by SetCompartmentVector(), and SetParametersFromVector().
|
virtual |
Set compartment overall description vector, for setting automatically the individual parameters when reading from disk.
Implements anima::BaseCompartment.
Definition at line 254 of file animaStaniszCompartment.cxx.
References GetCompartmentSize(), SetAxialDiffusivity(), and SetTissueRadius().
void anima::StaniszCompartment::SetEstimateAxialDiffusivity | ( | bool | arg | ) |
Definition at line 236 of file animaStaniszCompartment.cxx.
void anima::StaniszCompartment::SetEstimateTissueRadius | ( | bool | arg | ) |
Definition at line 245 of file animaStaniszCompartment.cxx.
|
virtual |
Various methods for optimization parameters setting and getting.
Implements anima::BaseCompartment.
Definition at line 169 of file animaStaniszCompartment.cxx.
References GetNumberOfParameters(), SetAxialDiffusivity(), and SetTissueRadius().
|
virtual |
Reimplemented from anima::BaseCompartment.
Definition at line 151 of file animaStaniszCompartment.cxx.
References anima::BaseCompartment::GetTissueRadius(), and anima::BaseCompartment::SetTissueRadius().
Referenced by SetCompartmentVector(), and SetParametersFromVector().
|
protected |
Definition at line 9 of file animaStaniszCompartment.cxx.
References anima::DiffusionGyromagneticRatio, anima::BaseCompartment::GetAxialDiffusivity(), and anima::BaseCompartment::GetTissueRadius().
Referenced by GetFourierTransformedDiffusionProfile(), GetLogDiffusionProfile(), and GetSignalAttenuationJacobian().