mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-30 11:41:38 +08:00
Fix invalid circle coordinates
This commit is contained in:
1 parent
2e0882994a
commit
aeef8ef3e7
1 file changed
+2
-2
@@ -114,8 +114,8 @@ def _corner_fast(double[:, ::1] image, char n, double threshold):
|
||||
cdef double[:, ::1] corner_response = np.empty((rows, cols),
|
||||
dtype=np.double)
|
||||
|
||||
cdef char *rp = [-3, -3, -2, -1, 0, 1, 2, 3, 3, 3, 2, 1, 0, -1, -2, -1, -3]
|
||||
cdef char *cp = [0, 1, 2, 3, 3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -2, -3]
|
||||
cdef char *rp = [0, 1, 2, 3, 3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -2, -1]
|
||||
cdef char *cp = [3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -2, -1, 0, 1, 2, 3]
|
||||
cdef char bins[16]
|
||||
cdef double circle_intensities[16]
|
||||
|
||||
|
||||
Reference in new issue
Block a user