integral_image
-
skimage.transform.integral_image(img)[source] -
Integral image / summed area table.
The integral image contains the sum of all elements above and to the left of it, i.e.:
![S[m, n] = \sum_{i \leq m} \sum_{j \leq n} X[i, j]](http://scikit-image.org/docs/0.12.x/_images/math/2042fb2f31cb75a62c3b7a25687987efcd3f5302.png)
Parameters: img : ndarray
Input image.
Returns: S : ndarray
Integral image/summed area table of same shape as input image.
References
[R369] F.C. Crow, “Summed-area tables for texture mapping,” ACM SIGGRAPH Computer Graphics, vol. 18, 1984, pp. 207-212.
Please login to continue.