FindLocalMaxima

public class FindLocalMaxima

Find local maxima in an Image (or ROI) using the algorithm described in Neubeck and Van Gool. Efficient non-maximum suppression. Pattern Recognition (2006) vol. 3 pp. 850-855 Jonas Ries brought this to my attention and send me C code implementing one of the described algorithms

Methods

FindMax

public static Polygon FindMax(ImageProcessor iProc, Roi roi, int n, int threshold, FilterType filterType)

Static utility function to find local maxima in an Image

Parameters:
  • iProc
    • ImageProcessor object in which to look for local maxima
  • roi
    • region of interest to which the analysis is constrained
  • n
    • minimum distance to other local maximum
  • threshold
    • value below which a maximum will be rejected
  • filterType
    • Prefilter the image. Either none or Gaussian1_5
Returns:

Polygon with maxima

noiseFilter

public static Polygon noiseFilter(ImageProcessor iProc, Polygon inputPoints, int threshold)
Parameters:
  • iProc
  • inputPoints
  • threshold