Package org.itk.simple
Class VotingBinaryImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.VotingBinaryImageFilter
Applies a voting operation in a neighborhood of each pixel.
Pixels which are not Foreground or Background will remain unchanged.
See:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
itk::simple::VotingBinary for the procedural interface
itk::VotingBinaryImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkVotingBinaryImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::VotingBinaryImageFilter::VotingBinaryImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
VotingBinaryImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::VotingBinaryImageFilter::~VotingBinaryImageFilter() DestructorImage itk::simple::VotingBinaryImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
double
double itk::simple::VotingBinaryImageFilter::GetBackgroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background .long
unsigned int itk::simple::VotingBinaryImageFilter::GetBirthThreshold() const Birth threshold.protected static long
double
double itk::simple::VotingBinaryImageFilter::GetForegroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background .getName()
std::string itk::simple::VotingBinaryImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::VotingBinaryImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the medianlong
unsigned int itk::simple::VotingBinaryImageFilter::GetSurvivalThreshold() const Survival threshold.void
setBackgroundValue
(double BackgroundValue) Self& itk::simple::VotingBinaryImageFilter::SetBackgroundValue(double BackgroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background .void
setBirthThreshold
(long BirthThreshold) Self& itk::simple::VotingBinaryImageFilter::SetBirthThreshold(unsigned int BirthThreshold) Birth threshold.void
setForegroundValue
(double ForegroundValue) Self& itk::simple::VotingBinaryImageFilter::SetForegroundValue(double ForegroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background .void
setRadius
(long value) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoid
setRadius
(VectorUInt32 Radius) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoid
setSurvivalThreshold
(long SurvivalThreshold) Self& itk::simple::VotingBinaryImageFilter::SetSurvivalThreshold(unsigned int SurvivalThreshold) Survival threshold.protected static long
toString()
std::string itk::simple::VotingBinaryImageFilter::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
-
VotingBinaryImageFilter
protected VotingBinaryImageFilter(long cPtr, boolean cMemoryOwn) -
VotingBinaryImageFilter
public VotingBinaryImageFilter()itk::simple::VotingBinaryImageFilter::VotingBinaryImageFilter() 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::VotingBinaryImageFilter::~VotingBinaryImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setRadius
Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
setRadius
public void setRadius(long value) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
getRadius
std::vector<unsigned int> itk::simple::VotingBinaryImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the median -
setBirthThreshold
public void setBirthThreshold(long BirthThreshold) Self& itk::simple::VotingBinaryImageFilter::SetBirthThreshold(unsigned int BirthThreshold) Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold. -
getBirthThreshold
public long getBirthThreshold()unsigned int itk::simple::VotingBinaryImageFilter::GetBirthThreshold() const Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold. -
setSurvivalThreshold
public void setSurvivalThreshold(long SurvivalThreshold) Self& itk::simple::VotingBinaryImageFilter::SetSurvivalThreshold(unsigned int SurvivalThreshold) Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold. -
getSurvivalThreshold
public long getSurvivalThreshold()unsigned int itk::simple::VotingBinaryImageFilter::GetSurvivalThreshold() const Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold. -
setForegroundValue
public void setForegroundValue(double ForegroundValue) Self& itk::simple::VotingBinaryImageFilter::SetForegroundValue(double ForegroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background . -
getForegroundValue
public double getForegroundValue()double itk::simple::VotingBinaryImageFilter::GetForegroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background . -
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::VotingBinaryImageFilter::SetBackgroundValue(double BackgroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background . -
getBackgroundValue
public double getBackgroundValue()double itk::simple::VotingBinaryImageFilter::GetBackgroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background . -
getName
std::string itk::simple::VotingBinaryImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::VotingBinaryImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::VotingBinaryImageFilter::Execute(const Image &image1) Execute the filter on the input image
-