diff --git a/skimage/feature/corner_cy.pyx b/skimage/feature/corner_cy.pyx index 248a3165..e2f2506f 100644 --- a/skimage/feature/corner_cy.pyx +++ b/skimage/feature/corner_cy.pyx @@ -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]