18 #ifndef sitkWrapPadImageFilter_h
19 #define sitkWrapPadImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetPadLowerBound (
const std::vector<unsigned int> & PadLowerBound ) { this->m_PadLowerBound = PadLowerBound;
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
SetPadUpperBound (
const std::vector<unsigned int> & PadUpperBound ) { this->m_PadUpperBound = PadUpperBound;
return *
this; }
79 std::string
GetName()
const {
return std::string (
"WrapPadImageFilter"); }
82 std::string ToString()
const;
90 Image Execute (
const Image& image1,
const std::vector<unsigned int> & padLowerBound,
const std::vector<unsigned int> & padUpperBound );
96 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
97 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
120 SITKBasicFilters_EXPORT Image WrapPad (
const Image& image1,
const std::vector<unsigned int> & padLowerBound = std::vector<unsigned int>(3, 0),
const std::vector<unsigned int> & padUpperBound = std::vector<unsigned int>(3, 0) );
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetPadLowerBound(const std::vector< unsigned int > &PadLowerBound)
The Image class for SimpleITK.
Self & SetPadUpperBound(const std::vector< unsigned int > &PadUpperBound)
std::vector< unsigned int > m_PadUpperBound
std::vector< unsigned int > GetPadUpperBound() const
std::vector< unsigned int > m_PadLowerBound
Image WrapPad(const Image &image1, const std::vector< unsigned int > &padLowerBound=std::vector< unsigned int >(3, 0), const std::vector< unsigned int > &padUpperBound=std::vector< unsigned int >(3, 0))
Increase the image size by padding with replicants of the input image value.
The base interface for SimpleITK filters that take one input image.
Increase the image size by padding with replicants of the input image value.
std::vector< unsigned int > GetPadLowerBound() const