28 #ifndef itkCropLabelMapFilter_h
29 #define itkCropLabelMapFilter_h
55 template <
typename TInputImage>
87 using PixelType =
typename InputImageType::PixelType;
95 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
96 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
97 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
100 itkSetMacro(UpperBoundaryCropSize,
SizeType);
101 itkGetMacro(UpperBoundaryCropSize,
SizeType);
102 itkSetMacro(LowerBoundaryCropSize,
SizeType);
103 itkGetMacro(LowerBoundaryCropSize,
SizeType);
109 this->SetUpperBoundaryCropSize(size);
110 this->SetLowerBoundaryCropSize(size);
116 m_UpperBoundaryCropSize.Fill(0);
117 m_LowerBoundaryCropSize.Fill(0);
123 GenerateOutputInformation()
override;
126 PrintSelf(std::ostream & os,
Indent indent)
const override;
134 #ifndef ITK_MANUAL_INSTANTIATION
135 # include "itkCropLabelMapFilter.hxx"