We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7afcb commit 390b2a8Copy full SHA for 390b2a8
1 file changed
src/skimage/feature/corner.py
@@ -12,7 +12,6 @@
12
from ..util import img_as_float
13
from ._hessian_det_appx import _hessian_matrix_det
14
from .corner_cy import _corner_fast, _corner_moravec, _corner_orientations
15
-from .peak import peak_local_max
16
from .util import _prepare_grayscale_input_2D, _prepare_grayscale_input_nD
17
18
@@ -1204,6 +1203,8 @@ def corner_peaks(
1204
1203
if np.isinf(num_peaks_per_label):
1205
num_peaks_per_label = None
1206
+ from .peak import peak_local_max
1207
+
1208
# Get the coordinates of the detected peaks
1209
coords = peak_local_max(
1210
image,
0 commit comments