Package org.itk.simple
Class VotingBinaryHoleFillingImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.VotingBinaryHoleFillingImageFilter
Fills in holes and cavities by applying a voting operation on each
pixel.
See:
Image
VotingBinaryImageFilter
VotingBinaryIterativeHoleFillingImageFilter
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
itk::simple::VotingBinaryHoleFilling for the procedural interface
itk::VotingBinaryHoleFillingImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkVotingBinaryHoleFillingImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::VotingBinaryHoleFillingImageFilter::VotingBinaryHoleFillingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
VotingBinaryHoleFillingImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::VotingBinaryHoleFillingImageFilter::~VotingBinaryHoleFillingImageFilter() DestructorImage itk::simple::VotingBinaryHoleFillingImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
double
double itk::simple::VotingBinaryHoleFillingImageFilter::GetBackgroundValue() constprotected static long
double
double itk::simple::VotingBinaryHoleFillingImageFilter::GetForegroundValue() constlong
unsigned int itk::simple::VotingBinaryHoleFillingImageFilter::GetMajorityThreshold() const Majority threshold.getName()
std::string itk::simple::VotingBinaryHoleFillingImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::VotingBinaryHoleFillingImageFilter::GetRadius() constvoid
setBackgroundValue
(double BackgroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetBackgroundValue(double BackgroundValue)void
setForegroundValue
(double ForegroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetForegroundValue(double ForegroundValue)void
setMajorityThreshold
(long MajorityThreshold) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetMajorityThreshold(unsigned int MajorityThreshold) Majority threshold.void
setRadius
(long value) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoid
setRadius
(VectorUInt32 Radius) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valueprotected static long
toString()
std::string itk::simple::VotingBinaryHoleFillingImageFilter::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
-
VotingBinaryHoleFillingImageFilter
protected VotingBinaryHoleFillingImageFilter(long cPtr, boolean cMemoryOwn) -
VotingBinaryHoleFillingImageFilter
public VotingBinaryHoleFillingImageFilter()itk::simple::VotingBinaryHoleFillingImageFilter::VotingBinaryHoleFillingImageFilter() 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::VotingBinaryHoleFillingImageFilter::~VotingBinaryHoleFillingImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setRadius
Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
setRadius
public void setRadius(long value) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
getRadius
std::vector<unsigned int> itk::simple::VotingBinaryHoleFillingImageFilter::GetRadius() const -
setMajorityThreshold
public void setMajorityThreshold(long MajorityThreshold) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetMajorityThreshold(unsigned int MajorityThreshold) Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set up a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1. -
getMajorityThreshold
public long getMajorityThreshold()unsigned int itk::simple::VotingBinaryHoleFillingImageFilter::GetMajorityThreshold() const Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set up a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1. -
setForegroundValue
public void setForegroundValue(double ForegroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetForegroundValue(double ForegroundValue) -
getForegroundValue
public double getForegroundValue()double itk::simple::VotingBinaryHoleFillingImageFilter::GetForegroundValue() const -
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetBackgroundValue(double BackgroundValue) -
getBackgroundValue
public double getBackgroundValue()double itk::simple::VotingBinaryHoleFillingImageFilter::GetBackgroundValue() const -
getName
std::string itk::simple::VotingBinaryHoleFillingImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::VotingBinaryHoleFillingImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::VotingBinaryHoleFillingImageFilter::Execute(const Image &image1) Execute the filter on the input image
-