21 #ifndef otbFrostImageFilter_h
22 #define otbFrostImageFilter_h
24 #include "itkImageToImageFilter.h"
26 #include "itkNumericTraits.h"
46 template <
class TInputImage,
class TOutputImage>
47 class ITK_EXPORT
FrostImageFilter :
public itk::ImageToImageFilter<TInputImage, TOutputImage>
51 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
52 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
63 typedef itk::ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
78 typedef typename itk::NumericTraits<InputPixelType>::RealType
InputRealType;
84 typedef typename InputImageType::SizeType
SizeType;
90 itkGetConstReferenceMacro(Radius,
SizeType);
93 itkSetMacro(Deramp,
double);
96 itkGetConstReferenceMacro(Deramp,
double);
101 void GenerateInputRequestedRegion()
override;
108 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
118 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
122 void operator=(
const Self&) =
delete;
132 #ifndef OTB_MANUAL_INSTANTIATION