Extend example of corner_peaks to highlight difference to peak_local_max

This commit is contained in:
Johannes Schönberger
2012-12-09 18:21:31 +01:00
parent 60c8e95905
commit a7411bc678
+5
View File
@@ -477,6 +477,11 @@ def corner_peaks(image, min_distance=10, threshold_abs=0, threshold_rel=0.1,
[3, 3]])
>>> corner_peaks(response, exclude_border=False)
array([[2, 2]])
>>> corner_peaks(response, exclude_border=False, min_distance=0)
array([[2, 2],
[2, 3],
[3, 2],
[3, 3]])
"""