Class AreaClosingImageFilter


public class AreaClosingImageFilter extends ImageFilter
Morphological closing by attributes. An attribute closing removes blobs according to criteria such as area. When applied to grayscale images they have the effect of filling valleys (regions darker than their surroundings) based on area while leaving the rest of the image unchanged. This code was contributed in the Insight Journal paper "Grayscale morphological attribute operations" by Beare R. https://hdl.handle.net/1926/1316 https://www.insight-journal.org/browse/publication/203 Richard Beare. Department of Medicine, Monash University, Melbourne, Australia. See: itk::simple::AreaClosing for the procedural interface itk::AreaClosingImageFilter for the Doxygen on the original ITK class. C++ includes: sitkAreaClosingImageFilter.h
  • Constructor Details

    • AreaClosingImageFilter

      protected AreaClosingImageFilter(long cPtr, boolean cMemoryOwn)
    • AreaClosingImageFilter

      public AreaClosingImageFilter()
      itk::simple::AreaClosingImageFilter::AreaClosingImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(AreaClosingImageFilter obj)
    • swigRelease

      protected static long swigRelease(AreaClosingImageFilter obj)
    • finalize

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

      public void delete()
      virtual itk::simple::AreaClosingImageFilter::~AreaClosingImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setLambda

      public void setLambda(double Lambda)
      Self& itk::simple::AreaClosingImageFilter::SetLambda(double Lambda) The size of the area opening.
    • getLambda

      public double getLambda()
      double itk::simple::AreaClosingImageFilter::GetLambda() const
    • setUseImageSpacing

      public void setUseImageSpacing(boolean UseImageSpacing)
      Self& itk::simple::AreaClosingImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether the image spacing is used or not - defaults to true.
    • useImageSpacingOn

      public void useImageSpacingOn()
      Self& itk::simple::AreaClosingImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.
    • useImageSpacingOff

      public void useImageSpacingOff()
      Self& itk::simple::AreaClosingImageFilter::UseImageSpacingOff()
    • getUseImageSpacing

      public boolean getUseImageSpacing()
      bool itk::simple::AreaClosingImageFilter::GetUseImageSpacing() const Set/Get whether the image spacing is used or not - defaults to true.
    • setFullyConnected

      public void setFullyConnected(boolean FullyConnected)
      Self& itk::simple::AreaClosingImageFilter::SetFullyConnected(bool FullyConnected)
    • fullyConnectedOn

      public void fullyConnectedOn()
      Self& itk::simple::AreaClosingImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
    • fullyConnectedOff

      public void fullyConnectedOff()
      Self& itk::simple::AreaClosingImageFilter::FullyConnectedOff()
    • getFullyConnected

      public boolean getFullyConnected()
      bool itk::simple::AreaClosingImageFilter::GetFullyConnected() const
    • getName

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

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

      public Image execute(Image image1)
      Image itk::simple::AreaClosingImageFilter::Execute(const Image &image1) Execute the filter on the input image