17 #ifndef __itkLocalVariationImageFilter_h
18 #define __itkLocalVariationImageFilter_h
21 #include "itkImageToImageFilter.h"
25 template <
class TPixelType>
29 static double Calc(TPixelType p);
44 template <
class TInputImage,
class TOutputImage>
58 typedef ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
63 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
86 LocalVariationImageFilter();
87 virtual ~LocalVariationImageFilter() {}
88 void PrintSelf(std::ostream &os, Indent indent)
const;
104 void operator=(
const Self &);
109 #ifndef ITK_MANUAL_INSTANTIATION
113 #endif // LocalVariationImageFilter
InputImageType::RegionType InputImageRegionType
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputPixelType
Calculates the local variation in each pixel.
OutputImageType::RegionType OutputImageRegionType
TInputImage InputImageType
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
LocalVariationImageFilter()
InputImageType::SizeType InputSizeType
void PrintSelf(std::ostream &os, Indent indent) const
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
ImageToImageFilter< InputImageType, OutputImageType > Superclass
virtual void GenerateInputRequestedRegion()
InputImageType::PixelType InputPixelType
SmartPointer< const Self > ConstPointer
LocalVariationImageFilter Self
static double Calc(TPixelType p)
TOutputImage OutputImageType