Class AddImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AddImageFilter
Pixel-wise addition of two images.
This class is templated over the types of the two input images and the
type of the output image. Numeric conversions (castings) are done by
the C++ defaults.
The pixel type of the input 1 image must have a valid definition of
the operator+ with a pixel type of the image 2. This condition is
required because internally this filter will perform the operation
Additionally the type resulting from the sum, will be cast to the
pixel type of the output image.
The total operation over one pixel will be
For example, this filter could be used directly for adding images
whose pixels are vectors of the same dimension, and to store the
resulting vector in an output image of vector pixels.
The images to be added are set using the methods:
Additionally, this filter can be used to add a constant to every pixel
of an image by using
WARNING:
No numeric overflow checking is performed in this filter.
See:
 itk::simple::Add for the procedural interface
 itk::AddImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkAddImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::AddImageFilter::AddImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedAddImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::AddImageFilter::~AddImageFilter() DestructorImage itk::simple::AddImageFilter::Execute(Image &&image1, double constant)Image itk::simple::AddImageFilter::Execute(Image &&image1, double constant)Image itk::simple::AddImageFilter::Execute(Image &&image1, double constant)protected voidfinalize()protected static longgetCPtr(AddImageFilter obj) getName()std::string itk::simple::AddImageFilter::GetName() const Name of this classprotected static longtoString()std::string itk::simple::AddImageFilter::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- 
AddImageFilterprotected AddImageFilter(long cPtr, boolean cMemoryOwn) 
- 
AddImageFilterpublic AddImageFilter()itk::simple::AddImageFilter::AddImageFilter() 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::AddImageFilter::~AddImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
getNamestd::string itk::simple::AddImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::AddImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
- 
execute
- 
execute
 
-