mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
More optimizations
This commit is contained in:
1 parent
4840dacfcd
commit
da30925dd5
1 file changed
+1
@@ -116,6 +116,7 @@ def _corner_fast(double[:, ::1] image, char n, double threshold):
|
||||
|
||||
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