Class GrayscaleMorphologicalOpeningImageFilter

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

public class GrayscaleMorphologicalOpeningImageFilter extends ImageFilter
Grayscale opening of an image. Open an image using grayscale morphology. The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel. See: MorphologyImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter itk::simple::GrayscaleMorphologicalOpening for the procedural interface itk::GrayscaleMorphologicalOpeningImageFilter for the Doxygen on the original ITK class. C++ includes: sitkGrayscaleMorphologicalOpeningImageFilter.h
  • Constructor Details

    • GrayscaleMorphologicalOpeningImageFilter

      protected GrayscaleMorphologicalOpeningImageFilter(long cPtr, boolean cMemoryOwn)
    • GrayscaleMorphologicalOpeningImageFilter

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

    • getCPtr

      protected static long getCPtr(GrayscaleMorphologicalOpeningImageFilter obj)
    • swigRelease

      protected static long swigRelease(GrayscaleMorphologicalOpeningImageFilter obj)
    • finalize

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

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

      public void setKernelRadius(VectorUInt32 KernelRadius)
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
    • setKernelRadius

      public void setKernelRadius(long value)
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
    • getKernelRadius

      public VectorUInt32 getKernelRadius()
      std::vector<unsigned int> itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.
    • setKernelType

      public void setKernelType(KernelEnum KernelType)
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.
    • getKernelType

      public KernelEnum getKernelType()
      KernelEnum itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.
    • setSafeBorder

      public void setSafeBorder(boolean SafeBorder)
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is done
    • safeBorderOn

      public void safeBorderOn()
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully.
    • safeBorderOff

      public void safeBorderOff()
      Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOff()
    • getSafeBorder

      public boolean getSafeBorder()
      bool itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is done
    • getName

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

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

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