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 SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::SquaredDifferenceImageFilter::SquaredDifferenceImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedSquaredDifferenceImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()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 voidfinalize()protected static longgetName()std::string itk::simple::SquaredDifferenceImageFilter::GetName() const Name of this classprotected static longtoString()std::string itk::simple::SquaredDifferenceImageFilter::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- 
SquaredDifferenceImageFilterprotected SquaredDifferenceImageFilter(long cPtr, boolean cMemoryOwn) 
- 
SquaredDifferenceImageFilterpublic SquaredDifferenceImageFilter()itk::simple::SquaredDifferenceImageFilter::SquaredDifferenceImageFilter() 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::SquaredDifferenceImageFilter::~SquaredDifferenceImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
getNamestd::string itk::simple::SquaredDifferenceImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::SquaredDifferenceImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
- 
execute
- 
execute
 
-