integral-image

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]

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.
doc_scikit_image
2017-01-12 17:21:37
Comments
Leave a Comment

Please login to continue.