28 #ifndef itkCropLabelMapFilter_h
29 #define itkCropLabelMapFilter_h
54 template<
typename TInputImage >
84 typedef typename InputImageType::PixelType
PixelType;
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() ITK_OVERRIDE;
121 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "itkCropLabelMapFilter.hxx"
Light weight base class for most itk classes.
InputImageType::RegionType RegionType
InputImageType::IndexType IndexType
InputImageType::SizeType SizeType
SmartPointer< Self > Pointer
InputImageType::PixelType PixelType
ChangeRegionLabelMapFilter< TInputImage > Superclass
Superclass::OutputImageType OutputImageType
InputImageType::SizeType SizeType
~CropLabelMapFilter() override
Superclass::OutputImagePixelType OutputImagePixelType
void SetCropSize(const SizeType &size)
TInputImage InputImageType
InputImageType::LabelObjectType LabelObjectType
InputImageType::PixelType InputImagePixelType
Superclass::OutputImagePointer OutputImagePointer
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
InputImageType::RegionType InputImageRegionType
SmartPointer< const Self > ConstPointer
InputImageType::ConstPointer InputImageConstPointer
Change the region of a label map.
InputImageType::Pointer InputImagePointer
ImageBaseType::IndexType IndexType
Superclass::OutputImageRegionType OutputImageRegionType