Class HMinimaImageFilter


public class HMinimaImageFilter extends ImageFilter
Suppress local minima whose depth below the baseline is less than h. HMinimaImageFilter suppresses local minima that are less than h intensity units below the (local) background. This has the effect of smoothing over the "low" parts of the noise in the image without smoothing over large changes in intensity (region boundaries). See the HMaximaImageFilter to suppress the local maxima whose height is less than h intensity units above the (local) background. If original image is subtracted from the output of HMinimaImageFilter , the significant "valleys" in the image can be identified. This is what the HConcaveImageFilter provides. This filter uses the GrayscaleGeodesicErodeImageFilter . It provides its own input as the "mask" input to the geodesic dilation. The "marker" image for the geodesic dilation is the input image plus the height parameter h. Geodesic morphology and the H-Minima algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003. See: GrayscaleGeodesicDilateImageFilter , HMinimaImageFilter , HConvexImageFilter MorphologyImageFilter , GrayscaleDilateImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter itk::simple::HMinima for the procedural interface itk::HMinimaImageFilter for the Doxygen on the original ITK class. C++ includes: sitkHMinimaImageFilter.h
  • Constructor Details

    • HMinimaImageFilter

      protected HMinimaImageFilter(long cPtr, boolean cMemoryOwn)
    • HMinimaImageFilter

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

    • getCPtr

      protected static long getCPtr(HMinimaImageFilter obj)
    • swigRelease

      protected static long swigRelease(HMinimaImageFilter obj)
    • finalize

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

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

      public void setHeight(double Height)
      Self& itk::simple::HMinimaImageFilter::SetHeight(double Height) Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing. Local maxima below this value are replaced with an estimate of the local background.
    • getHeight

      public double getHeight()
      double itk::simple::HMinimaImageFilter::GetHeight() const Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing. Local maxima below this value are replaced with an estimate of the local background.
    • setFullyConnected

      public void setFullyConnected(boolean FullyConnected)
      Self& itk::simple::HMinimaImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
    • fullyConnectedOn

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

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

      public boolean getFullyConnected()
      bool itk::simple::HMinimaImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
    • getName

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

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

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