Package org.itk.simple
Class SquaredDifferenceImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.SquaredDifferenceImageFilter
Implements pixel-wise the computation of squared 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 square of the difference
cast the double value resulting from sqr() to the pixel type of the
output image
store the casted value into the output image.
The filter expect all images to have the same dimension (e.g. all 2D,
or all 3D, or all ND)
See:
itk::simple::SquaredDifference for the procedural interface
itk::SquaredDifferenceImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkSquaredDifferenceImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::SquaredDifferenceImageFilter::SquaredDifferenceImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
SquaredDifferenceImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::SquaredDifferenceImageFilter::~SquaredDifferenceImageFilter() DestructorImage itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant)Image itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant)Image itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant)protected void
finalize()
protected static long
getName()
std::string itk::simple::SquaredDifferenceImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::SquaredDifferenceImageFilter::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
-
SquaredDifferenceImageFilter
protected SquaredDifferenceImageFilter(long cPtr, boolean cMemoryOwn) -
SquaredDifferenceImageFilter
public SquaredDifferenceImageFilter()itk::simple::SquaredDifferenceImageFilter::SquaredDifferenceImageFilter() 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::SquaredDifferenceImageFilter::~SquaredDifferenceImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::SquaredDifferenceImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::SquaredDifferenceImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::SquaredDifferenceImageFilter::Execute(Image &&image1, double constant)
-