Package org.itk.simple
Class XorImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.XorImageFilter
Computes the XOR bitwise operator pixel-wise between 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.
Since the bitwise XOR operation is only defined in C++ for integer
types, the images passed to this filter must comply with the
requirement of using integer pixel type.
The total operation over one pixel will be
Where "^" is the boolean XOR operator in C++.
See:
itk::simple::Xor for the procedural interface
itk::XorImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkXorImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::XorImageFilter::XorImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
XorImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::XorImageFilter::~XorImageFilter() DestructorImage itk::simple::XorImageFilter::Execute(int constant, const Image &image2)Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)protected void
finalize()
protected static long
getCPtr
(XorImageFilter obj) getName()
std::string itk::simple::XorImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::XorImageFilter::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
-
XorImageFilter
protected XorImageFilter(long cPtr, boolean cMemoryOwn) -
XorImageFilter
public XorImageFilter()itk::simple::XorImageFilter::XorImageFilter() 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::XorImageFilter::~XorImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::XorImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::XorImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2) -
execute
Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2) -
execute
Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)
-