18 #ifndef sitkConstantPadImageFilter_h
19 #define sitkConstantPadImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetPadLowerBound ( std::vector<unsigned int> PadLowerBound ) { this->m_PadLowerBound = std::move(PadLowerBound);
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
SetPadUpperBound ( std::vector<unsigned int> PadUpperBound ) { this->m_PadUpperBound = std::move(PadUpperBound);
return *
this; }
82 SITK_RETURN_SELF_TYPE_HEADER
SetConstant (
double Constant ) { this->m_Constant = Constant;
return *
this; }
90 std::string
GetName()
const {
return std::string (
"ConstantPadImageFilter"); }
93 std::string ToString()
const;
105 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
114 std::vector<unsigned int> m_PadLowerBound{std::vector<unsigned int>(3, 0)};
117 std::vector<unsigned int> m_PadUpperBound{std::vector<unsigned int>(3, 0)};
120 double m_Constant{0.0};
135 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 );