21 #ifndef otbLeeImageFilter_h
22 #define otbLeeImageFilter_h
24 #include "itkImageToImageFilter.h"
26 #include "itkNumericTraits.h"
49 template <
class TInputImage,
class TOutputImage>
50 class ITK_EXPORT
LeeImageFilter :
public itk::ImageToImageFilter<TInputImage, TOutputImage>
54 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
55 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
63 typedef itk::ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
75 typedef typename itk::NumericTraits<InputPixelType>::RealType
InputRealType;
78 typedef typename InputImageType::SizeType
SizeType;
84 itkGetConstReferenceMacro(Radius,
SizeType);
87 itkSetMacro(NbLooks,
double);
90 itkGetConstReferenceMacro(NbLooks,
double);
98 void GenerateInputRequestedRegion()
override;
105 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
117 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
121 void operator=(
const Self&) =
delete;
131 #ifndef OTB_MANUAL_INSTANTIATION