28 #ifndef itkPadLabelMapFilter_h
29 #define itkPadLabelMapFilter_h
54 template <
typename TInputImage>
73 using typename Superclass::OutputImageType;
74 using typename Superclass::OutputImagePointer;
75 using typename Superclass::OutputImageRegionType;
76 using typename Superclass::OutputImagePixelType;
86 using PixelType =
typename InputImageType::PixelType;
94 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
95 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
96 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
99 itkSetMacro(UpperBoundaryPadSize,
SizeType);
100 itkGetMacro(UpperBoundaryPadSize,
SizeType);
101 itkSetMacro(LowerBoundaryPadSize,
SizeType);
102 itkGetMacro(LowerBoundaryPadSize,
SizeType);
108 this->SetUpperBoundaryPadSize(size);
109 this->SetLowerBoundaryPadSize(size);
115 m_UpperBoundaryPadSize.Fill(0);
116 m_LowerBoundaryPadSize.Fill(0);
122 GenerateOutputInformation()
override;
125 PrintSelf(std::ostream & os,
Indent indent)
const override;
133 #ifndef ITK_MANUAL_INSTANTIATION
134 # include "itkPadLabelMapFilter.hxx"