-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
We have some issues with our naive (non-parallel) integral image implementation in scikit-image. At the same time, we have many functions (template matching, thresholding) that depend on it, so it would be awesome to have a GPUtools implementation. (Ideally before March. ;) Here are some references for the implementation:
https://dspace.mit.edu/openaccess-disseminate/1721.1/71883
(note though that they use exclusive integral images while we use inclusive ones in skimage):
In [1]: from skimage.transform import integral_image
In [2]: import numpy as np
In [3]: integral_image(np.array([[4, 8, 0], [9, 8, 8]]))
Out[3]:
array([[ 4, 12, 12],
[13, 29, 37]])
It might also turn out to be way more complicated in nD...
Other relevant paper:
Metadata
Metadata
Assignees
Labels
No labels