18 #ifndef __itkAddNoiseToDWIImageFilter_h 19 #define __itkAddNoiseToDWIImageFilter_h 21 #include "itkImageToImageFilter.h" 33 template<
typename TInputImage,
typename TB0Image=Image<
double,3>,
34 typename TMaskImage=Image<
double,3> >
36 :
public ImageToImageFilter< TInputImage, TInputImage >
41 typedef ImageToImageFilter< TInputImage, TInputImage >
Superclass;
55 typedef typename InputImageType::PixelType
PixelType;
64 itkSetMacro(Sigma,
double);
65 itkGetMacro(Sigma,
double);
66 itkSetMacro(Noisetype, NoiseType);
67 itkGetMacro(Noisetype, NoiseType);
69 itkSetInputMacro(B0Image, B0ImageType);
70 itkSetInputMacro(MaskImage, MaskImageType);
72 itkGetInputMacro(B0Image, B0ImageType);
73 itkGetInputMacro(MaskImage, MaskImageType);
95 #define ITK_TEMPLATE_AddNoiseToDWIImageFilter(_, EXPORT, TypeX, TypeY) \ 98 _( 2 ( class EXPORT AddNoiseToDWIImageFilter< ITK_TEMPLATE_2 TypeX > ) ) \ 101 typedef AddNoiseToDWIImageFilter< ITK_TEMPLATE_2 TypeX > AddNoiseToDWIImageFilter##TypeY; \ 105 #if ITK_TEMPLATE_EXPLICIT 106 #include "Templates/itkAddNoiseToDWIImageFilter+-.h" 109 #if !defined(ITK_MANUAL_INSTANTIATION) && !defined(__itkAddNoiseToDWIImageFilter_hxx)
ImageToImageFilter< TInputImage, TInputImage > Superclass
SmartPointer< Self > Pointer
void operator=(const Self &)
InputImageType::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
AddNoiseToDWIImageFilter()
AddNoiseToDWIImageFilter Self
virtual void GenerateData() ITK_OVERRIDE
virtual ~AddNoiseToDWIImageFilter()
Superclass::InputImageType InputImageType