Fix some performance regressions in Cython implementation of FAST

This commit is contained in:
Johannes Schönberger
2013-08-24 08:51:09 +02:00
parent c81fd76905
commit 6576baae7d
+1
View File
@@ -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]