Class BinaryReconstructionByDilationImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryReconstructionByDilationImageFilter
binary reconstruction by dilation of an image
Reconstruction by dilation operates on a "marker" image and a
"mask" image, and is defined as the dilation 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 , ReconstructionByDilationImageFilter , BinaryReconstructionByErosionImageFilter
itk::simple::BinaryReconstructionByDilation for the procedural interface
itk::BinaryReconstructionByDilationImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryReconstructionByDilationImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::BinaryReconstructionByDilationImageFilter::BinaryReconstructionByDilationImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedBinaryReconstructionByDilationImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::BinaryReconstructionByDilationImageFilter::~BinaryReconstructionByDilationImageFilter() DestructorImage itk::simple::BinaryReconstructionByDilationImageFilter::Execute(const Image &markerImage, const Image &maskImage) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::BinaryReconstructionByDilationImageFilter::FullyConnectedOff()voidSelf& itk::simple::BinaryReconstructionByDilationImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.doubledouble itk::simple::BinaryReconstructionByDilationImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image.protected static longdoubledouble itk::simple::BinaryReconstructionByDilationImageFilter::GetForegroundValue() const Set/Get the value used as "foreground" in the output image.booleanbool itk::simple::BinaryReconstructionByDilationImageFilter::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::BinaryReconstructionByDilationImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryReconstructionByDilationImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image.voidsetForegroundValue(double ForegroundValue) Self& itk::simple::BinaryReconstructionByDilationImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value used as "foreground" in the output image.voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryReconstructionByDilationImageFilter::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::BinaryReconstructionByDilationImageFilter::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
-
BinaryReconstructionByDilationImageFilter
protected BinaryReconstructionByDilationImageFilter(long cPtr, boolean cMemoryOwn) -
BinaryReconstructionByDilationImageFilter
public BinaryReconstructionByDilationImageFilter()itk::simple::BinaryReconstructionByDilationImageFilter::BinaryReconstructionByDilationImageFilter() 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::BinaryReconstructionByDilationImageFilter::~BinaryReconstructionByDilationImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryReconstructionByDilationImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
getBackgroundValue
public double getBackgroundValue()double itk::simple::BinaryReconstructionByDilationImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
setForegroundValue
public void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryReconstructionByDilationImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max() . -
getForegroundValue
public double getForegroundValue()double itk::simple::BinaryReconstructionByDilationImageFilter::GetForegroundValue() const Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max() . -
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryReconstructionByDilationImageFilter::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. -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::BinaryReconstructionByDilationImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::BinaryReconstructionByDilationImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::BinaryReconstructionByDilationImageFilter::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. -
getName
std::string itk::simple::BinaryReconstructionByDilationImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::BinaryReconstructionByDilationImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-