23 #ifndef otbDecimateImageFilter_h
24 #define otbDecimateImageFilter_h
26 #include "itkImageToImageFilter.h"
43 template <
class TInputImage,
class TOutputImage>
49 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
60 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
61 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
73 itkGetMacro(DecimationFactor,
unsigned int);
74 itkSetMacro(DecimationFactor,
unsigned int);
80 m_DecimationFactor = 1;
89 virtual void CallCopyOutputRegionToInputRegion(InputImageRegionType& destRegion,
const OutputImageRegionType& srcRegion);
90 virtual void CallCopyInputRegionToOutputRegion(OutputImageRegionType& destRegion,
const InputImageRegionType& srcRegion);
96 virtual void GenerateOutputInformation();
99 virtual void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
101 virtual void PrintSelf(std::ostream& os, itk::Indent indent)
const;
105 void operator=(
const Self&) =
delete;
112 #ifndef OTB_MANUAL_INSTANTIATION