19 #ifndef rtkUpsampleImageFilter_h 20 #define rtkUpsampleImageFilter_h 38 template <
class TInputImage,
class TOutputImage = TInputImage>
67 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
72 SetFactors(
const unsigned int factors[]);
77 SetFactor(
unsigned int dimension,
unsigned int factor);
87 GenerateOutputInformation()
override;
95 GenerateInputRequestedRegion()
override;
103 itkGetMacro(Order,
unsigned int);
111 itkSetMacro(OutputSize,
typename TOutputImage::SizeType);
112 itkGetMacro(OutputSize,
typename TOutputImage::SizeType);
121 itkSetMacro(OutputIndex,
typename TOutputImage::IndexType);
122 itkGetMacro(OutputIndex,
typename TOutputImage::IndexType);
144 unsigned int m_Factors[ImageDimension];
150 GetImageRegionSplitter()
const override;
157 #ifndef rtk_MANUAL_INSTANTIATION 158 # include "rtkUpsampleImageFilter.hxx" typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
Upsamples an image by the given factor for each dimension.
#define itkSetMacro(name, type)
typename InputImageType::Pointer InputImagePointer
typename InputImageType::ConstPointer InputImageConstPointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage::SizeType m_OutputSize
itk::ImageRegionSplitterDirection::Pointer m_Splitter
TOutputImage OutputImageType
unsigned int ThreadIdType
TOutputImage::IndexType m_OutputIndex