18 #ifndef sitkConstantPadImageFilter_h
19 #define sitkConstantPadImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetPadLowerBound ( std::vector<unsigned int> PadLowerBound ) { this->m_PadLowerBound = std::move(PadLowerBound);
return *
this; }
74 SITK_RETURN_SELF_TYPE_HEADER
SetPadUpperBound ( std::vector<unsigned int> PadUpperBound ) { this->m_PadUpperBound = std::move(PadUpperBound);
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetConstant (
double Constant ) { this->m_Constant = Constant;
return *
this; }
91 std::string
GetName()
const {
return std::string (
"ConstantPadImageFilter"); }
94 std::string ToString()
const;
106 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
115 std::vector<unsigned int> m_PadLowerBound{std::vector<unsigned int>(3, 0)};
118 std::vector<unsigned int> m_PadUpperBound{std::vector<unsigned int>(3, 0)};
121 double m_Constant{0.0};
136 SITKBasicFilters_EXPORT Image ConstantPad (
const Image& image1, std::vector<unsigned int> padLowerBound = std::vector<unsigned int>(3, 0), std::vector<unsigned int> padUpperBound = std::vector<unsigned int>(3, 0),
double constant = 0.0 );