28 #ifndef __itkCropLabelMapFilter_h
29 #define __itkCropLabelMapFilter_h
54 template<
class TInputImage >
84 typedef typename InputImageType::PixelType
PixelType;
85 typedef typename InputImageType::IndexType
IndexType;
86 typedef typename InputImageType::SizeType
SizeType;
92 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
93 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
94 itkStaticConstMacro(ImageDimension,
unsigned int, TOutputImage::ImageDimension);
98 itkSetMacro(UpperBoundaryCropSize,
SizeType);
99 itkGetMacro(UpperBoundaryCropSize,
SizeType);
100 itkSetMacro(LowerBoundaryCropSize,
SizeType);
101 itkGetMacro(LowerBoundaryCropSize,
SizeType);
106 this->SetUpperBoundaryCropSize(size);
107 this->SetLowerBoundaryCropSize(size);
113 m_UpperBoundaryCropSize.Fill(0);
114 m_LowerBoundaryCropSize.Fill(0);
119 virtual void GenerateOutputInformation();
121 void PrintSelf(std::ostream & os,
Indent indent)
const;
125 void operator=(
const Self &);
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkCropLabelMapFilter.hxx"