Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This class takes as input one or more reference images (acquired in the absence of diffusion sensitizing gradients) and 'n' diffusion weighted images and their gradient directions and computes an image of orientation distribution functions (ODFs). More...
#include <itkDiffusionQballReconstructionImageFilter.h>
Public Types | |
enum | Normalization { QBR_STANDARD, QBR_B_ZERO_B_VALUE, QBR_B_ZERO, QBR_NONE } |
typedef DiffusionQballReconstructionImageFilter | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< Vector< TOdfPixelType, NrOdfDirections >, 3 > > | Superclass |
typedef TReferenceImagePixelType | ReferencePixelType |
typedef TGradientImagePixelType | GradientPixelType |
typedef Vector< TOdfPixelType, NrOdfDirections > | OdfPixelType |
typedef Superclass::InputImageType | ReferenceImageType |
typedef Image< OdfPixelType, 3 > | OdfImageType |
typedef OdfImageType | OutputImageType |
typedef TOdfPixelType | BZeroPixelType |
typedef Image< BZeroPixelType, 3 > | BZeroImageType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Image< GradientPixelType, 3 > | GradientImageType |
typedef VectorImage< GradientPixelType, 3 > | GradientImagesType |
typedef vnl_matrix< TOdfPixelType > * | OdfReconstructionMatrixType |
typedef vnl_vector_fixed< double, 3 > | GradientDirectionType |
typedef VectorContainer< unsigned int, GradientDirectionType > | GradientDirectionContainerType |
Public Member Functions | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
itkStaticConstMacro (NOdfDirections, int, NrOdfDirections) | |
itkStaticConstMacro (NBasisFunctionCenters, int, NrBasisFunctionCenters) | |
void | AddGradientImage (const GradientDirectionType &, const GradientImageType *image) |
void | SetGradientImage (const GradientDirectionContainerType *, const GradientImagesType *image) |
void | SetReferenceImage (ReferenceImageType *referenceImage) |
virtual ReferenceImageType * | GetReferenceImage () |
virtual GradientDirectionType | GetGradientDirection (unsigned int idx) const |
OdfPixelType | Normalize (OdfPixelType odf, typename NumericTraits< ReferencePixelType >::AccumulateType b0) |
vnl_vector< TOdfPixelType > | PreNormalize (vnl_vector< TOdfPixelType > vec) |
virtual void | SetThreshold (ReferencePixelType _arg) |
virtual ReferencePixelType | GetThreshold () |
virtual void | SetNormalizationMethod (Normalization _arg) |
virtual Normalization | GetNormalizationMethod () |
virtual BZeroImageType::Pointer | GetBZeroImage () |
virtual void | SetBValue (TOdfPixelType _arg) |
virtual const TOdfPixelType & | GetBValue () |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
enum | GradientImageTypeEnumeration { GradientIsInASingleImage, GradientIsInManyImages, Else } |
Protected Member Functions | |
DiffusionQballReconstructionImageFilter () | |
~DiffusionQballReconstructionImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ComputeReconstructionMatrix () |
void | BeforeThreadedGenerateData () |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType) |
This class takes as input one or more reference images (acquired in the absence of diffusion sensitizing gradients) and 'n' diffusion weighted images and their gradient directions and computes an image of orientation distribution functions (ODFs).
n
gradient images, you would use the class as Definition at line 100 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Image< BZeroPixelType, 3 > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::BZeroImageType |
Definition at line 157 of file itkDiffusionQballReconstructionImageFilter.h.
typedef TOdfPixelType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::BZeroPixelType |
Definition at line 155 of file itkDiffusionQballReconstructionImageFilter.h.
typedef SmartPointer<const Self> itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::ConstPointer |
Definition at line 127 of file itkDiffusionQballReconstructionImageFilter.h.
typedef VectorContainer< unsigned int, GradientDirectionType > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientDirectionContainerType |
Container to hold gradient directions of the 'n' DW measurements
Definition at line 180 of file itkDiffusionQballReconstructionImageFilter.h.
typedef vnl_vector_fixed< double, 3 > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientDirectionType |
Holds each magnetic field gradient used to acquire one DWImage
Definition at line 176 of file itkDiffusionQballReconstructionImageFilter.h.
typedef VectorImage< GradientPixelType, 3 > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::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 169 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Image< GradientPixelType, 3 > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientImageType |
Typedef defining one (of the many) gradient images.
Definition at line 163 of file itkDiffusionQballReconstructionImageFilter.h.
typedef TGradientImagePixelType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientPixelType |
Definition at line 142 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Image< OdfPixelType, 3 > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::OdfImageType |
Definition at line 151 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Vector< TOdfPixelType, NrOdfDirections > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::OdfPixelType |
Definition at line 145 of file itkDiffusionQballReconstructionImageFilter.h.
typedef vnl_matrix< TOdfPixelType >* itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::OdfReconstructionMatrixType |
Holds the ODF reconstruction matrix
Definition at line 173 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Superclass::OutputImageRegionType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::OutputImageRegionType |
Definition at line 160 of file itkDiffusionQballReconstructionImageFilter.h.
typedef OdfImageType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::OutputImageType |
Definition at line 153 of file itkDiffusionQballReconstructionImageFilter.h.
typedef SmartPointer<Self> itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::Pointer |
Definition at line 126 of file itkDiffusionQballReconstructionImageFilter.h.
typedef Superclass::InputImageType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::ReferenceImageType |
Reference image data, This image is aquired in the absence of a diffusion sensitizing field gradient
Definition at line 149 of file itkDiffusionQballReconstructionImageFilter.h.
typedef TReferenceImagePixelType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::ReferencePixelType |
Definition at line 138 of file itkDiffusionQballReconstructionImageFilter.h.
typedef DiffusionQballReconstructionImageFilter itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::Self |
Definition at line 125 of file itkDiffusionQballReconstructionImageFilter.h.
typedef ImageToImageFilter< Image< TReferenceImagePixelType, 3>, Image< Vector< TOdfPixelType, NrOdfDirections >, 3 > > itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::Superclass |
Definition at line 130 of file itkDiffusionQballReconstructionImageFilter.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 289 of file itkDiffusionQballReconstructionImageFilter.h.
enum itk::DiffusionQballReconstructionImageFilter::Normalization |
Enumerator | |
---|---|
QBR_STANDARD | |
QBR_B_ZERO_B_VALUE | |
QBR_B_ZERO | |
QBR_NONE |
Definition at line 118 of file itkDiffusionQballReconstructionImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 277 of file itkDiffusionQballReconstructionImageFilter.h.
void itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::AddGradientImage | ( | const GradientDirectionType & | , |
const GradientImageType * | image | ||
) |
Set method to add a gradient direction and its corresponding image.
|
protected |
Pointer itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::Clone | ( | ) | const |
|
protected |
constructs reconstrion matrix according to Tuch's algorithm
|
virtual |
|
virtual |
Output image with b-zero weighted images
|
virtual |
Runtime information support.
|
inlinevirtual |
Return the gradient direction. idx is 0 based
Definition at line 216 of file itkDiffusionQballReconstructionImageFilter.h.
|
virtual |
|
inlinevirtual |
Get reference image
Definition at line 212 of file itkDiffusionQballReconstructionImageFilter.h.
|
virtual |
itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::itkStaticConstMacro | ( | NOdfDirections | , |
int | , | ||
NrOdfDirections | |||
) |
itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::itkStaticConstMacro | ( | NBasisFunctionCenters | , |
int | , | ||
NrBasisFunctionCenters | |||
) |
|
static |
Method for creation through the object factory.
OdfPixelType itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::Normalize | ( | OdfPixelType | odf, |
typename NumericTraits< ReferencePixelType >::AccumulateType | b0 | ||
) |
Normalization performed on the reconstructed ODF according to method set in m_NormalizationMethod
vnl_vector<TOdfPixelType> itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::PreNormalize | ( | vnl_vector< TOdfPixelType > | vec | ) |
Normalization performed on diffusion signal vector according to method set in m_NormalizationMethod
|
protected |
|
virtual |
B-value used to acquire the diffusion signal
void itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::SetGradientImage | ( | const 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.
|
virtual |
Normalization applied to ODFs
|
inline |
Set method to set the reference image.
Definition at line 198 of file itkDiffusionQballReconstructionImageFilter.h.
References itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientIsInASingleImage, and itk::DiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NrOdfDirections, NrBasisFunctionCenters >::GradientIsInManyImages.
|
virtual |
Threshold on the reference image data. The output ODF will be a null pdf for pixels in the reference image that have a value less than this threshold.
|
protected |