3 #include <itkImageToImageFilter.h> 4 #include <itkVectorImage.h> 10 template <
class PixelScalarType>
12 public itk::ImageToImageFilter < itk::VectorImage<PixelScalarType,3>, itk::VectorImage<PixelScalarType,3> >
24 typedef itk::ImageToImageFilter< TInputImage, TOutputImage >
Superclass;
49 itkGetMacro(S0Value,
double)
50 itkSetMacro(S0Value,
double)
52 itkSetMacro(S0Image, S0ImagePointer)
60 m_BValuesList.clear();
61 m_GradientDirections.clear();
78 std::vector <double> m_BValuesList;
79 std::vector < std::vector <double> > m_GradientDirections;
82 S0ImagePointer m_S0Image;
84 static const unsigned int m_NumberOfComponents = 6;
86 typename Image4DType::Pointer m_Output4D;
TInputImage OutputB0ImageType
Superclass::OutputImageRegionType OutputImageRegionType
bool isZero(InputPixelType &vec)
Image4DType * GetOutputAs4DImage()
itk::SmartPointer< Self > Pointer
itk::VectorImage< PixelScalarType, 3 > TOutputImage
void SetBValuesList(std::vector< double > bValuesList)
DWISimulatorFromDTIImageFilter()
void AddGradientDirection(unsigned int i, std::vector< double > &grad)
itk::SmartPointer< const Self > ConstPointer
Superclass::InputImageRegionType InputImageRegionType
DWISimulatorFromDTIImageFilter< PixelScalarType > Self
virtual ~DWISimulatorFromDTIImageFilter()
OutputImageType::Pointer OutputImagePointer
TOutputImage OutputImageType
itk::VectorImage< PixelScalarType, 3 > TInputImage
void GenerateOutputInformation() ITK_OVERRIDE
itk::VectorImage< PixelScalarType, 3 > DTIImageType
void BeforeThreadedGenerateData() ITK_OVERRIDE
itk::Image< PixelScalarType, 4 > Image4DType
itk::Image< PixelScalarType, 3 > S0ImageType
InputImageType::PixelType InputPixelType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage InputImageType
InputImageType::Pointer InputImagePointer
S0ImageType::Pointer S0ImagePointer
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE