Package org.itk.simple
Class MirrorPadImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.MirrorPadImageFilter
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
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::MirrorPadImageFilter::MirrorPadImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
MirrorPadImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::MirrorPadImageFilter::~MirrorPadImageFilter() DestructorImage itk::simple::MirrorPadImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
double
double itk::simple::MirrorPadImageFilter::GetDecayBase() const Get/Set the base for exponential decay in mirrored region.getName()
std::string itk::simple::MirrorPadImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::MirrorPadImageFilter::GetPadLowerBound() conststd::vector<unsigned int> itk::simple::MirrorPadImageFilter::GetPadUpperBound() constvoid
setDecayBase
(double DecayBase) Self& itk::simple::MirrorPadImageFilter::SetDecayBase(double DecayBase) Get/Set the base for exponential decay in mirrored region.void
setPadLowerBound
(VectorUInt32 PadLowerBound) Self& itk::simple::MirrorPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound)void
setPadUpperBound
(VectorUInt32 PadUpperBound) Self& itk::simple::MirrorPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound)protected static long
toString()
std::string itk::simple::MirrorPadImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
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
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::MirrorPadImageFilter::~MirrorPadImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setPadLowerBound
Self& itk::simple::MirrorPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound) -
getPadLowerBound
std::vector<unsigned int> itk::simple::MirrorPadImageFilter::GetPadLowerBound() const -
setPadUpperBound
Self& itk::simple::MirrorPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound) -
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
std::string itk::simple::MirrorPadImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::MirrorPadImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::MirrorPadImageFilter::Execute(const Image &image1) Execute the filter on the input image
-