Commit Graph
16 Commits
Author SHA1 Message Date
Josh Warner (Mac) 63b5c5a4a0 FEAT - combined API from is_local_maximum() into peak_local_max()
is_local_maximum() is a wrapper function for peak_local_max()
is_local_maximum() runs much faster (~20% of prior runtime, nearly = to peak_local_max())
All tests in .feature and .morphology subpackages pass as written with these changes.

Todo:
  * Fully document API
  * remove commented-out old algorithm in is_local_maximum()
  * add new tests for full coverage of new, more complex peak_local_max()
2012-11-19 23:38:58 -06:00
Johannes Schönberger e9b8645ee6 Fix parameter format in doc string of peak_local_max 2012-08-26 00:29:18 +02:00
Johannes Schönberger a87779b650 fix num_peaks parameter bug in peak_local_max 2012-08-10 20:45:50 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Tony S Yu a0c3e49742 Merge pull request #166 from 'vincent-albufera/exemple_modif'
DOC: Improve harris corners and peak detection examples and docstrings.
2012-04-25 00:52:53 -04:00
Tony S Yu c3af26d37c ENH: Add num_peaks to limit the number of peaks. 2012-04-16 00:19:56 -04:00
Tony S Yu 8bdc9f2ab4 Rename for clarity
"corner" is a relic from the original implementation in the harris filter.
2012-04-16 00:05:49 -04:00
Tony S Yu 0b33dd5811 Add docstring comment about flat peaks. 2012-04-16 00:02:45 -04:00
Tony S Yu ae6ef22a69 Fix: return empty list for flat image. 2012-04-15 23:53:53 -04:00
Tony S Yu 2585a323ac Change threshold test from >= to >. 2012-04-15 23:48:27 -04:00
Tony S Yu 187bc6d5b8 Deprecate threshold and replace absolute and relative thresholds. 2012-04-15 23:30:06 -04:00
Vincent Albufera 2aca8cd791 Addition of examples in the harris and peak local max function 2012-03-26 15:39:59 +02:00
Vincent Albufera 8c9777b967 Addition of examples in the harris and peak local max function 2012-03-21 14:27:12 +01:00
Tony S Yu 1c9b340fe6 Rename peak_min_dist to peak_local_max. 2012-02-02 22:33:57 -05:00
Tony S Yu 8bb8d93552 Use ndimage.maximum_filter to simplify peak detection.
This change should give identitical results to the previous implementation.
2012-02-02 22:33:57 -05:00
Tony S Yu 83dc4a1d40 Refactor peak detection algorithm from Harris detector. 2012-02-02 22:33:57 -05:00