#include <itkSymmetricSecondRankTensor.h>
Inheritance diagram for itk::SymmetricSecondRankTensor< TComponent, NDimension >:


Public Types | |
| typedef SymmetricSecondRankTensor | Self |
| typedef FixedArray< TComponent, NDimension *(NDimension+1)/2 | Superclass ) |
| typedef FixedArray< TComponent, itkGetStaticConstMacro(InternalDimension) | BaseArray ) |
| typedef FixedArray< TComponent, NDimension > | EigenValuesArrayType |
| typedef Matrix< TComponent, NDimension, NDimension > | MatrixType |
| typedef Matrix< TComponent, NDimension, NDimension > | EigenVectorsMatrixType |
| typedef TComponent | ComponentType |
| typedef Superclass::ValueType | ValueType |
| typedef NumericTraits< ValueType >::RealType | AccumulateValueType |
| typedef NumericTraits< ValueType >::RealType | RealValueType |
| typedef SymmetricEigenAnalysis< MatrixType, EigenValuesArrayType, EigenVectorsMatrixType > | SymmetricEigenAnalysisType |
| typedef ComponentType | ComponentArrayType [itkGetStaticConstMacro(InternalDimension)] |
Public Member Functions | |
| SymmetricSecondRankTensor () | |
| SymmetricSecondRankTensor (const ComponentType &r) | |
| ComponentType | GetNthComponent (int c) const |
| void | SetNthComponent (int c, const ComponentType &v) |
| void | SetIdentity () |
| AccumulateValueType | GetTrace () const |
| void | ComputeEigenValues (EigenValuesArrayType &eigenValues) const |
| void | ComputeEigenAnalysis (EigenValuesArrayType &eigenValues, EigenVectorsMatrixType &eigenVectors) const |
| itkStaticConstMacro (Dimension, unsigned int, NDimension) | |
| itkStaticConstMacro (InternalDimension, unsigned int, NDimension *(NDimension+1)/2) | |
| SymmetricSecondRankTensor (const Self &r) | |
| SymmetricSecondRankTensor (const ComponentArrayType r) | |
| Self & | operator= (const Self &r) |
| Self & | operator= (const ComponentType &r) |
| Self & | operator= (const ComponentArrayType r) |
| Self | operator+ (const Self &vec) const |
| Self | operator- (const Self &vec) const |
| const Self & | operator+= (const Self &vec) |
| const Self & | operator-= (const Self &vec) |
| Self | operator * (const RealValueType &scalar) const |
| Self | operator/ (const RealValueType &scalar) const |
| const Self & | operator *= (const RealValueType &scalar) |
| const Self & | operator/= (const RealValueType &scalar) |
| ValueType & | operator() (unsigned int row, unsigned int col) |
| const ValueType & | operator() (unsigned int row, unsigned int col) const |
Static Public Member Functions | |
| unsigned int | GetNumberOfComponents () |
This class implements a ND symmetric tensor of second rank.
Since SymmetricSecondRankTensor is a subclass of FixedArray, you can access its components as:
typedef itk::SymmetricSecondRankTensor< float > TensorPixelType; TensorPixelType tensor;
tensor[0] = 1.233; tensor[1] = 1.456;
for convenience the indexed access is also available as
tensor(0,0) = 1.233; tensor(2,0) = 1.233;
The Tensor in principle represents a NxN matrix, but given that it is always symmetric the representation can be compacted into a N*(N+1)/2 elements array that derives from the itk::FixedArray<T>
Torsten Rohlfing from SRI International Neuroscience Program.
http://www.na-mic.org/Wiki/index.php/NAMIC_Wiki:DTI:ITK-DiffusionTensorPixelType
Definition at line 74 of file itkSymmetricSecondRankTensor.h.
|
|||||
|
Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 101 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Convenience typedefs. Definition at line 89 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 112 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Define the component type. Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 99 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Array of eigen-values. Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 92 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 96 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Matrix of eigen-vectors. Definition at line 95 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 102 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Standard class typedefs. Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 79 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 80 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
Definition at line 105 of file itkSymmetricSecondRankTensor.h. |
|
|||||
|
The element type stored at each location in the FixedArray. Reimplemented from itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >. Reimplemented in itk::DiffusionTensor3D< TComponent >. Definition at line 100 of file itkSymmetricSecondRankTensor.h. |
|
|||||||||
|
Default constructor has nothing to do. Definition at line 108 of file itkSymmetricSecondRankTensor.h. |
|
||||||||||
|
Definition at line 110 of file itkSymmetricSecondRankTensor.h. |
|
||||||||||
|
Pass-through constructor for the Array base class. Definition at line 115 of file itkSymmetricSecondRankTensor.h. |
|
||||||||||
|
Pass-through constructor for the Array base class. Definition at line 116 of file itkSymmetricSecondRankTensor.h. |
|
||||||||||||||||
|
Return an array containing EigenValues, and a matrix containing Eigen vectors. |
|
||||||||||
|
Return an array containing EigenValues. |
|
||||||||||
|
Return the value for the Nth component. Definition at line 146 of file itkSymmetricSecondRankTensor.h. |
|
|||||||||
|
Return the number of components. Definition at line 140 of file itkSymmetricSecondRankTensor.h. |
|
|||||||||
|
Get Trace value Reimplemented in itk::DiffusionTensor3D< TComponent >. |
|
||||||||||||||||||||
|
Dimension of the vector space. |
|
||||||||||||||||||||
|
Dimension of the vector space. |
|
||||||||||
|
Arithmetic operations between tensors and scalars |
|
||||||||||
|
Arithmetic operations between tensors and scalars |
|
||||||||||||||||
|
Matrix notation, in const and non-const forms. |
|
||||||||||||||||
|
Matrix notation, in const and non-const forms. |
|
||||||||||
|
Aritmetic operations between pixels. Return a new SymmetricSecondRankTensor. |
|
||||||||||
|
Aritmetic operations between pixels. Return a new SymmetricSecondRankTensor. |
|
||||||||||
|
Aritmetic operations between pixels. Return a new SymmetricSecondRankTensor. |
|
||||||||||
|
Aritmetic operations between pixels. Return a new SymmetricSecondRankTensor. |
|
||||||||||
|
Arithmetic operations between tensors and scalars |
|
||||||||||
|
Arithmetic operations between tensors and scalars |
|
||||||||||
|
Pass-through assignment operator for the Array base class. Reimplemented in itk::DiffusionTensor3D< TComponent >. |
|
||||||||||
|
Pass-through assignment operator for the Array base class. Reimplemented in itk::DiffusionTensor3D< TComponent >. |
|
||||||||||
|
Pass-through assignment operator for the Array base class. Reimplemented in itk::DiffusionTensor3D< TComponent >. |
|
|||||||||
|
Set the tensor to an identity tensor. This has 1 in its diagonal elements zero elsewhere |
|
||||||||||||||||
|
Set the Nth component to v. Definition at line 150 of file itkSymmetricSecondRankTensor.h. |
1.3.5 written by Dimitri van Heesch,
© 1997-2000