Package org.itk.simple
Class BinaryNotImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryNotImageFilter
Implements the BinaryNot logical operator pixel-wise between two
images.
This class 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 total operation over one pixel will be
output_pixel = static_cast<PixelType>( input1_pixel !=
input2_pixel )
Where "!=" is the equality operator in C++.
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176
See:
itk::simple::BinaryNot for the procedural interface
itk::BinaryNotImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryNotImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::BinaryNotImageFilter::BinaryNotImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
BinaryNotImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::BinaryNotImageFilter::~BinaryNotImageFilter() DestructorImage itk::simple::BinaryNotImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected void
finalize()
double
double itk::simple::BinaryNotImageFilter::GetBackgroundValue() const Set/Get the value used as "background".protected static long
double
double itk::simple::BinaryNotImageFilter::GetForegroundValue() const Set/Get the value in the image considered as "foreground".getName()
std::string itk::simple::BinaryNotImageFilter::GetName() const Name of this classvoid
setBackgroundValue
(double BackgroundValue) Self& itk::simple::BinaryNotImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background".void
setForegroundValue
(double ForegroundValue) Self& itk::simple::BinaryNotImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the image considered as "foreground".protected static long
toString()
std::string itk::simple::BinaryNotImageFilter::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
-
BinaryNotImageFilter
protected BinaryNotImageFilter(long cPtr, boolean cMemoryOwn) -
BinaryNotImageFilter
public BinaryNotImageFilter()itk::simple::BinaryNotImageFilter::BinaryNotImageFilter() 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::BinaryNotImageFilter::~BinaryNotImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setForegroundValue
public void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryNotImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType. -
getForegroundValue
public double getForegroundValue()double itk::simple::BinaryNotImageFilter::GetForegroundValue() const Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType. -
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryNotImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
getBackgroundValue
public double getBackgroundValue()double itk::simple::BinaryNotImageFilter::GetBackgroundValue() const Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
getName
std::string itk::simple::BinaryNotImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::BinaryNotImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::BinaryNotImageFilter::Execute(Image &&image1) Execute the filter on the input image
-