Package org.itk.simple
Class EqualImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.EqualImageFilter
Implements pixel-wise generic operation of two images, or of an image
and a constant.
This class is parameterized over the types of the two input images and
the type of the output image. It is also parameterized by the
operation to be applied. A Functor style is used.
The constant must be of the same type than the pixel type of the
corresponding image. It is wrapped in a SimpleDataObjectDecorator so it can be updated through the pipeline. The SetConstant() and
GetConstant() methods are provided as shortcuts to set or get the
constant value without manipulating the decorator.
See:
BinaryGeneratorImagFilter
UnaryFunctorImageFilter TernaryFunctorImageFilter
itk::simple::Equal for the procedural interface
itk::BinaryFunctorImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkEqualImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::EqualImageFilter::EqualImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
EqualImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::EqualImageFilter::~EqualImageFilter() DestructorImage itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)protected void
finalize()
short
uint8_t itk::simple::EqualImageFilter::GetBackgroundValue() const Set/Get the value used to mark the false pixels of the operator.protected static long
getCPtr
(EqualImageFilter obj) short
uint8_t itk::simple::EqualImageFilter::GetForegroundValue() const Set/Get the value used to mark the true pixels of the operator.getName()
std::string itk::simple::EqualImageFilter::GetName() const Name of this classvoid
setBackgroundValue
(short BackgroundValue) Self& itk::simple::EqualImageFilter::SetBackgroundValue(uint8_t BackgroundValue) Set/Get the value used to mark the false pixels of the operator.void
setForegroundValue
(short ForegroundValue) Self& itk::simple::EqualImageFilter::SetForegroundValue(uint8_t ForegroundValue) Set/Get the value used to mark the true pixels of the operator.protected static long
toString()
std::string itk::simple::EqualImageFilter::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
-
EqualImageFilter
protected EqualImageFilter(long cPtr, boolean cMemoryOwn) -
EqualImageFilter
public EqualImageFilter()itk::simple::EqualImageFilter::EqualImageFilter() 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::EqualImageFilter::~EqualImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setBackgroundValue
public void setBackgroundValue(short BackgroundValue) Self& itk::simple::EqualImageFilter::SetBackgroundValue(uint8_t BackgroundValue) Set/Get the value used to mark the false pixels of the operator. -
getBackgroundValue
public short getBackgroundValue()uint8_t itk::simple::EqualImageFilter::GetBackgroundValue() const Set/Get the value used to mark the false pixels of the operator. -
setForegroundValue
public void setForegroundValue(short ForegroundValue) Self& itk::simple::EqualImageFilter::SetForegroundValue(uint8_t ForegroundValue) Set/Get the value used to mark the true pixels of the operator. -
getForegroundValue
public short getForegroundValue()uint8_t itk::simple::EqualImageFilter::GetForegroundValue() const Set/Get the value used to mark the true pixels of the operator. -
getName
std::string itk::simple::EqualImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::EqualImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant) -
execute
Image itk::simple::EqualImageFilter::Execute(Image &&image1, double constant)
-