Try it. It Must be the reason as the false keypoints are all at the top border...

Johannes Schönberger

Am 11.08.2013 um 21:36 schrieb "AnkitAgrawal" <notifications@github.com<mailto:notifications@github.com>>:


In skimage/feature/censure_cy.pyx:

> +#cython: boundscheck=False
> +#cython: nonecheck=False
> +#cython: wraparound=False
> +
> +
> +def _censure_dob_loop(Py_ssize_t n,
> +                      double[:, ::1] integral_img,
> +                      double[:, ::1] filtered_image,
> +                      double inner_weight, double outer_weight):
> +
> +    cdef Py_ssize_t i, j
> +    cdef double inner, outer
> +    cdef Py_ssize_t n2 = 2 * n
> +    cdef double total_weight = inner_weight + outer_weight
> +
> +    for i in range(n2, integral_img.shape[0] - n2):


@ahojnnes<https://github.com/ahojnnes> : Great catch. But I am wondering if this is the cause why Travis is returning different results for Py2 and 3.

—
Reply to this email directly or view it on GitHub<https://github.com/scikit-image/scikit-image/pull/668/files#r5700890>.