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 SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::VotingBinaryImageFilter::VotingBinaryImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedVotingBinaryImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::VotingBinaryImageFilter::~VotingBinaryImageFilter() DestructorImage itk::simple::VotingBinaryImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::VotingBinaryImageFilter::GetBackgroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background .longunsigned int itk::simple::VotingBinaryImageFilter::GetBirthThreshold() const Birth threshold.protected static longdoubledouble 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 medianlongunsigned int itk::simple::VotingBinaryImageFilter::GetSurvivalThreshold() const Survival threshold.voidsetBackgroundValue(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 .voidsetBirthThreshold(long BirthThreshold) Self& itk::simple::VotingBinaryImageFilter::SetBirthThreshold(unsigned int BirthThreshold) Birth threshold.voidsetForegroundValue(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 .voidsetRadius(long value) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetSurvivalThreshold(long SurvivalThreshold) Self& itk::simple::VotingBinaryImageFilter::SetSurvivalThreshold(unsigned int SurvivalThreshold) Survival threshold.protected static longtoString()std::string itk::simple::VotingBinaryImageFilter::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- 
VotingBinaryImageFilterprotected VotingBinaryImageFilter(long cPtr, boolean cMemoryOwn) 
- 
VotingBinaryImageFilterpublic VotingBinaryImageFilter()itk::simple::VotingBinaryImageFilter::VotingBinaryImageFilter() 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::VotingBinaryImageFilter::~VotingBinaryImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setRadiusSelf& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
setRadiuspublic void setRadius(long value) Self& itk::simple::VotingBinaryImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
getRadiusstd::vector<unsigned int> itk::simple::VotingBinaryImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the median
- 
setBirthThresholdpublic 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.
- 
getBirthThresholdpublic 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.
- 
setSurvivalThresholdpublic 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.
- 
getSurvivalThresholdpublic 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.
- 
setForegroundValuepublic 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 .
- 
getForegroundValuepublic 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 .
- 
setBackgroundValuepublic 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 .
- 
getBackgroundValuepublic 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 .
- 
getNamestd::string itk::simple::VotingBinaryImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::VotingBinaryImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-