ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkDiffusionTensor3DReconstructionImageFilter.h>
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.
n
gradient images, you would use the class as * \li ftp://public.kitware.com/pub/namic/DTI/Data/dwi.nhdr * \li ftp://public.kitware.com/pub/namic/DTI/Data/dwi.img.gz ( gunzip this ) *
Definition at line 126 of file itkDiffusionTensor3DReconstructionImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types | |
enum | GradientImageTypeEnumeration { GradientIsInASingleImage = 1, GradientIsInManyImages, Else } |
Protected Types inherited from itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Private Attributes | |
CoefficientMatrixType | m_BMatrix |
TTensorPixelType | m_BValue |
GradientDirectionContainerType::Pointer | m_GradientDirectionContainer |
GradientImageTypeEnumeration | m_GradientImageTypeEnumeration |
bool | m_MaskImagePresent |
unsigned int | m_NumberOfBaselineImages |
unsigned int | m_NumberOfGradientDirections |
TensorBasisMatrixType | m_TensorBasis |
ReferencePixelType | m_Threshold |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< Image< DiffusionTensor3D< TTensorPixelType >, 3 > > | |
static const unsigned int | OutputImageDimension |
Static Protected Member Functions inherited from itk::ImageSource< Image< DiffusionTensor3D< TTensorPixelType >, 3 > > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef vnl_matrix< double > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::CoefficientMatrixType |
Definition at line 181 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef SmartPointer< const Self > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ConstPointer |
Definition at line 134 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef VectorContainer< unsigned int, GradientDirectionType > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientDirectionContainerType |
Container to hold gradient directions of the 'n' DW measurements
Definition at line 188 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef vnl_vector_fixed< double, 3 > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientDirectionType |
Holds each magnetic field gradient used to acquire one DWImage
Definition at line 184 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef VectorImage< GradientPixelType, 3 > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::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)
Definition at line 170 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef Image< GradientPixelType, 3 > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientImageType |
Typedef defining one (of the many) gradient images.
Definition at line 164 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef TGradientImagePixelType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientPixelType |
Definition at line 148 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef TMaskImageType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::MaskImageType |
The type for the optional mask image
Definition at line 176 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef SpatialObject<3> itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::MaskSpatialObjectType |
The type for the optional SpatialObject for masking
Definition at line 173 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef Superclass::OutputImageRegionType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::OutputImageRegionType |
Definition at line 161 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef TensorImageType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::OutputImageType |
Definition at line 158 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef SmartPointer< Self > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::Pointer |
Definition at line 133 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef Superclass::InputImageType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ReferenceImageType |
Reference image data, This image is acquired in the absence of a diffusion sensitizing field gradient
Definition at line 154 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef TReferenceImagePixelType itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::ReferencePixelType |
Definition at line 144 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef DiffusionTensor3DReconstructionImageFilter itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::Self |
Definition at line 132 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::Superclass |
Definition at line 137 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef vnl_matrix_fixed< double, 6, 6 > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::TensorBasisMatrixType |
Holds the tensor basis coefficients G_k
Definition at line 179 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef Image< TensorPixelType, 3 > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::TensorImageType |
Definition at line 156 of file itkDiffusionTensor3DReconstructionImageFilter.h.
typedef DiffusionTensor3D< TTensorPixelType > itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::TensorPixelType |
Definition at line 150 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
protected |
enum to indicate if the gradient image is specified as a single multi- component image or as several separate images
Enumerator | |
---|---|
GradientIsInASingleImage | |
GradientIsInManyImages | |
Else |
Definition at line 298 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 286 of file itkDiffusionTensor3DReconstructionImageFilter.h.
void itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::AddGradientImage | ( | const GradientDirectionType & | , |
const GradientImageType * | image | ||
) |
Set method to add a gradient direction and its corresponding image.
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageSource< Image< DiffusionTensor3D< TTensorPixelType >, 3 > >.
|
protected |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
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.
|
inlinevirtual |
Return the gradient direction. idx is 0 based
Definition at line 223 of file itkDiffusionTensor3DReconstructionImageFilter.h.
References itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::m_GradientDirectionContainer, and itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::m_NumberOfGradientDirections.
const GradientImageType* itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GetGradientImage | ( | unsigned | index | ) | const |
Set method to add a gradient direction and its corresponding image.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >.
|
inlinevirtual |
Get reference image
Definition at line 219 of file itkDiffusionTensor3DReconstructionImageFilter.h.
References itk::ProcessObject::GetInput().
|
virtual |
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.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >.
|
virtual |
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.
void itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::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.
void itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::SetMaskImage | ( | MaskImageType * | maskImage | ) |
set an image mask
void itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::SetMaskSpatialObject | ( | MaskSpatialObjectType * | maskSpatialObject | ) |
set a spatial object mask
|
inline |
Set method to set the reference image.
Definition at line 205 of file itkDiffusionTensor3DReconstructionImageFilter.h.
References itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientIsInASingleImage, itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::GradientIsInManyImages, itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::m_GradientImageTypeEnumeration, and itk::ProcessObject::SetNthInput().
|
virtual |
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.
|
overrideprotected |
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::EqualityComparable< ReferencePixelType > | ) |
This class requires ReferenceEqualityComparableCheck in the form of ( Concept::EqualityComparable< ReferencePixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::EqualityComparable< TensorPixelType > | ) |
This class requires TensorEqualityComparableCheck in the form of ( Concept::EqualityComparable< TensorPixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::Convertible< GradientPixelType, double > | ) |
This class requires GradientConvertibleToDoubleCheck in the form of ( Concept::Convertible< GradientPixelType, double > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::Convertible< double, TensorPixelType > | ) |
This class requires DoubleConvertibleToTensorCheck in the form of ( Concept::Convertible< double, TensorPixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::AdditiveOperators< GradientPixelType, GradientPixelType, ReferencePixelType > | ) |
This class requires GradientReferenceAdditiveOperatorsCheck in the form of ( Concept::AdditiveOperators< GradientPixelType, GradientPixelType, ReferencePixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::AdditiveAndAssignOperators< GradientPixelType, ReferencePixelType > | ) |
This class requires GradientReferenceAdditiveAndAssignOperatorsCheck in the form of ( Concept::AdditiveAndAssignOperators< GradientPixelType, ReferencePixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::OStreamWritable< ReferencePixelType > | ) |
This class requires ReferenceOStreamWritableCheck in the form of ( Concept::OStreamWritable< ReferencePixelType > )
itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType, TMaskImageType >::typedef | ( | Concept::OStreamWritable< TensorPixelType > | ) |
This class requires TensorOStreamWritableCheck in the form of ( Concept::OStreamWritable< TensorPixelType > )
|
private |
Definition at line 309 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
LeBihan's b-value for normalizing tensors
Definition at line 324 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
container to hold gradient directions
Definition at line 312 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Gradient image was specified in a single image or in multiple images
Definition at line 327 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Mask Image Present
Definition at line 330 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Number of baseline images
Definition at line 318 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Number of gradient measurements
Definition at line 315 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Definition at line 307 of file itkDiffusionTensor3DReconstructionImageFilter.h.
|
private |
Threshold on the reference image data
Definition at line 321 of file itkDiffusionTensor3DReconstructionImageFilter.h.