Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/vtkTeem/vtkDiffusionTensorMathematics.h>
Public Member Functions | |
void | ComputeTensorIncrements (vtkImageData *imageData, vtkIdType incr[3]) |
virtual void | ExtractEigenvaluesOff () |
virtual void | ExtractEigenvaluesOn () |
virtual void | FixNegativeEigenvaluesOff () |
virtual void | FixNegativeEigenvaluesOn () |
virtual const char * | GetClassName () |
virtual int | GetExtractEigenvalues () |
virtual int | GetFixNegativeEigenvalues () |
virtual int | GetMaskLabelValue () |
virtual int | GetMaskWithScalars () |
virtual int | GetOperation () |
Get the Operation to perform. More... | |
virtual vtkImageData * | GetScalarMask () |
virtual double | GetScaleFactor () |
virtual vtkMatrix4x4 * | GetTensorRotationMatrix () |
virtual int | IsA (const char *type) |
virtual void | MaskWithScalarsOff () |
virtual void | MaskWithScalarsOn () |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetExtractEigenvalues (int) |
Turn on/off extraction of eigenvalues from tensor. More... | |
virtual void | SetFixNegativeEigenvalues (int) |
virtual void | SetMaskLabelValue (int) |
Label value defining ROI for mask. More... | |
virtual void | SetMaskWithScalars (int) |
virtual void | SetOperation (int) |
void | SetOperationToColorByMode () |
void | SetOperationToColorByOrientation () |
void | SetOperationToD11 () |
Output a matrix (tensor) component. More... | |
void | SetOperationToD22 () |
void | SetOperationToD33 () |
void | SetOperationToDeterminant () |
Output the determinant. More... | |
void | SetOperationToFractionalAnisotropy () |
void | SetOperationToLinearMeasure () |
void | SetOperationToMaxEigenvalue () |
Output a selected eigenvalue. More... | |
void | SetOperationToMaxEigenvalueProjectionX () |
Output Maxeigenvalue*Maxeigenvec_projection also known as L1Z. More... | |
void | SetOperationToMaxEigenvalueProjectionY () |
void | SetOperationToMaxEigenvalueProjectionZ () |
void | SetOperationToMaxEigenvecX () |
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z. More... | |
void | SetOperationToMaxEigenvecY () |
void | SetOperationToMaxEigenvecZ () |
void | SetOperationToMeanDiffusivity () |
void | SetOperationToMiddleEigenvalue () |
void | SetOperationToMinEigenvalue () |
void | SetOperationToMode () |
void | SetOperationToParallelDiffusivity () |
void | SetOperationToPerpendicularDiffusivity () |
void | SetOperationToPlanarMeasure () |
void | SetOperationToRAIMaxEigenvecX () |
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z. More... | |
void | SetOperationToRAIMaxEigenvecY () |
void | SetOperationToRAIMaxEigenvecZ () |
void | SetOperationToRelativeAnisotropy () |
Output various anisotropy and shape measures. More... | |
void | SetOperationToSphericalMeasure () |
void | SetOperationToTrace () |
Output the trace (sum of eigenvalues = sum along diagonal) More... | |
virtual void | SetScalarMask (vtkImageData *) |
Scalar mask. More... | |
virtual void | SetScaleFactor (double) |
virtual void | SetTensorRotationMatrix (vtkMatrix4x4 *) |
Static Public Member Functions | |
static void | ColorByMode (double w[3], double &R, double &G, double &B) |
static double | Determinant (double D[3][3]) |
static int | FixNegativeEigenvaluesMethod (double w[3]) |
Helper functions to perform operations pixel-wise. More... | |
static double | FractionalAnisotropy (double w[3]) |
static int | IsTypeOf (const char *type) |
static double | LinearMeasure (double w[3]) |
static double | MaxEigenvalue (double w[3]) |
static double | MaxEigenvalueProjectionX (double **v, double w[3]) |
static double | MaxEigenvalueProjectionY (double **v, double w[3]) |
static double | MaxEigenvalueProjectionZ (double **v, double w[3]) |
static double | MaxEigenvecX (double **v, double w[3]) |
static double | MaxEigenvecY (double **v, double w[3]) |
static double | MaxEigenvecZ (double **v, double w[3]) |
static double | MeanDiffusivity (double w[3]) |
static double | MiddleEigenvalue (double w[3]) |
static double | MinEigenvalue (double w[3]) |
static double | Mode (double w[3]) |
static void | ModeToRGB (double Mode, double FA, double &R, double &G, double &B) |
Public for access from threads. More... | |
static vtkDiffusionTensorMathematics * | New () |
static double | ParallelDiffusivity (double w[3]) |
static double | PerpendicularDiffusivity (double w[3]) |
static double | PlanarMeasure (double w[3]) |
static double | RAIMaxEigenvecX (double **v, double w[3]) |
static double | RAIMaxEigenvecY (double **v, double w[3]) |
static double | RAIMaxEigenvecZ (double **v, double w[3]) |
static double | RelativeAnisotropy (double w[3]) |
static void | RGBToIndex (double R, double G, double B, double &index) |
static vtkDiffusionTensorMathematics * | SafeDownCast (vtkObject *o) |
static double | SphericalMeasure (double w[3]) |
static int | TeemEigenSolver (double **m, double *w, double **v) |
static double | Trace (double D[3][3]) |
static double | Trace (double w[3]) |
Protected Member Functions | |
int | FillInputPortInformation (int port, vtkInformation *info) VTK_OVERRIDE |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) VTK_OVERRIDE |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE |
virtual void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) VTK_OVERRIDE |
vtkDiffusionTensorMathematics () | |
~vtkDiffusionTensorMathematics () | |
Protected Attributes | |
int | ExtractEigenvalues |
Scale factor for output scalars. More... | |
int | FixNegativeEigenvalues |
int | MaskLabelValue |
int | MaskWithScalars |
Boolean controls eigenfunction extraction. More... | |
int | Operation |
vtkImageData * | ScalarMask |
double | ScaleFactor |
math operation to perform More... | |
vtkMatrix4x4 * | TensorRotationMatrix |
Definition at line 37 of file vtkDiffusionTensorMathematics.h.
typedef vtkThreadedImageAlgorithm vtkDiffusionTensorMathematics::Superclass |
Definition at line 41 of file vtkDiffusionTensorMathematics.h.
anonymous enum |
Operation options.
Definition at line 45 of file vtkDiffusionTensorMathematics.h.
|
protected |
|
protected |
|
static |
void vtkDiffusionTensorMathematics::ComputeTensorIncrements | ( | vtkImageData * | imageData, |
vtkIdType | incr[3] | ||
) |
|
static |
|
virtual |
|
virtual |
|
protected |
|
static |
Helper functions to perform operations pixel-wise.
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the Operation to perform.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
virtual |
|
virtual |
Description Input scalars are a binary mask: 0 prevents display of tensor quantity at that point
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Public for access from threads.
|
static |
|
static |
|
static |
|
static |
void vtkDiffusionTensorMathematics::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
static |
|
static |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
static |
|
static |
|
virtual |
Turn on/off extraction of eigenvalues from tensor.
|
virtual |
|
virtual |
Label value defining ROI for mask.
|
virtual |
|
virtual |
|
inline |
Output RGB color according to colormapping of mode, with final RGB being a linear combination of gray and this color. Amount of gray is determined by FA. Thanks to Gordon Lothar Kindlmann for this method.
Definition at line 174 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output RGB color according to XYZ of eigenvectors. Output A (alpha, or transparency) according to anisotropy (1-spherical measure).
Definition at line 166 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output a matrix (tensor) component.
Definition at line 155 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 157 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 159 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output the determinant.
Definition at line 90 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 97 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 99 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output a selected eigenvalue.
Definition at line 118 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output Maxeigenvalue*Maxeigenvec_projection also known as L1Z.
Definition at line 127 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 129 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 131 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z.
Definition at line 145 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 147 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 149 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 113 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 120 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 122 of file vtkDiffusionTensorMathematics.h.
|
inline |
This is the skewness of the eigenvalues (thanks to Gordon Lothar (of the Hill People) Kindlmann)
Definition at line 107 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 109 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 111 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 101 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z.
Definition at line 136 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 138 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 140 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output various anisotropy and shape measures.
Definition at line 95 of file vtkDiffusionTensorMathematics.h.
|
inline |
Definition at line 103 of file vtkDiffusionTensorMathematics.h.
|
inline |
Output the trace (sum of eigenvalues = sum along diagonal)
Definition at line 85 of file vtkDiffusionTensorMathematics.h.
|
virtual |
Scalar mask.
|
virtual |
Specify scale factor to scale output (float) scalars by. This is not used when the output is RGBA (char color data).
|
virtual |
Description This matrix is only used for ColorByOrientation. We transform the tensor orientation by this matrix before setting the output RGB values. This is useful to put the output colors into a standard coordinate system (i.e. RAS) regardless of the data scan order. Example usage is as follows: 1) If tensors are to be displayed in a coordinate system that is not IJK (array-based), and the whole volume is being rotated, each tensor needs also to be rotated. First find the matrix that positions your volume. (This is how the entire volume is positioned, not the matrix that positions an arbitrary reformatted slice.) 2) Remove scaling and translation from this matrix; we just need to rotate each tensor. 3) Set TensorRotationMatrix to this rotation matrix.
|
static |
|
static |
|
protectedvirtual |
|
static |
|
static |
|
protected |
Scale factor for output scalars.
Definition at line 279 of file vtkDiffusionTensorMathematics.h.
|
protected |
Definition at line 286 of file vtkDiffusionTensorMathematics.h.
|
protected |
Definition at line 283 of file vtkDiffusionTensorMathematics.h.
|
protected |
Boolean controls eigenfunction extraction.
Definition at line 281 of file vtkDiffusionTensorMathematics.h.
|
protected |
Definition at line 277 of file vtkDiffusionTensorMathematics.h.
|
protected |
Definition at line 282 of file vtkDiffusionTensorMathematics.h.
|
protected |
math operation to perform
Definition at line 278 of file vtkDiffusionTensorMathematics.h.
|
protected |
Definition at line 285 of file vtkDiffusionTensorMathematics.h.