28 #ifndef itkPadLabelMapFilter_h
29 #define itkPadLabelMapFilter_h
54 template<
typename TInputImage >
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);
107 this->SetUpperBoundaryPadSize(size);
108 this->SetLowerBoundaryPadSize(size);
114 m_UpperBoundaryPadSize.Fill(0);
115 m_LowerBoundaryPadSize.Fill(0);
120 void GenerateOutputInformation()
override;
122 void PrintSelf(std::ostream & os,
Indent indent)
const override;
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkPadLabelMapFilter.hxx"
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::PixelType InputImagePixelType
typename Superclass::OutputImagePointer OutputImagePointer
Light weight base class for most itk classes.
void SetPadSize(const SizeType &size)
typename Superclass::OutputImagePixelType OutputImagePixelType
typename InputImageType::IndexType IndexType
typename InputImageType::ConstPointer InputImageConstPointer
typename Superclass::OutputImageType OutputImageType
typename InputImageType::LabelObjectType LabelObjectType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
SizeType m_UpperBoundaryPadSize
typename InputImageType::PixelType PixelType
typename Superclass::OutputImageRegionType OutputImageRegionType
typename InputImageType::SizeType SizeType
typename InputImageType::RegionType RegionType
Control indentation during Print() invocation.
TInputImage InputImageType
SizeType m_LowerBoundaryPadSize
ImageBaseType::RegionType RegionType
typename InputImageType::Pointer InputImagePointer
Change the region of a label map.