Go to the documentation of this file.
18 #ifndef sitkBinShrinkImageFilter_h
19 #define sitkBinShrinkImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetShrinkFactor(
unsigned int s ) { this->m_ShrinkFactors = std::vector<unsigned int>(3, s );
return *
this; }
74 SITK_RETURN_SELF_TYPE_HEADER
SetShrinkFactors ( std::vector<unsigned int> ShrinkFactors ) { this->m_ShrinkFactors = std::move(ShrinkFactors);
return *
this; }
82 std::string
GetName()
const {
return std::string (
"BinShrinkImageFilter"); }
85 std::string ToString()
const;
97 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
106 std::vector<unsigned int> m_ShrinkFactors{std::vector<unsigned int>(3, 1)};
The Image class for SimpleITK.
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetShrinkFactors(std::vector< unsigned int > ShrinkFactors)
std::string GetName() const
Image BinShrink(const Image &image1, std::vector< unsigned int > shrinkFactors=std::vector< unsigned int >(3, 1))
Reduce the size of an image by an integer factor in each dimension while performing averaging of an i...
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Reduce the size of an image by an integer factor in each dimension while performing averaging of an i...
std::vector< unsigned int > GetShrinkFactors() const
Self & SetShrinkFactor(unsigned int s)
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType