Class ReconstructionByErosionImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ReconstructionByErosionImageFilter

public class ReconstructionByErosionImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(ReconstructionByErosionImageFilter obj)
    • swigRelease

      protected static long swigRelease(ReconstructionByErosionImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::ReconstructionByErosionImageFilter::~ReconstructionByErosionImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • 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

      public String getName()
      std::string itk::simple::ReconstructionByErosionImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::ReconstructionByErosionImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image markerImage, Image maskImage)
      Image itk::simple::ReconstructionByErosionImageFilter::Execute(const Image &markerImage, const Image &maskImage) Execute the filter on the input image