20 #ifndef __itkAutoCropLabelMapFilter_h
21 #define __itkAutoCropLabelMapFilter_h
44 template <
class TInputImage>
75 typedef typename InputImageType::PixelType
PixelType;
76 typedef typename InputImageType::IndexType
IndexType;
77 typedef typename InputImageType::SizeType
SizeType;
83 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
84 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
85 itkStaticConstMacro(ImageDimension,
unsigned int, TOutputImage::ImageDimension);
92 itkGetConstReferenceMacro(CropBorder,
SizeType);
94 itkGetConstReferenceMacro(MinIndex,
IndexType);
95 itkGetConstReferenceMacro(MaxIndex,
IndexType);
101 void PrintSelf(std::ostream& os,
Indent indent)
const;
103 virtual void GenerateOutputInformation();
107 void operator=(
const Self&);
109 void FindBoundingBox();
110 void SetAndPadCropRegion();
123 #ifndef ITK_MANUAL_INSTANTIATION