18 #ifndef itkDiffusionTensor3D_h
19 #define itkDiffusionTensor3D_h
22 #ifdef DiffusionTensor3D
23 #undef DiffusionTensor3D
78 template<
typename TComponent >
107 template<
typename TCoordRepB >
112 Self & operator=(
const Superclass & r);
114 Self & operator=(
const ComponentType & r);
116 Self & operator=(
const ComponentArrayType r);
119 template<
typename TCoordRepB >
132 AccumulateValueType GetTrace()
const;
135 RealValueType GetFractionalAnisotropy()
const;
138 RealValueType GetRelativeAnisotropy()
const;
141 RealValueType GetInnerScalarProduct()
const;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkDiffusionTensor3D.hxx"
typename Superclass::ValueType ValueType
void swap(FixedArray &other)
A templated class holding a M x N size Matrix.
typename NumericTraits< ValueType >::RealType AccumulateValueType
DiffusionTensor3D(const DiffusionTensor3D< TCoordRepB > &pa)
typename Superclass::ComponentType ComponentType
typename Superclass::EigenValuesArrayType EigenValuesArrayType
Represent a symmetric tensor of second rank.
typename Superclass::ComponentArrayType ComponentArrayType
typename NumericTraits< ValueType >::RealType RealValueType
SymmetricSecondRankTensor & operator=(const SymmetricSecondRankTensor &)=default
typename Superclass::ValueType ValueType
Simulate a standard C array with copy semnatics.
Self & operator=(const DiffusionTensor3D< TCoordRepB > &pa)
void swap(Array< T > &a, Array< T > &b)
typename Superclass::RealValueType RealValueType
typename Superclass::AccumulateValueType AccumulateValueType
typename Superclass::EigenVectorsMatrixType EigenVectorsMatrixType
Represent a diffusion tensor as used in DTI images.