18 #ifndef sitkMirrorPadImageFilter_h
19 #define sitkMirrorPadImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetPadLowerBound (
const std::vector<unsigned int> & PadLowerBound ) { this->m_PadLowerBound = PadLowerBound;
return *
this; }
79 SITK_RETURN_SELF_TYPE_HEADER
SetPadUpperBound (
const std::vector<unsigned int> & PadUpperBound ) { this->m_PadUpperBound = PadUpperBound;
return *
this; }
85 std::string
GetName()
const {
return std::string (
"MirrorPadImageFilter"); }
88 std::string ToString()
const;
96 Image Execute (
const Image& image1,
const std::vector<unsigned int> & padLowerBound,
const std::vector<unsigned int> & padUpperBound );
103 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
104 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
129 SITKBasicFilters_EXPORT Image MirrorPad (
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::vector< unsigned int > GetPadUpperBound() const
MirrorPadImageFilter Self
std::vector< unsigned int > GetPadLowerBound() const
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetPadLowerBound(const std::vector< unsigned int > &PadLowerBound)
Increase the image size by padding with replicants of the input image value.
std::string GetName() const
The main Image class for SimpleITK.
std::vector< unsigned int > m_PadUpperBound
Image MirrorPad(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.
std::vector< unsigned int > m_PadLowerBound
The base interface for SimpleITK filters that take one input image.
Self & SetPadUpperBound(const std::vector< unsigned int > &PadUpperBound)