ImageAccumulate

ImageAccumulate[image]

gives an image in which each pixel represents a sum of all pixels below and to the left of that pixel in image.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Compute the accumulated area of an image:

Accumulated area of a 3D image:

Options  (1)

Method  (1)

The default method is fast, but may have some computation artifacts:

Use Method->"CompensatedSummation" for a more accurate result:

Applications  (1)

Approximate the determinant of the Hessian using 9×9 box filters as in a SURF keypoints detector:

Visualize the function evaluated for every pixel:

Find the position of the peaks in the determinant of the Hessian matrix:

Properties & Relations  (1)

Accumulated pixel values inside an upright rectangle defined by its bottom-left and top-right corners:

Define the upright rectangular area by its bottom-left corner and its width and height:

Accumulating the pixel values of the corresponding subimage yields the same result:

Accumulate pixel values extracted from the original image:

Introduced in 2012
 (9.0)
 |
Updated in 2014
 (10.0)