19 #ifndef rtkDownsampleImageFilter_h 20 #define rtkDownsampleImageFilter_h 37 template <
class TInputImage,
class TOutputImage = TInputImage>
53 #ifdef itkOverrideGetNameOfClassMacro 71 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
76 SetFactors(
const unsigned int factors[]);
81 SetFactor(
unsigned int dimension,
unsigned int factor);
91 GenerateOutputInformation()
override;
99 GenerateInputRequestedRegion()
override;
119 unsigned int m_Factors[ImageDimension];
120 int m_Offsets[ImageDimension];
126 #ifndef rtk_MANUAL_INSTANTIATION 127 # include "rtkDownsampleImageFilter.hxx" typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename InputImageType::ConstPointer InputImageConstPointer
Downsamples an image by a factor in each dimension.