21 #ifndef otbKuanImageFilter_h
22 #define otbKuanImageFilter_h
24 #include "itkImageToImageFilter.h"
26 #include "itkNumericTraits.h"
42 template <
class TInputImage,
class TOutputImage>
43 class ITK_EXPORT
KuanImageFilter :
public itk::ImageToImageFilter<TInputImage, TOutputImage>
47 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
48 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
56 typedef itk::ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
68 typedef typename itk::NumericTraits<InputPixelType>::RealType
InputRealType;
71 typedef typename InputImageType::SizeType
SizeType;
77 itkGetConstReferenceMacro(Radius,
SizeType);
80 itkSetMacro(NbLooks,
double);
83 itkGetConstReferenceMacro(NbLooks,
double);
91 void GenerateInputRequestedRegion()
override;
98 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
103 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
107 void operator=(
const Self&) =
delete;
117 #ifndef OTB_MANUAL_INSTANTIATION