18 #ifndef itkCropImageFilter_h
19 #define itkCropImageFilter_h
43 template <
typename TInputImage,
typename TOutputImage>
77 static constexpr
unsigned int InputImageDimension = Superclass::InputImageDimension;
78 static constexpr
unsigned int OutputImageDimension = Superclass::OutputImageDimension;
81 itkSetMacro(UpperBoundaryCropSize,
SizeType);
82 itkGetConstMacro(UpperBoundaryCropSize,
SizeType);
83 itkSetMacro(LowerBoundaryCropSize,
SizeType);
84 itkGetConstMacro(LowerBoundaryCropSize,
SizeType);
90 this->SetUpperBoundaryCropSize(s);
91 this->SetLowerBoundaryCropSize(s);
94 #ifdef ITK_USE_CONCEPT_CHECKING
104 this->SetDirectionCollapseToSubmatrix();
105 m_UpperBoundaryCropSize.Fill(0);
106 m_LowerBoundaryCropSize.Fill(0);
111 PrintSelf(std::ostream & os,
Indent indent)
const override;
114 GenerateOutputInformation()
override;
117 VerifyInputInformation() ITKv5_CONST override;
125 #ifndef ITK_MANUAL_INSTANTIATION
126 # include "itkCropImageFilter.hxx"