19 #ifndef rtkUpsampleImageFilter_h 20 #define rtkUpsampleImageFilter_h 38 template <
class TInputImage,
class TOutputImage = TInputImage>
54 #ifdef itkOverrideGetNameOfClassMacro 72 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
77 SetFactors(
const unsigned int factors[]);
82 SetFactor(
unsigned int dimension,
unsigned int factor);
92 GenerateOutputInformation()
override;
100 GenerateInputRequestedRegion()
override;
108 itkGetMacro(Order,
unsigned int);
116 itkSetMacro(OutputSize,
typename TOutputImage::SizeType);
117 itkGetMacro(OutputSize,
typename TOutputImage::SizeType);
126 itkSetMacro(OutputIndex,
typename TOutputImage::IndexType);
127 itkGetMacro(OutputIndex,
typename TOutputImage::IndexType);
149 unsigned int m_Factors[ImageDimension];
155 GetImageRegionSplitter()
const override;
162 #ifndef rtk_MANUAL_INSTANTIATION 163 # include "rtkUpsampleImageFilter.hxx" typename OutputImageType::Pointer OutputImagePointer
Upsamples an image by the given factor for each dimension.
TInputImage InputImageType
#define itkSetMacro(name, type)
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage::SizeType m_OutputSize
itk::ImageRegionSplitterDirection::Pointer m_Splitter
TOutputImage OutputImageType
unsigned int ThreadIdType
TOutputImage::IndexType m_OutputIndex
typename InputImageType::ConstPointer InputImageConstPointer