mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-26 13:37:17 +08:00
Fix corner_fast doctest
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user