Go to the documentation of this file.
18 #ifndef sitkExpandImageFilter_h
19 #define sitkExpandImageFilter_h
78 SITK_RETURN_SELF_TYPE_HEADER
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 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
126 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
The main Image class for SimpleITK.
Self & SetExpandFactor(unsigned int e)
@ sitkLinear
N-D linear interpolation.
Expand the size of an image by an integer factor in each dimension.
std::vector< unsigned int > GetExpandFactors() const
Self & SetExpandFactors(const std::vector< unsigned int > &ExpandFactors)
InterpolatorEnum GetInterpolator() const
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
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetInterpolator(InterpolatorEnum Interpolator)
#define SITKBasicFilters_EXPORT
InterpolatorEnum m_Interpolator
std::vector< unsigned int > m_ExpandFactors
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 base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
BasicPixelIDTypeList PixelIDTypeList
Self & SetExpandFactors(unsigned int value)
std::string GetName() const