13 #ifndef __itkTotalVariationDenoisingImageFilter_h 14 #define __itkTotalVariationDenoisingImageFilter_h 16 #include "itkCastImageFilter.h" 18 #include "itkImageToImageFilter.h" 35 template <
class TInputImage,
class TOutputImage>
49 typedef ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
54 itkFactorylessNewMacro(Self);
71 typedef typename itk::CastImageFilter<TInputImage, TOutputImage>
CastType;
73 itkSetMacro(Lambda,
double);
74 itkGetMacro(Lambda,
double);
76 itkSetMacro(NumberIterations,
int);
77 itkGetMacro(NumberIterations,
int);
82 void PrintSelf(std::ostream &os, Indent indent)
const override;
92 void operator=(
const Self &);
97 #ifndef ITK_MANUAL_INSTANTIATION 101 #endif //__itkTotalVariationDenoisingImageFilter__
InputImageType::SizeType InputSizeType
void PrintSelf(std::ostream &os, Indent indent) const override
OutputImageType::RegionType OutputImageRegionType
SmartPointer< const Self > ConstPointer
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
ImageToImageFilter< InputImageType, OutputImageType > Superclass
SmartPointer< Self > Pointer
Applies a total variation denoising filter to an image.
TotalVariationDenoisingImageFilter Self
TotalVariationSingleIterationImageFilter< TOutputImage, TOutputImage > SingleIterationFilterType
TOutputImage OutputImageType
InputImageType::RegionType InputImageRegionType
Applies a total variation denoising filter to an image.
itk::CastImageFilter< TInputImage, TOutputImage > CastType
OutputImageType::PixelType OutputPixelType
InputImageType::PixelType InputPixelType
TotalVariationDenoisingImageFilter()
TInputImage InputImageType
void GenerateData() override
~TotalVariationDenoisingImageFilter() override