18 #ifndef itkCropImageFilter_h
19 #define itkCropImageFilter_h
42 template<
typename TInputImage,
typename TOutputImage >
75 itkStaticConstMacro(InputImageDimension,
unsigned int,
76 Superclass::InputImageDimension);
77 itkStaticConstMacro(OutputImageDimension,
unsigned int,
78 Superclass::OutputImageDimension);
82 itkSetMacro(UpperBoundaryCropSize,
SizeType);
83 itkGetConstMacro(UpperBoundaryCropSize,
SizeType);
84 itkSetMacro(LowerBoundaryCropSize,
SizeType);
85 itkGetConstMacro(LowerBoundaryCropSize,
SizeType);
90 this->SetUpperBoundaryCropSize(s);
91 this->SetLowerBoundaryCropSize(s);
94 #ifdef ITK_USE_CONCEPT_CHECKING
106 this->SetDirectionCollapseToSubmatrix();
107 m_UpperBoundaryCropSize.Fill(0);
108 m_LowerBoundaryCropSize.Fill(0);
112 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
114 void GenerateOutputInformation() ITK_OVERRIDE;
124 #ifndef ITK_MANUAL_INSTANTIATION
125 #include "itkCropImageFilter.hxx"
SmartPointer< Self > Pointer
Superclass::OutputImagePixelType OutputImagePixelType
ExtractImageFilter< TInputImage, TOutputImage > Superclass
Superclass::OutputImagePixelType OutputImagePixelType
Superclass::OutputImageRegionType OutputImageRegionType
SmartPointer< const Self > ConstPointer
~CropImageFilter() override
Superclass::InputImageIndexType InputImageIndexType
Superclass::InputImageRegionType InputImageRegionType
Superclass::OutputImageIndexType OutputImageIndexType
Superclass::OutputImageSizeType OutputImageSizeType
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of t...
Superclass::InputImagePixelType InputImagePixelType
void SetBoundaryCropSize(const SizeType &s)
InputImageSizeType SizeType
InputImageType::RegionType InputImageRegionType
Superclass::OutputImageRegionType OutputImageRegionType
Control indentation during Print() invocation.
#define itkConceptMacro(name, concept)
Superclass::InputImageSizeType InputImageSizeType
InputImageType::PixelType InputImagePixelType