Package org.itk.simple
Class ReconstructionByErosionImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ReconstructionByErosionImageFilter
grayscale 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.
The marker image must be less than or equal to the mask image (on a
pixel by pixel basis).
Geodesic morphology is described in Chapter 6.2 of Pierre Soille's
book "Morphological Image Analysis: Principles and Applications",
Second Edition, Springer, 2003.
Algorithm implemented in this filter is based on algorithm described by Kevin
Robinson and Paul F. Whelan in "Efficient Morphological
Reconstruction: A Downhill Filter", Pattern Recognition Letters,
Volume 25, Issue 15, November 2004, Pages 1759-1767.
The algorithm, a description of the transform and some applications
can be found in "Morphological Grayscale Reconstruction in Image
Analysis: Applications and Efficient Algorithms", Luc Vincent, IEEE
Transactions on image processing, Vol. 2, April 1993.
Richard Beare. Department of Medicine, Monash University, Melbourne,
Australia.
See:
MorphologyImageFilter , GrayscaleDilateImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter , ReconstructionByErosionImageFilter , OpeningByReconstructionImageFilter , ClosingByReconstructionImageFilter , ReconstructionImageFilter
itk::simple::ReconstructionByErosion for the procedural interface
itk::ReconstructionByErosionImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkReconstructionByErosionImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::ReconstructionByErosionImageFilter::ReconstructionByErosionImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
ReconstructionByErosionImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::ReconstructionByErosionImageFilter::~ReconstructionByErosionImageFilter() DestructorImage itk::simple::ReconstructionByErosionImageFilter::Execute(const Image &markerImage, const Image &maskImage) Execute the filter on the input imageprotected void
finalize()
void
Self& itk::simple::ReconstructionByErosionImageFilter::FullyConnectedOff()void
Self& itk::simple::ReconstructionByErosionImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.protected static long
boolean
bool itk::simple::ReconstructionByErosionImageFilter::GetFullyConnected() constgetName()
std::string itk::simple::ReconstructionByErosionImageFilter::GetName() const Name of this classboolean
bool itk::simple::ReconstructionByErosionImageFilter::GetUseInternalCopy() constvoid
setFullyConnected
(boolean FullyConnected) Self& itk::simple::ReconstructionByErosionImageFilter::SetFullyConnected(bool FullyConnected)void
setUseInternalCopy
(boolean UseInternalCopy) Self& itk::simple::ReconstructionByErosionImageFilter::SetUseInternalCopy(bool UseInternalCopy)protected static long
toString()
std::string itk::simple::ReconstructionByErosionImageFilter::ToString() const Print ourselves outvoid
Self& itk::simple::ReconstructionByErosionImageFilter::UseInternalCopyOff()void
Self& itk::simple::ReconstructionByErosionImageFilter::UseInternalCopyOn() Set the value of UseInternalCopy to true or false respectfully.Methods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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
-
ReconstructionByErosionImageFilter
protected ReconstructionByErosionImageFilter(long cPtr, boolean cMemoryOwn) -
ReconstructionByErosionImageFilter
public ReconstructionByErosionImageFilter()itk::simple::ReconstructionByErosionImageFilter::ReconstructionByErosionImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::ReconstructionByErosionImageFilter::~ReconstructionByErosionImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::ReconstructionByErosionImageFilter::SetFullyConnected(bool FullyConnected) -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::ReconstructionByErosionImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::ReconstructionByErosionImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::ReconstructionByErosionImageFilter::GetFullyConnected() const -
setUseInternalCopy
public void setUseInternalCopy(boolean UseInternalCopy) Self& itk::simple::ReconstructionByErosionImageFilter::SetUseInternalCopy(bool UseInternalCopy) -
useInternalCopyOn
public void useInternalCopyOn()Self& itk::simple::ReconstructionByErosionImageFilter::UseInternalCopyOn() Set the value of UseInternalCopy to true or false respectfully. -
useInternalCopyOff
public void useInternalCopyOff()Self& itk::simple::ReconstructionByErosionImageFilter::UseInternalCopyOff() -
getUseInternalCopy
public boolean getUseInternalCopy()bool itk::simple::ReconstructionByErosionImageFilter::GetUseInternalCopy() const -
getName
std::string itk::simple::ReconstructionByErosionImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::ReconstructionByErosionImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::ReconstructionByErosionImageFilter::Execute(const Image &markerImage, const Image &maskImage) Execute the filter on the input image
-