Class WrapPadImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.WrapPadImageFilter
Increase the image size by padding with replicants of the input image
value.
WrapPadImageFilter changes the image bounds of an image. Added pixels are filled in with
a wrapped 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 right 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
ThreadedGenerateData() method for its implementation.
See:
MirrorPadImageFilter , ConstantPadImageFilter
itk::simple::WrapPad for the procedural interface
itk::WrapPadImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkWrapPadImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::WrapPadImageFilter::WrapPadImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedWrapPadImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::WrapPadImageFilter::~WrapPadImageFilter() DestructorImage itk::simple::WrapPadImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetName()std::string itk::simple::WrapPadImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::WrapPadImageFilter::GetPadLowerBound() conststd::vector<unsigned int> itk::simple::WrapPadImageFilter::GetPadUpperBound() constvoidsetPadLowerBound(VectorUInt32 PadLowerBound) Self& itk::simple::WrapPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound)voidsetPadUpperBound(VectorUInt32 PadUpperBound) Self& itk::simple::WrapPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound)protected static longtoString()std::string itk::simple::WrapPadImageFilter::ToString() const Print ourselves outMethods inherited from class ImageFilter
getCPtr, swigReleaseModifier and TypeMethodDescriptionprotected static longgetCPtr(ImageFilter obj) protected static longswigRelease(ImageFilter obj) Methods inherited from class 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, swigReleaseModifier and TypeMethodDescriptionvoidabort()virtual void itk::simple::ProcessObject::Abort() Sets an abort flag on the active process.intaddCommand(EventEnum event, Command cmd) virtual int itk::simple::ProcessObject::AddCommand(itk::simple::EventEnum event, itk::simple::Command &cmd) Add a Command Object to observer the event.voiddebugOff()voiddebugOn()protected static longgetCPtr(ProcessObject obj) booleangetDebug()static doublestatic booleanstatic doublestatic longstatic Stringstatic booleanlonglongfloatvirtual float itk::simple::ProcessObject::GetProgress() const An Active Measurement of the progress of execution.static voidstatic voidstatic voidstatic voidbooleanhasCommand(EventEnum event) virtual bool itk::simple::ProcessObject::HasCommand(itk::simple::EventEnum event) const Query of this object has any registered commands for event.voidvirtual void itk::simple::ProcessObject::RemoveAllCommands() Remove all registered commands.voidsetDebug(boolean debugFlag) static voidsetGlobalDefaultCoordinateTolerance(double arg0) static voidsetGlobalDefaultDebug(boolean debugFlag) static voidsetGlobalDefaultDirectionTolerance(double arg0) static voidsetGlobalDefaultNumberOfThreads(long n) static booleansetGlobalDefaultThreader(String threader) static voidsetGlobalWarningDisplay(boolean flag) voidsetNumberOfThreads(long n) voidsetNumberOfWorkUnits(long n) protected static longswigRelease(ProcessObject obj)
-
Constructor Details
-
WrapPadImageFilter
protected WrapPadImageFilter(long cPtr, boolean cMemoryOwn) -
WrapPadImageFilter
public WrapPadImageFilter()itk::simple::WrapPadImageFilter::WrapPadImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::WrapPadImageFilter::~WrapPadImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setPadLowerBound
Self& itk::simple::WrapPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound) -
getPadLowerBound
std::vector<unsigned int> itk::simple::WrapPadImageFilter::GetPadLowerBound() const -
setPadUpperBound
Self& itk::simple::WrapPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound) -
getPadUpperBound
std::vector<unsigned int> itk::simple::WrapPadImageFilter::GetPadUpperBound() const -
getName
std::string itk::simple::WrapPadImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::WrapPadImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-