WIP: fix impl. of peak_local_max, update tests.

This commit is contained in:
Antony Lee
2016-01-29 09:26:12 +01:00
committed by Johannes Schönberger
parent 58283e7bd5
commit bd2ecff62f
4 changed files with 84 additions and 52 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ def corner_subpix(image, corners, window_size=11, alpha=0.99):
return corners_subpix
def corner_peaks(image, min_distance=10, threshold_abs=0, threshold_rel=0.1,
def corner_peaks(image, min_distance=1, threshold_abs=None, threshold_rel=None,
exclude_border=True, indices=True, num_peaks=np.inf,
footprint=None, labels=None):
"""Find corners in corner measure response image.