.. java:import:: ij ImagePlus .. java:import:: ij.gui Roi .. java:import:: ij.plugin ImageCalculator .. java:import:: ij.process ImageProcessor .. java:import:: ij.plugin.filter GaussianBlur .. java:import:: java.awt Polygon .. java:import:: java.awt Rectangle FindLocalMaxima =============== .. java:package:: ch.epfl.leb.alica.acpack.analyzers.spotcounter :noindex: .. java:type:: 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 ^^^^^^^ .. java:method:: public static Polygon FindMax(ImageProcessor iProc, Roi roi, int n, int threshold, FilterType filterType) :outertype: FindLocalMaxima Static utility function to find local maxima in an Image :param iProc: - ImageProcessor object in which to look for local maxima :param roi: - region of interest to which the analysis is constrained :param n: - minimum distance to other local maximum :param threshold: - value below which a maximum will be rejected :param filterType: - Prefilter the image. Either none or Gaussian1_5 :return: Polygon with maxima noiseFilter ^^^^^^^^^^^ .. java:method:: public static Polygon noiseFilter(ImageProcessor iProc, Polygon inputPoints, int threshold) :outertype: FindLocalMaxima :param iProc: :param inputPoints: :param threshold: