Class BinaryReconstructionByErosionImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryReconstructionByErosionImageFilter
binary reconstruction by erosion of an image
Reconstruction by erosion operates on a "marker" image and a
"mask" image, and is defined as the erosion of the marker image with
respect to the mask image iterated until stability.
Geodesic morphology is described in Chapter 6.2 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:
 MorphologyImageFilter , ReconstructionByErosionImageFilter , BinaryReconstructionByDilationImageFilter
 itk::simple::BinaryReconstructionByErosion for the procedural interface
 itk::BinaryReconstructionByErosionImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryReconstructionByErosionImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::BinaryReconstructionByErosionImageFilter::BinaryReconstructionByErosionImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedBinaryReconstructionByErosionImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::BinaryReconstructionByErosionImageFilter::~BinaryReconstructionByErosionImageFilter() DestructorImage itk::simple::BinaryReconstructionByErosionImageFilter::Execute(const Image &markerImage, const Image &maskImage) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::BinaryReconstructionByErosionImageFilter::FullyConnectedOff()voidSelf& itk::simple::BinaryReconstructionByErosionImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.doubledouble itk::simple::BinaryReconstructionByErosionImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image.protected static longdoubledouble itk::simple::BinaryReconstructionByErosionImageFilter::GetForegroundValue() const Set/Get the value used as "foreground" in the output image.booleanbool itk::simple::BinaryReconstructionByErosionImageFilter::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::BinaryReconstructionByErosionImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryReconstructionByErosionImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image.voidsetForegroundValue(double ForegroundValue) Self& itk::simple::BinaryReconstructionByErosionImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value used as "foreground" in the output image.voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryReconstructionByErosionImageFilter::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::BinaryReconstructionByErosionImageFilter::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- 
BinaryReconstructionByErosionImageFilterprotected BinaryReconstructionByErosionImageFilter(long cPtr, boolean cMemoryOwn) 
- 
BinaryReconstructionByErosionImageFilterpublic BinaryReconstructionByErosionImageFilter()itk::simple::BinaryReconstructionByErosionImageFilter::BinaryReconstructionByErosionImageFilter() 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::BinaryReconstructionByErosionImageFilter::~BinaryReconstructionByErosionImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryReconstructionByErosionImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::BinaryReconstructionByErosionImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
- 
setForegroundValuepublic void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryReconstructionByErosionImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max() .
- 
getForegroundValuepublic double getForegroundValue()double itk::simple::BinaryReconstructionByErosionImageFilter::GetForegroundValue() const Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max() .
- 
setFullyConnectedpublic void setFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryReconstructionByErosionImageFilter::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::BinaryReconstructionByErosionImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
- 
fullyConnectedOffpublic void fullyConnectedOff()Self& itk::simple::BinaryReconstructionByErosionImageFilter::FullyConnectedOff()
- 
getFullyConnectedpublic boolean getFullyConnected()bool itk::simple::BinaryReconstructionByErosionImageFilter::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.
- 
getNamestd::string itk::simple::BinaryReconstructionByErosionImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::BinaryReconstructionByErosionImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-