Class ConstantPadImageFilter


public class ConstantPadImageFilter extends ImageFilter
Increase the image size by padding with a constant value. ConstantPadImageFilter changes the output image region. If the output image region is larger than the input image region, the extra pixels are filled in by a constant value. The output image region must be specified. Visual explanation of padding regions. This filter is implemented as a multithreaded filter. It provides a DynamicThreadedGenerateData() method for its implementation. See: WrapPadImageFilter , MirrorPadImageFilter itk::simple::ConstantPad for the procedural interface itk::ConstantPadImageFilter for the Doxygen on the original ITK class. C++ includes: sitkConstantPadImageFilter.h
  • Constructor Details

    • ConstantPadImageFilter

      protected ConstantPadImageFilter(long cPtr, boolean cMemoryOwn)
    • ConstantPadImageFilter

      public ConstantPadImageFilter()
      itk::simple::ConstantPadImageFilter::ConstantPadImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(ConstantPadImageFilter obj)
    • swigRelease

      protected static long swigRelease(ConstantPadImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::ConstantPadImageFilter::~ConstantPadImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setPadLowerBound

      public void setPadLowerBound(VectorUInt32 PadLowerBound)
      Self& itk::simple::ConstantPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound)
    • getPadLowerBound

      public VectorUInt32 getPadLowerBound()
      std::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadLowerBound() const
    • setPadUpperBound

      public void setPadUpperBound(VectorUInt32 PadUpperBound)
      Self& itk::simple::ConstantPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound)
    • getPadUpperBound

      public VectorUInt32 getPadUpperBound()
      std::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadUpperBound() const
    • setConstant

      public void setConstant(double Constant)
      Self& itk::simple::ConstantPadImageFilter::SetConstant(double Constant) Set/Get the pad value. Default is Zero.
    • getConstant

      public double getConstant()
      double itk::simple::ConstantPadImageFilter::GetConstant() const Set/Get the pad value. Default is Zero.
    • getName

      public String getName()
      std::string itk::simple::ConstantPadImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::ConstantPadImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::ConstantPadImageFilter::Execute(const Image &image1) Execute the filter on the input image