From acc35c843b0afec51cd98ea85ce96836be61a990 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Mon, 12 Dec 2011 23:22:45 -0500 Subject: [PATCH] Add comment about code duplication. --- skimage/detection/_template.pyx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skimage/detection/_template.pyx b/skimage/detection/_template.pyx index 40ed261b..f3e89f8a 100644 --- a/skimage/detection/_template.pyx +++ b/skimage/detection/_template.pyx @@ -19,6 +19,10 @@ cdef double sum_integral(np.ndarray[np.double_t, ndim=2, mode="c"] sat, Using a summed area table / integral image, calculate the sum over a given window. + This function is the same as the `integrate` function in + `skimage.transform.integrate`, but this Cython version significantly + speeds up the code. + Parameters ---------- sat : ndarray of double_t