scikits-image/scikits-image — pull request #176 by tonysyu (2012-04-16 04:28:32+00:00)
Title: peak_local_max fixes

Fixes #172 and some random fixes (and a enhancement crept in there too):

* Add `threshold_rel` and `threshold_abs` parameters.
* Deprecate `threshold` parameter (not sure if defaulting to 'deprecated' is common, but `None` looks like it could be a normal value.
* Note that function returns all values of flat peaks.
* Change threshold comparison from >= to >.
* Add `num_peaks` parameter to limit number of peaks.