Class BinaryGrindPeakImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryGrindPeakImageFilter
Remove the objects not connected to the boundary of the image.
BinaryGrindPeakImageFilter grinds peaks in a grayscale image.
Geodesic morphology and the grind peak algorithm is described in
Chapter 6 of Pierre Soille's book "Morphological Image Analysis:
Principles and Applications", Second Edition, Springer, 2003.
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
 This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
See:
 GrayscaleGrindPeakImageFilter
 itk::simple::BinaryGrindPeak for the procedural interface
 itk::BinaryGrindPeakImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryGrindPeakImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::BinaryGrindPeakImageFilter::BinaryGrindPeakImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedBinaryGrindPeakImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::BinaryGrindPeakImageFilter::~BinaryGrindPeakImageFilter() DestructorImage itk::simple::BinaryGrindPeakImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::BinaryGrindPeakImageFilter::FullyConnectedOff()voidSelf& itk::simple::BinaryGrindPeakImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.doubledouble itk::simple::BinaryGrindPeakImageFilter::GetBackgroundValue() const Set the value in eroded part of the image.protected static longdoubledouble itk::simple::BinaryGrindPeakImageFilter::GetForegroundValue() const Get the value in the image considered as "foreground".booleanbool itk::simple::BinaryGrindPeakImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.getName()std::string itk::simple::BinaryGrindPeakImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryGrindPeakImageFilter::SetBackgroundValue(double BackgroundValue) Set the value in eroded part of the image.voidsetForegroundValue(double ForegroundValue) Self& itk::simple::BinaryGrindPeakImageFilter::SetForegroundValue(double ForegroundValue) Set the value in the image to consider as "foreground".voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryGrindPeakImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.protected static longtoString()std::string itk::simple::BinaryGrindPeakImageFilter::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- 
BinaryGrindPeakImageFilterprotected BinaryGrindPeakImageFilter(long cPtr, boolean cMemoryOwn) 
- 
BinaryGrindPeakImageFilterpublic BinaryGrindPeakImageFilter()itk::simple::BinaryGrindPeakImageFilter::BinaryGrindPeakImageFilter() 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::BinaryGrindPeakImageFilter::~BinaryGrindPeakImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setFullyConnectedpublic void setFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryGrindPeakImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
- 
fullyConnectedOnpublic void fullyConnectedOn()Self& itk::simple::BinaryGrindPeakImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
- 
fullyConnectedOffpublic void fullyConnectedOff()Self& itk::simple::BinaryGrindPeakImageFilter::FullyConnectedOff()
- 
getFullyConnectedpublic boolean getFullyConnected()bool itk::simple::BinaryGrindPeakImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
- 
setForegroundValuepublic void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryGrindPeakImageFilter::SetForegroundValue(double ForegroundValue) Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
- 
getForegroundValuepublic double getForegroundValue()double itk::simple::BinaryGrindPeakImageFilter::GetForegroundValue() const Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryGrindPeakImageFilter::SetBackgroundValue(double BackgroundValue) Set the value in eroded part of the image. Defaults to zero
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::BinaryGrindPeakImageFilter::GetBackgroundValue() const Set the value in eroded part of the image. Defaults to zero
- 
getNamestd::string itk::simple::BinaryGrindPeakImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::BinaryGrindPeakImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-