Class ConstantPadImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ConstantPadImageFilter
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
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ConstantPadImageFilter::ConstantPadImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedConstantPadImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ConstantPadImageFilter::~ConstantPadImageFilter() DestructorImage itk::simple::ConstantPadImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::ConstantPadImageFilter::GetConstant() const Set/Get the pad value.protected static longgetName()std::string itk::simple::ConstantPadImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadLowerBound() conststd::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadUpperBound() constvoidsetConstant(double Constant) Self& itk::simple::ConstantPadImageFilter::SetConstant(double Constant) Set/Get the pad value.voidsetPadLowerBound(VectorUInt32 PadLowerBound) Self& itk::simple::ConstantPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound)voidsetPadUpperBound(VectorUInt32 PadUpperBound) Self& itk::simple::ConstantPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound)protected static longtoString()std::string itk::simple::ConstantPadImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
ConstantPadImageFilterprotected ConstantPadImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ConstantPadImageFilterpublic ConstantPadImageFilter()itk::simple::ConstantPadImageFilter::ConstantPadImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::ConstantPadImageFilter::~ConstantPadImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setPadLowerBoundSelf& itk::simple::ConstantPadImageFilter::SetPadLowerBound(std::vector< unsigned int > PadLowerBound)
- 
getPadLowerBoundstd::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadLowerBound() const
- 
setPadUpperBoundSelf& itk::simple::ConstantPadImageFilter::SetPadUpperBound(std::vector< unsigned int > PadUpperBound)
- 
getPadUpperBoundstd::vector<unsigned int> itk::simple::ConstantPadImageFilter::GetPadUpperBound() const
- 
setConstantpublic void setConstant(double Constant) Self& itk::simple::ConstantPadImageFilter::SetConstant(double Constant) Set/Get the pad value. Default is Zero.
- 
getConstantpublic double getConstant()double itk::simple::ConstantPadImageFilter::GetConstant() const Set/Get the pad value. Default is Zero.
- 
getNamestd::string itk::simple::ConstantPadImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ConstantPadImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-