Class WhiteTopHatImageFilter


public class WhiteTopHatImageFilter extends ImageFilter
White top hat extracts local maxima that are larger than the structuring element. Top-hats are described in Chapter 4.5 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. See: itk::simple::WhiteTopHat for the procedural interface itk::WhiteTopHatImageFilter for the Doxygen on the original ITK class. C++ includes: sitkWhiteTopHatImageFilter.h
  • Constructor Details

    • WhiteTopHatImageFilter

      protected WhiteTopHatImageFilter(long cPtr, boolean cMemoryOwn)
    • WhiteTopHatImageFilter

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

    • getCPtr

      protected static long getCPtr(WhiteTopHatImageFilter obj)
    • swigRelease

      protected static long swigRelease(WhiteTopHatImageFilter obj)
    • finalize

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

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

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

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

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

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

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

      public void setSafeBorder(boolean SafeBorder)
      Self& itk::simple::WhiteTopHatImageFilter::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::WhiteTopHatImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully.
    • safeBorderOff

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

      public boolean getSafeBorder()
      bool itk::simple::WhiteTopHatImageFilter::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::WhiteTopHatImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

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

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