17 #ifndef __itkTotalVariationDenoisingImageFilter_h
18 #define __itkTotalVariationDenoisingImageFilter_h
20 #include "itkCastImageFilter.h"
22 #include "itkImageToImageFilter.h"
39 template <
class TInputImage,
class TOutputImage>
53 typedef ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
58 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
74 typedef typename
itk::CastImageFilter<TInputImage, TOutputImage>
CastType;
76 itkSetMacro(Lambda,
double);
77 itkGetMacro(Lambda,
double);
79 itkSetMacro(NumberIterations,
int);
80 itkGetMacro(NumberIterations,
int);
83 TotalVariationDenoisingImageFilter();
84 virtual ~TotalVariationDenoisingImageFilter() {}
85 void PrintSelf(std::ostream &os, Indent indent)
const;
95 void operator=(
const Self &);
100 #ifndef ITK_MANUAL_INSTANTIATION
104 #endif //__itkTotalVariationDenoisingImageFilter__
InputImageType::SizeType InputSizeType
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
TOutputImage OutputImageType
InputImageType::RegionType InputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const
Applies a total variation denoising filter to an image.
itk::CastImageFilter< TInputImage, TOutputImage > CastType
OutputImageType::PixelType OutputPixelType
InputImageType::PixelType InputPixelType
TotalVariationDenoisingImageFilter()
TInputImage InputImageType