18 #ifndef sitkBinShrinkImageFilter_h
19 #define sitkBinShrinkImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetShrinkFactor(
unsigned int s ) { this->m_ShrinkFactors = std::vector<unsigned int>(3, s );
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
SetShrinkFactors ( std::vector<unsigned int> ShrinkFactors ) { this->m_ShrinkFactors = std::move(ShrinkFactors);
return *
this; }
81 std::string
GetName()
const {
return std::string (
"BinShrinkImageFilter"); }
84 std::string ToString()
const;
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
105 std::vector<unsigned int> m_ShrinkFactors{std::vector<unsigned int>(3, 1)};