Class RegionalMaximaImageFilter


public class RegionalMaximaImageFilter extends ImageFilter
Produce a binary image where foreground is the regional maxima of the input image. Regional maxima are flat zones surrounded by pixels of lower value. If the input image is constant, the entire image can be considered as a maxima or not. The desired behavior can be selected with the SetFlatIsMaxima() method. Gaetan Lehmann This class was contributed to the Insight Journal by author Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. The paper can be found at https://www.insight-journal.org/browse/publication/65 See: ValuedRegionalMaximaImageFilter HConvexImageFilter RegionalMinimaImageFilter itk::simple::RegionalMaxima for the procedural interface itk::RegionalMaximaImageFilter for the Doxygen on the original ITK class. C++ includes: sitkRegionalMaximaImageFilter.h
  • Constructor Details

    • RegionalMaximaImageFilter

      protected RegionalMaximaImageFilter(long cPtr, boolean cMemoryOwn)
    • RegionalMaximaImageFilter

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

    • getCPtr

      protected static long getCPtr(RegionalMaximaImageFilter obj)
    • swigRelease

      protected static long swigRelease(RegionalMaximaImageFilter obj)
    • finalize

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

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

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

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

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

      public void setFlatIsMaxima(boolean FlatIsMaxima)
      Self& itk::simple::RegionalMaximaImageFilter::SetFlatIsMaxima(bool FlatIsMaxima) Set/Get whether a flat image must be considered as a maxima or not. Defaults to true.
    • flatIsMaximaOn

      public void flatIsMaximaOn()
      Self& itk::simple::RegionalMaximaImageFilter::FlatIsMaximaOn() Set the value of FlatIsMaxima to true or false respectfully.
    • flatIsMaximaOff

      public void flatIsMaximaOff()
      Self& itk::simple::RegionalMaximaImageFilter::FlatIsMaximaOff()
    • getFlatIsMaxima

      public boolean getFlatIsMaxima()
      bool itk::simple::RegionalMaximaImageFilter::GetFlatIsMaxima() const Set/Get whether a flat image must be considered as a maxima or not. Defaults to true.
    • getName

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

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

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