This class takes as input one or more reference image (acquired in the absence of diffusion sensitizing gradients) and 'n' diffusion weighted images and their gradient directions and computes an image of tensors. More...
#include <itkDiffusionTensor3DReconstructionImageFilter.h>
Public Types | |
typedef vnl_matrix< double > | CoefficientMatrixType |
typedef SmartPointer< const Self > | ConstPointer |
typedef VectorContainer< unsigned int, GradientDirectionType > | GradientDirectionContainerType |
Container to hold gradient directions of the 'n' DW measurements. | |
typedef vnl_vector_fixed< double, 3 > | GradientDirectionType |
Holds each magnetic field gradient used to acquire one DWImage. | |
typedef VectorImage< GradientPixelType, 3 > | GradientImagesType |
An alternative typedef defining one (of the many) gradient images. More... | |
typedef Image< GradientPixelType, 3 > | GradientImageType |
Typedef defining one (of the many) gradient images. More... | |
typedef TGradientImagePixelType | GradientPixelType |
typedef ImageMaskType::Pointer | ImageMaskPointer |
typedef SpatialObject< 3 > | ImageMaskType |
Type for the mask of the fixed image. More... | |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef TensorImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::InputImageType | ReferenceImageType |
Reference image data, This image is acquired in the absence of a diffusion sensitizing field gradient. | |
typedef TReferenceImagePixelType | ReferencePixelType |
typedef VectorImage< GradientPixelType, 3 > | ResidualImageType |
Typedef defining the residual image. More... | |
typedef ResidualImageType::PixelType | ResidualPixelType |
typedef DiffusionTensor3DReconstructionImageFilter | Self |
typedef ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > > | Superclass |
typedef vnl_matrix_fixed< double, 6, 6 > | TensorBasisInverseMatrixType |
typedef vnl_matrix_fixed< double, 6, 6 > | TensorBasisMatrixType |
Holds the tensor basis coefficients G_k. | |
typedef TensorPixelType::EigenValuesArrayType | TensorEigenValuesType |
typedef TensorPixelType::EigenVectorsMatrixType | TensorEigenVectorsType |
typedef Image< TensorPixelType, 3 > | TensorImageType |
typedef TensorPixelType::MatrixType | TensorMatrixType |
typedef DiffusionTensor3D< TTensorPixelType > | TensorPixelType |
Public Member Functions | |
void | AddGradientImage (const GradientDirectionType &, const GradientImageType *image) |
Set method to add a gradient direction and its corresponding image. More... | |
virtual GradientDirectionType | GetGradientDirection (unsigned int idx) const |
Return the gradient direction. More... | |
virtual ReferenceImageType * | GetReferenceImage () |
Get reference image. | |
itkGetConstObjectMacro (ImageMask, ImageMaskType) | |
itkGetConstObjectMacro (ResidualImage, ResidualImageType) | |
Get the Residual image . More... | |
itkGetConstReferenceMacro (BValue, TTensorPixelType) | |
itkGetMacro (Threshold, ReferencePixelType) | |
itkGetMacro (CalculateResidualImage, bool) | |
itkNewMacro (Self) | |
Method for creation through the object factory. More... | |
itkSetMacro (Threshold, ReferencePixelType) | |
Threshold on the reference image data. More... | |
itkSetMacro (CalculateResidualImage, bool) | |
Get/set compute residuals flag. More... | |
itkSetMacro (BValue, TTensorPixelType) | |
The BValue ![]() | |
itkSetObjectMacro (ImageMask, ImageMaskType) | |
Set/Get the image mask. More... | |
itkTypeMacro (DiffusionTensor3DReconstructionImageFilter, ImageToImageFilter) | |
Runtime information support. More... | |
void | SetGradientImage (GradientDirectionContainerType *, const GradientImagesType *image) |
Another set method to add a gradient directions and its corresponding image. More... | |
void | SetReferenceImage (ReferenceImageType *referenceImage) |
Set method to set the reference image. More... | |
Protected Types | |
enum | GradientImageTypeEnumeration { GradientIsInASingleImage = 1, GradientIsInManyImages, Else } |
enum to indicate if the gradient image is specified as a single multi- component image or as several separate images | |
This class takes as input one or more reference image (acquired in the absence of diffusion sensitizing gradients) and 'n' diffusion weighted images and their gradient directions and computes an image of tensors.
(with DiffusionTensor3D as the pixel type). Once that is done, you can apply filters on this tensor image to compute FA, ADC, RGB weighted maps etc.
sbia additions to itk DiffusionTensor3DRecon Filter added a spatial Object as a mask. added cludge to fix nonSPD tensors. at the moment only this just takes abs of any negative eigenvalues. Posible future direction is to include spd constrain when this occurs.
n
gradient images, you would use the class as typedef VectorImage< GradientPixelType, 3 > GradientImagesType |
An alternative typedef defining one (of the many) gradient images.
It will be assumed that the vectorImage has the same dimension as the Reference image and a vector length parameter of n
(number of gradient directions)
typedef Image< GradientPixelType, 3 > GradientImageType |
Typedef defining one (of the many) gradient images.
typedef SpatialObject< 3 > ImageMaskType |
Type for the mask of the fixed image.
Only pixels that are "inside" this mask will be considered for the computation of the metric
typedef VectorImage< GradientPixelType, 3 > ResidualImageType |
Typedef defining the residual image.
void AddGradientImage | ( | const GradientDirectionType & | , |
const GradientImageType * | image | ||
) |
Set method to add a gradient direction and its corresponding image.
|
inlinevirtual |
Return the gradient direction.
idx is 0 based
itkGetConstObjectMacro | ( | ResidualImage | , |
ResidualImageType | |||
) |
Get the Residual image .
itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itkSetMacro | ( | Threshold | , |
ReferencePixelType | |||
) |
Threshold on the reference image data.
The output tensor will be a null tensor for pixels in the reference image that have a value less than this threshold.
itkSetMacro | ( | CalculateResidualImage | , |
bool | |||
) |
Get/set compute residuals flag.
itkSetMacro | ( | BValue | , |
TTensorPixelType | |||
) |
The BValue value used in normalizing the tensors to physically meaningful units.
See equation (24) of the first reference for a description of how this is applied to the tensor estimation. Equation (1) of the same reference describes the physical significance.
itkSetObjectMacro | ( | ImageMask | , |
ImageMaskType | |||
) |
Set/Get the image mask.
itkTypeMacro | ( | DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType > | , |
ImageToImageFilter | |||
) |
Runtime information support.
void SetGradientImage | ( | GradientDirectionContainerType * | , |
const GradientImagesType * | image | ||
) |
Another set method to add a gradient directions and its corresponding image.
The image here is a VectorImage. The user is expected to pass the gradient directions in a container. The ith element of the container corresponds to the gradient direction of the ith component image the VectorImage. For the baseline image, a vector of all zeros should be set.
|
inline |
Set method to set the reference image.