Package org.itk.simple
Class BinaryMagnitudeImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryMagnitudeImageFilter
Computes the square root of the sum of squares of corresponding input
pixels.
This filter 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 filter walks over all of the pixels in the two input images, and
for each pixel does the following:
cast the input 1 pixel value to double
cast the input 2 pixel value to double
compute the sum of squares of the two pixel values
compute the square root of the sum
cast the double value resulting from std::sqrt() to the pixel type of
the output image
store the cast 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::BinaryMagnitude for the procedural interface
itk::BinaryMagnitudeImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryMagnitudeImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::BinaryMagnitudeImageFilter::BinaryMagnitudeImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
BinaryMagnitudeImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::BinaryMagnitudeImageFilter::~BinaryMagnitudeImageFilter() DestructorImage itk::simple::BinaryMagnitudeImageFilter::Execute(Image &&image1, const Image &image2) Execute the filter on the input imagesprotected void
finalize()
protected static long
getName()
std::string itk::simple::BinaryMagnitudeImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::BinaryMagnitudeImageFilter::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
-
BinaryMagnitudeImageFilter
protected BinaryMagnitudeImageFilter(long cPtr, boolean cMemoryOwn) -
BinaryMagnitudeImageFilter
public BinaryMagnitudeImageFilter()itk::simple::BinaryMagnitudeImageFilter::BinaryMagnitudeImageFilter() 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::BinaryMagnitudeImageFilter::~BinaryMagnitudeImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::BinaryMagnitudeImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::BinaryMagnitudeImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::BinaryMagnitudeImageFilter::Execute(Image &&image1, const Image &image2) Execute the filter on the input images
-