Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Splits a DW-Image passed in as input into a 3D-t image where each volume coresponds to a gradient image ( or the unweighted b0 ) More...
#include <itkSplitDWImageFilter.h>
Public Types | |
typedef SplitDWImageFilter | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImagePixelType | InputPixelType |
typedef TOutputImagePixelType | OutputPixelType |
typedef ImageToImageFilter< VectorImage< TInputImagePixelType, 3 >, Image< TOutputImagePixelType, 4 > > | Superclass |
typedef Superclass::InputImageType | InputImageType |
typedef Image< TOutputImagePixelType, 4 > | OutputImageType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef std::vector< unsigned int > | IndexListType |
typedef std::map< unsigned int, IndexListType > | BValueMapType |
Public Member Functions | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
void | SetExtractIndices (IndexListType list) |
Set the indices of the images to be extracted. More... | |
void | SetExtractAll () |
Extract all images. More... | |
void | SetExtractAllAboveThreshold (double b_threshold, BValueMapType map) |
Selects only the weighted images with b-value above the given b_threshold to be extracted. More... | |
void | SetExtractSingleShell (double b_value, BValueMapType map, double tol) |
SetExtractSingleShell. More... | |
const IndexListType | GetIndexList () const |
Returns the index list used for extraction. More... | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
SplitDWImageFilter () | |
virtual | ~SplitDWImageFilter () |
void | GenerateData () |
virtual void | CopyInformation (const DataObject *data) |
virtual void | GenerateOutputInformation () |
Protected Attributes | |
IndexListType | m_IndexList |
bool | m_ExtractAllImages |
Splits a DW-Image passed in as input into a 3D-t image where each volume coresponds to a gradient image ( or the unweighted b0 )
Several applications require to get the gradient images as a separate volume, f.e. the registration for head-motion correction. Also a reduction of the DW Image is possible when combined with its counterpart filter, the
Definition at line 38 of file itkSplitDWImageFilter.h.
typedef std::map< unsigned int, IndexListType> itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::BValueMapType |
Definition at line 61 of file itkSplitDWImageFilter.h.
typedef SmartPointer<const Self> itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::ConstPointer |
Definition at line 46 of file itkSplitDWImageFilter.h.
typedef std::vector< unsigned int > itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::IndexListType |
Definition at line 60 of file itkSplitDWImageFilter.h.
typedef Superclass::InputImageType itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::InputImageType |
typedefs from superclass
Definition at line 55 of file itkSplitDWImageFilter.h.
typedef TInputImagePixelType itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::InputPixelType |
Definition at line 48 of file itkSplitDWImageFilter.h.
typedef OutputImageType::RegionType itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::OutputImageRegionType |
Definition at line 58 of file itkSplitDWImageFilter.h.
typedef Image< TOutputImagePixelType, 4 > itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::OutputImageType |
Definition at line 57 of file itkSplitDWImageFilter.h.
typedef TOutputImagePixelType itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::OutputPixelType |
Definition at line 49 of file itkSplitDWImageFilter.h.
typedef SmartPointer<Self> itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::Pointer |
Definition at line 45 of file itkSplitDWImageFilter.h.
typedef SplitDWImageFilter itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::Self |
Definition at line 44 of file itkSplitDWImageFilter.h.
typedef ImageToImageFilter< VectorImage<TInputImagePixelType, 3>, Image< TOutputImagePixelType, 4 > > itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::Superclass |
Definition at line 52 of file itkSplitDWImageFilter.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 127 of file itkSplitDWImageFilter.h.
Pointer itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::Clone | ( | ) | const |
|
protectedvirtual |
The dimension of the output does not match the dimension of the input hence we need to re-implement the CopyInformation method to avoid executing the default implementation which tries to copy the input information to the output
|
protected |
|
protectedvirtual |
Override of the ProcessObject::GenerateOutputInformation() because of different dimensionality of the input and the output
|
virtual |
Runtime information support.
|
inline |
Returns the index list used for extraction.
The list is necessary for further processing, especially when a b-value threshold is used ( like in
Definition at line 119 of file itkSplitDWImageFilter.h.
References itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::m_IndexList.
|
static |
Method for creation through the object factory.
|
inline |
Extract all images.
The same as setting SetExtractIndices( ) with [0,1,2,...,N]
Definition at line 85 of file itkSplitDWImageFilter.h.
References itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::m_ExtractAllImages.
void itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::SetExtractAllAboveThreshold | ( | double | b_threshold, |
BValueMapType | map | ||
) |
Selects only the weighted images with b-value above the given b_threshold to be extracted.
Setting b_threshold to 0 will do the same as
b_threshold | the minimal b-value to be extracted |
map | the map with b-values to the corresponding image |
|
inline |
Set the indices of the images to be extracted.
Definition at line 75 of file itkSplitDWImageFilter.h.
References itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::m_IndexList.
void itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::SetExtractSingleShell | ( | double | b_value, |
BValueMapType | map, | ||
double | tol | ||
) |
SetExtractSingleShell.
b_value | b-value of the shell to be extracted |
tol | the tolerance of the shell choice, i.e. all shells within [ b_value - tol, b_value + tol ] will be extracted |
|
protected |
Definition at line 144 of file itkSplitDWImageFilter.h.
Referenced by itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::SetExtractAll().
|
protected |
Definition at line 143 of file itkSplitDWImageFilter.h.
Referenced by itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::GetIndexList(), and itk::SplitDWImageFilter< TInputImagePixelType, TOutputImagePixelType >::SetExtractIndices().