Package org.itk.simple
Class AbsoluteValueDifferenceImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AbsoluteValueDifferenceImageFilter
Implements pixel-wise the computation of absolute value difference.
This filter is parameterized 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 filter will walk over all the pixels in the two input images, and
for each one of them it will do the following:
Cast the input 1 pixel value to double .
Cast the input 2 pixel value to double .
Compute the difference of the two pixel values.
Compute the absolute value of the difference.
Cast the double value resulting from the absolute value to the pixel
type of the output image.
Store the casted value into the output image.
The filter expects all images to have the same dimension (e.g. all
2D, or all 3D, or all ND).
See:
itk::simple::AbsoluteValueDifference for the procedural interface
itk::AbsoluteValueDifferenceImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkAbsoluteValueDifferenceImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::AbsoluteValueDifferenceImageFilter::AbsoluteValueDifferenceImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
AbsoluteValueDifferenceImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::AbsoluteValueDifferenceImageFilter::~AbsoluteValueDifferenceImageFilter() DestructorImage itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant)Image itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant)Image itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant)protected void
finalize()
protected static long
getName()
std::string itk::simple::AbsoluteValueDifferenceImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::AbsoluteValueDifferenceImageFilter::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
-
AbsoluteValueDifferenceImageFilter
protected AbsoluteValueDifferenceImageFilter(long cPtr, boolean cMemoryOwn) -
AbsoluteValueDifferenceImageFilter
public AbsoluteValueDifferenceImageFilter()itk::simple::AbsoluteValueDifferenceImageFilter::AbsoluteValueDifferenceImageFilter() 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::AbsoluteValueDifferenceImageFilter::~AbsoluteValueDifferenceImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::AbsoluteValueDifferenceImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::AbsoluteValueDifferenceImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::AbsoluteValueDifferenceImageFilter::Execute(Image &&image1, double constant)
-