Jean-Marie Epitalon wrote:
> is any known algorithm for searching for all local maxima in a 2D
dataset ?
Perhaps just loop over X and Y and verify that each point is greater
than the values at (X-1, Y-1), (X-1, Y), (X-1, Y+1), (X, Y-1), (X, Y+1),
(X+1, Y-1), (X+1, Y), (X+1, Y+1), for each of those coordinates that are
in the dataset, anyway (e.g. at edges you don't want to compare off the
edge of the dataset).
-tom!
--


|