18 #ifndef sitkExpandImageFilter_h
19 #define sitkExpandImageFilter_h
78 Self &
SetExpandFactor(
unsigned int e ) { this->m_ExpandFactors = std::vector<unsigned int>(3, e );
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetExpandFactors (
const std::vector<unsigned int> & ExpandFactors ) { this->m_ExpandFactors = ExpandFactors;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
SetExpandFactors(
unsigned int value ) { this->m_ExpandFactors = std::vector<unsigned int>(3, value);
return *
this; }
106 std::string
GetName()
const {
return std::string (
"ExpandImageFilter"); }
109 std::string ToString()
const;
124 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
125 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
128 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
BasicPixelIDTypeList PixelIDTypeList
N-D linear interpolation.
#define SITKBasicFilters_EXPORT
InterpolatorEnum m_Interpolator
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetExpandFactor(unsigned int e)
Self & SetExpandFactors(unsigned int value)
std::string GetName() const
std::vector< unsigned int > GetExpandFactors() const
Image Expand(const Image &image1, const std::vector< unsigned int > &expandFactors=std::vector< unsigned int >(3, 1), InterpolatorEnum interpolator=itk::simple::sitkLinear)
Expand the size of an image by an integer factor in each dimension.
The main Image class for SimpleITK.
InterpolatorEnum GetInterpolator() const
Self & SetInterpolator(InterpolatorEnum Interpolator)
Expand the size of an image by an integer factor in each dimension.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetExpandFactors(const std::vector< unsigned int > &ExpandFactors)
std::vector< unsigned int > m_ExpandFactors
The base interface for SimpleITK filters that take one input image.