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 SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::VotingBinaryHoleFillingImageFilter::VotingBinaryHoleFillingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedVotingBinaryHoleFillingImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::VotingBinaryHoleFillingImageFilter::~VotingBinaryHoleFillingImageFilter() DestructorImage itk::simple::VotingBinaryHoleFillingImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::VotingBinaryHoleFillingImageFilter::GetBackgroundValue() constprotected static longdoubledouble itk::simple::VotingBinaryHoleFillingImageFilter::GetForegroundValue() constlongunsigned 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() constvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetBackgroundValue(double BackgroundValue)voidsetForegroundValue(double ForegroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetForegroundValue(double ForegroundValue)voidsetMajorityThreshold(long MajorityThreshold) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetMajorityThreshold(unsigned int MajorityThreshold) Majority threshold.voidsetRadius(long value) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valueprotected static longtoString()std::string itk::simple::VotingBinaryHoleFillingImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
VotingBinaryHoleFillingImageFilterprotected VotingBinaryHoleFillingImageFilter(long cPtr, boolean cMemoryOwn) 
- 
VotingBinaryHoleFillingImageFilterpublic VotingBinaryHoleFillingImageFilter()itk::simple::VotingBinaryHoleFillingImageFilter::VotingBinaryHoleFillingImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::VotingBinaryHoleFillingImageFilter::~VotingBinaryHoleFillingImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setRadiusSelf& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
setRadiuspublic void setRadius(long value) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
getRadiusstd::vector<unsigned int> itk::simple::VotingBinaryHoleFillingImageFilter::GetRadius() const
- 
setMajorityThresholdpublic 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.
- 
getMajorityThresholdpublic 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.
- 
setForegroundValuepublic void setForegroundValue(double ForegroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetForegroundValue(double ForegroundValue)
- 
getForegroundValuepublic double getForegroundValue()double itk::simple::VotingBinaryHoleFillingImageFilter::GetForegroundValue() const
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetBackgroundValue(double BackgroundValue)
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::VotingBinaryHoleFillingImageFilter::GetBackgroundValue() const
- 
getNamestd::string itk::simple::VotingBinaryHoleFillingImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::VotingBinaryHoleFillingImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-