28#ifndef itkCropLabelMapFilter_h
29#define itkCropLabelMapFilter_h
54template <
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;
108 this->SetUpperBoundaryCropSize(size);
109 this->SetLowerBoundaryCropSize(size);
115 m_UpperBoundaryCropSize.Fill(0);
116 m_LowerBoundaryCropSize.Fill(0);
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "itkCropLabelMapFilter.hxx"
Change the region of a label map.
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::SizeType SizeType
typename InputImageType::IndexType IndexType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::RegionType RegionType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::LabelObjectType LabelObjectType
typename InputImageType::PixelType PixelType
TInputImage InputImageType
void SetCropSize(const SizeType &size)
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateOutputInformation() override
~CropLabelMapFilter() override=default
Control indentation during Print() invocation.
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....