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
- ImageAccumulate[image] pads the image with one row of zeros at the bottom and one column of zeros on the left of the image after accumulating the pixels and returns an image whose dimensions are 1+ImageDimensions[image].
- ImageAccumulate operates separately on each channel in an image.
- ImageAccumulate gives an image of a real type.
- ImageAccumulate[image,Method->"CompensatedSummation"] uses compensated summation to reduce numerical error in the result.
- ImageAccumulate also works with Image3D objects.
Examples
open allclose allOptions (1)
Method (1)
The default method is fast, but may have some computation artifacts:
Use Method->"CompensatedSummation" for a more accurate result:
Applications (1)
Properties & Relations (1)
Text
Wolfram Research (2012), ImageAccumulate, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageAccumulate.html (updated 2014).
CMS
Wolfram Language. 2012. "ImageAccumulate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ImageAccumulate.html.
APA
Wolfram Language. (2012). ImageAccumulate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageAccumulate.html