bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / transform / integral / integral_image
function
skimage.transform.integral:integral_image
source: /dev/scikit-image/src/skimage/transform/integral.py :4
Signature
def integral_image ( image , * , dtype = None ) Summary
Integral image / summed area table.
Extended Summary
The integral image contains the sum of all elements above and to the left of it, i.e.:
Parameters
image: ndarrayInput image.
dtype: dtype-like, optionalData type (NumPy dtype) to be used for calculation, and for output array S. If None, defaults to the more precise of either float64 or
image's dtype.
Returns
S: ndarrayIntegral image/summed area table of same shape as input image.
Notes
For better accuracy and to avoid potential overflow, the data type of the output may differ from the input's when the default dtype of None is used. For inputs with integer dtype, the behavior matches that for numpy.cumsum. Floating point inputs will be promoted to at least double precision. The user can set dtype to override this behavior.
Aliases
-
skimage.transform.integral_image