Class ExpandImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ExpandImageFilter
Expand the size of an image by an integer factor in each dimension.
ExpandImageFilter increases the size of an image by an integer factor in each dimension
using a interpolation method. The output image size in each dimension
is given by:
OutputSize[j] = InputSize[j] * ExpandFactors[j]
The output values are obtained by interpolating the input image. The
default interpolation type used is the LinearInterpolateImageFunction . The user can specify a particular interpolation function via SetInterpolator() . Note that the input interpolator must derive from base class InterpolateImageFunction .
This filter will produce an output with different pixel spacing that
its input image such that:
OutputSpacing[j] = InputSpacing[j] / ExpandFactors[j]
The filter is templated over the input image type and the output image
type.
This filter is implemented as a multithreaded filter and supports
streaming.
This filter assumes that the input and output image has the same
number of dimensions.
See:
 InterpolateImageFunction
 LinearInterpolationImageFunction
 itk::simple::Expand for the procedural interface
 itk::ExpandImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkExpandImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ExpandImageFilter::ExpandImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedExpandImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ExpandImageFilter::~ExpandImageFilter() DestructorImage itk::simple::ExpandImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetCPtr(ExpandImageFilter obj) std::vector<unsigned int> itk::simple::ExpandImageFilter::GetExpandFactors() const Get the expand factors.InterpolatorEnum itk::simple::ExpandImageFilter::GetInterpolator() const Get/Set the interpolator function.getName()std::string itk::simple::ExpandImageFilter::GetName() const Name of this classvoidsetExpandFactor(long e) Self& itk::simple::ExpandImageFilter::SetExpandFactor(unsigned int e) Custom public declarationsvoidsetExpandFactors(long value) Self& itk::simple::ExpandImageFilter::SetExpandFactors(unsigned int value) Set the values of the ExpandFactors vector all to valuevoidsetExpandFactors(VectorUInt32 ExpandFactors) Self& itk::simple::ExpandImageFilter::SetExpandFactors(unsigned int value) Set the values of the ExpandFactors vector all to valuevoidsetInterpolator(InterpolatorEnum Interpolator) Self& itk::simple::ExpandImageFilter::SetInterpolator(InterpolatorEnum Interpolator) Get/Set the interpolator function.protected static longtoString()std::string itk::simple::ExpandImageFilter::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- 
ExpandImageFilterprotected ExpandImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ExpandImageFilterpublic ExpandImageFilter()itk::simple::ExpandImageFilter::ExpandImageFilter() 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::ExpandImageFilter::~ExpandImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setExpandFactorpublic void setExpandFactor(long e) Self& itk::simple::ExpandImageFilter::SetExpandFactor(unsigned int e) Custom public declarations
- 
setExpandFactorsSelf& itk::simple::ExpandImageFilter::SetExpandFactors(unsigned int value) Set the values of the ExpandFactors vector all to value
- 
setExpandFactorspublic void setExpandFactors(long value) Self& itk::simple::ExpandImageFilter::SetExpandFactors(unsigned int value) Set the values of the ExpandFactors vector all to value
- 
getExpandFactorsstd::vector<unsigned int> itk::simple::ExpandImageFilter::GetExpandFactors() const Get the expand factors.
- 
setInterpolatorSelf& itk::simple::ExpandImageFilter::SetInterpolator(InterpolatorEnum Interpolator) Get/Set the interpolator function.
- 
getInterpolatorInterpolatorEnum itk::simple::ExpandImageFilter::GetInterpolator() const Get/Set the interpolator function.
- 
getNamestd::string itk::simple::ExpandImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ExpandImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-