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 parametersprotectedVotingBinaryImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier 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.ImageFilter
getCPtr, swigReleaseMethods 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:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::VotingBinaryImageFilter::~VotingBinaryImageFilter() Destructor- Overrides:
deletein 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:
getNamein classProcessObject
-
toString
std::string itk::simple::VotingBinaryImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-