Fix corner_fast doctest

This commit is contained in:
Johannes Schönberger
2016-01-29 09:26:12 +01:00
parent 024c4328f2
commit e74da89ede
+1 -1
View File
@@ -610,7 +610,7 @@ def corner_fast(image, n=12, threshold=0.15):
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]])
>>> corner_peaks(corner_fast(square, 9), min_distance=1)
>>> corner_peaks(corner_fast(square, 9), min_distance=1, threshold_rel=0.1)
array([[3, 3],
[3, 8],
[8, 3],