Jump to content

User:Mdockrey/Summed Area Table

From Wikipedia, the free encyclopedia

A Summed Area Table (also known as an Integral Image) is an algorithm for quickly and efficiently generating the sum of values in a rectangular subset of a grid. It was first introduced to the computer graphics world in 1984 for use in mipmaps but wasn't widely used in the computer vision community until its prominent use in the Viola and Jones robust real-time object detection framework twenty years later.

The Algorithm[edit]

As the name suggests, the value at any point in the summed area table is just the sum of all the pixels above and to the left of , inclusive:[1] [2]


Moreover, the summed area table can be computed efficiently in a single pass over the image, using the fact that the value in the summed area table at is just:


Finding the value of a Rectangle


Once the summed area table has been computed, the task of evaluating any rectangle can be accomplished in constant time with just four array references. Specifically, using the notation in the figure at right, the value is just:


References[edit]

  1. ^ Crow, Franklin (1984). "Summed-area tables for texture mapping" (PDF). SIGGRAPH '84: Proceedings of the 11th annual conference on Computer graphics and interactive techniques. pp. 207–212. {{cite conference}}: Cite has empty unknown parameter: |coauthors= (help)
  2. ^ Viola, Paul (2002). "Robust Real-time Object Detection" (PDF). International Journal of Computer Vision. {{cite conference}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)