Class MirrorPadImageFilter


public class MirrorPadImageFilter extends ImageFilter
Increase the image size by padding with replicants of the input image value. MirrorPadImageFilter changes the image bounds of an image. Any added pixels are filled in with a mirrored replica of the input image. For instance, if the output image needs a pixel that is two pixels to the left of the LargestPossibleRegion of the input image, the value assigned will be from the pixel two pixels inside the left boundary of the LargestPossibleRegion. The image bounds of the output must be specified. Visual explanation of padding regions. This filter is implemented as a multithreaded filter. It provides a DynamicThreadedGenerateData() method for its implementation. Exponential decay in the bounds is enabled when DecayBase has to be in the range (0.0, 1.0]. When it is 1.0 it is disabled. The decay rate is based on the Manhattan distance. See: WrapPadImageFilter , ConstantPadImageFilter itk::simple::MirrorPad for the procedural interface itk::MirrorPadImageFilter for the Doxygen on the original ITK class. C++ includes: sitkMirrorPadImageFilter.h
  • Constructor Details

    • MirrorPadImageFilter

      protected MirrorPadImageFilter(long cPtr, boolean cMemoryOwn)
    • MirrorPadImageFilter

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

    • getCPtr

      protected static long getCPtr(MirrorPadImageFilter obj)
    • swigRelease

      protected static long swigRelease(MirrorPadImageFilter obj)
    • finalize

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

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

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

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

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

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

      public void setDecayBase(double DecayBase)
      Self& itk::simple::MirrorPadImageFilter::SetDecayBase(double DecayBase) Get/Set the base for exponential decay in mirrored region.
    • getDecayBase

      public double getDecayBase()
      double itk::simple::MirrorPadImageFilter::GetDecayBase() const Get/Set the base for exponential decay in mirrored region.
    • getName

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

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

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