28 #ifndef itkAutoCropLabelMapFilter_h
29 #define itkAutoCropLabelMapFilter_h
52 template<
typename TInputImage >
85 using PixelType =
typename InputImageType::PixelType;
93 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
94 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
95 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
101 itkGetConstReferenceMacro(CropBorder,
SizeType);
108 void PrintSelf(std::ostream & os,
Indent indent)
const override;
110 void GenerateOutputInformation()
override;
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkAutoCropLabelMapFilter.hxx"
Light weight base class for most itk classes.
typename Superclass::OutputImageType OutputImageType
typename InputImageType::RegionType InputImageRegionType
typename Superclass::OutputImagePixelType OutputImagePixelType
typename Superclass::OutputImagePointer OutputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType RegionType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::LabelObjectType LabelObjectType
TInputImage InputImageType
typename InputImageType::PixelType PixelType
Crop a LabelMap image to fit exactly the objects in the LabelMap.
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::IndexType IndexType
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
typename InputImageType::SizeType SizeType
typename Superclass::OutputImageRegionType OutputImageRegionType
Change the region of a label map.