17 #ifndef ITKSPLITDWIMAGEFILTER_H
18 #define ITKSPLITDWIMAGEFILTER_H
20 #include "itkImageToImageFilter.h"
21 #include <itkVectorImage.h>
36 template<
class TInputImagePixelType,
37 class TOutputImagePixelType >
39 public ImageToImageFilter< VectorImage<TInputImagePixelType, 3>,
40 Image< TOutputImagePixelType, 4 > >
51 typedef ImageToImageFilter< VectorImage<TInputImagePixelType, 3>,
64 itkFactorylessNewMacro(Self)
149 #ifndef ITK_MANUAL_INSTANTIATION
153 #endif // ITKSPLITDWIMAGEFILTER_H
Image< TOutputImagePixelType, 4 > OutputImageType
TOutputImagePixelType OutputPixelType
SmartPointer< const Self > ConstPointer
OutputImageType::RegionType OutputImageRegionType
const IndexListType GetIndexList() const
Returns the index list used for extraction.
ImageToImageFilter< VectorImage< TInputImagePixelType, 3 >, Image< TOutputImagePixelType, 4 > > Superclass
std::map< unsigned int, IndexListType > BValueMapType
itk::Image< double, 3 > InputImageType
TInputImagePixelType InputPixelType
virtual void CopyInformation(const DataObject *data)
Splits a DW-Image passed in as input into a 3D-t image where each volume coresponds to a gradient ima...
IndexListType m_IndexList
std::vector< unsigned int > IndexListType
virtual ~SplitDWImageFilter()
SmartPointer< Self > Pointer
void SetExtractAllAboveThreshold(double b_threshold, BValueMapType map)
Selects only the weighted images with b-value above the given b_threshold to be extracted.
virtual void GenerateOutputInformation()
void SetExtractSingleShell(double b_value, BValueMapType map, double tol)
SetExtractSingleShell.
void SetExtractIndices(IndexListType list)
Set the indices of the images to be extracted.
void SetExtractAll()
Extract all images.
Superclass::InputImageType InputImageType