Class RegionalMinimaImageFilter


public class RegionalMinimaImageFilter extends ImageFilter
Produce a binary image where foreground is the regional minima of the input image. Regional minima are flat zones surrounded by pixels of greater value. If the input image is constant, the entire image can be considered as a minima or not. The SetFlatIsMinima() method let the user choose which behavior to use. This class was contributed to the Insight Journal by Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. https://www.insight-journal.org/browse/publication/65 See: RegionalMaximaImageFilter ValuedRegionalMinimaImageFilter HConcaveImageFilter itk::simple::RegionalMinima for the procedural interface itk::RegionalMinimaImageFilter for the Doxygen on the original ITK class. C++ includes: sitkRegionalMinimaImageFilter.h
  • Constructor Details

    • RegionalMinimaImageFilter

      protected RegionalMinimaImageFilter(long cPtr, boolean cMemoryOwn)
    • RegionalMinimaImageFilter

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

    • getCPtr

      protected static long getCPtr(RegionalMinimaImageFilter obj)
    • swigRelease

      protected static long swigRelease(RegionalMinimaImageFilter obj)
    • finalize

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

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

      public void setBackgroundValue(double BackgroundValue)
      Self& itk::simple::RegionalMinimaImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • getBackgroundValue

      public double getBackgroundValue()
      double itk::simple::RegionalMinimaImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • setForegroundValue

      public void setForegroundValue(double ForegroundValue)
      Self& itk::simple::RegionalMinimaImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType.
    • getForegroundValue

      public double getForegroundValue()
      double itk::simple::RegionalMinimaImageFilter::GetForegroundValue() const Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType.
    • setFullyConnected

      public void setFullyConnected(boolean FullyConnected)
      Self& itk::simple::RegionalMinimaImageFilter::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::RegionalMinimaImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
    • fullyConnectedOff

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

      public boolean getFullyConnected()
      bool itk::simple::RegionalMinimaImageFilter::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.
    • setFlatIsMinima

      public void setFlatIsMinima(boolean FlatIsMinima)
      Self& itk::simple::RegionalMinimaImageFilter::SetFlatIsMinima(bool FlatIsMinima) Set/Get whether a flat image must be considered as a minima or not. Defaults to true.
    • flatIsMinimaOn

      public void flatIsMinimaOn()
      Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOn() Set the value of FlatIsMinima to true or false respectfully.
    • flatIsMinimaOff

      public void flatIsMinimaOff()
      Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOff()
    • getFlatIsMinima

      public boolean getFlatIsMinima()
      bool itk::simple::RegionalMinimaImageFilter::GetFlatIsMinima() const Set/Get whether a flat image must be considered as a minima or not. Defaults to true.
    • getName

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

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

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