18#ifndef sitkCropImageFilter_h
19#define sitkCropImageFilter_h
79 std::string
GetName()
const {
return std::string (
"CropImageFilter"); }
124 SITKBasicFilters_EXPORT Image Crop (
Image&& image1, std::vector<unsigned int> lowerBoundaryCropSize = std::vector<unsigned int>(3, 0), std::vector<unsigned int> upperBoundaryCropSize = std::vector<unsigned int>(3, 0) );
126 SITKBasicFilters_EXPORT Image Crop (
const Image& image1, std::vector<unsigned int> lowerBoundaryCropSize = std::vector<unsigned int>(3, 0), std::vector<unsigned int> upperBoundaryCropSize = std::vector<unsigned int>(3, 0) );
Image Execute(const Image &image1)
Image Execute(Image &&image1)
Self & SetLowerBoundaryCropSize(std::vector< unsigned int > LowerBoundaryCropSize)
std::vector< unsigned int > GetUpperBoundaryCropSize() const
std::vector< unsigned int > m_LowerBoundaryCropSize
std::vector< unsigned int > GetLowerBoundaryCropSize() const
std::string ToString() const
std::string GetName() const
Self & SetUpperBoundaryCropSize(std::vector< unsigned int > UpperBoundaryCropSize)
Image ExecuteInternal(const Image &image1)
virtual ~CropImageFilter()
Image(Self::*)(const Image &image1) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::vector< unsigned int > m_UpperBoundaryCropSize
NonLabelPixelIDTypeList PixelIDTypeList
The Image class for SimpleITK.
Image Crop(Image &&image1, std::vector< unsigned int > lowerBoundaryCropSize=std::vector< unsigned int >(3, 0), std::vector< unsigned int > upperBoundaryCropSize=std::vector< unsigned int >(3, 0))
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of t...
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT