CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Summed-area table

Type of data structure algorithm

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionSep 1, 2026
Entity authorityQ1550629
Source-derived summary

A summed-area table is a data structure and algorithm for quickly and efficiently generating the sum of values in a rectangular subset of a grid. In the image processing domain, it is also known as an integral image. It was introduced to computer graphics in 1984 by Frank Crow for use with mipmaps. In computer vision it was popularized by Lewis and then given the name "integral image" and prominently used within the Viola–Jones object detection framework in 2001. Historically, this principle is very well known in the study of multi-dimensional probability distribution functions, namely in computing 2D (or ND) probabilities (area under the probability distribution) from the respective cumulative distribution functions.

The algorithm

As the name suggests, the value at any point (x, y) in the summed-area table is the sum of all the pixels above and to the left of (x, y), inclusive:

I

(

x

,

y

)

=

x

x

y

y

i

(

x

,

y

)

{\displaystyle I(x,y)=\sum _{\begin{smallmatrix}x'\leq x\\y'\leq y\end{smallmatrix}}i(x',y')}

where

i

(

x

,

y

)

{\displaystyle i(x,y)}

is the value of the pixel at (x,y).

The summed-area table can be computed efficiently in a single pass over the image, as the value in the summed-area table at (x, y) is just:

I

(

x

,

y

)

=

i

(

x

,

y

)

+

I

(

x

,

y

1

)

+

I

(

x

1

,

y

)

I

(

x

1

,

y

1

)

{\displaystyle I(x,y)=i(x,y)+I(x,y-1)+I(x-1,y)-I(x-1,y-1)}

(Noted that the summed matrix is calculated from top left corner)

Once the summed-area table has been computed, evaluating the sum of intensities over any rectangular area requires exactly four array references regardless of the area size. That is, the notation in the figure at right, having A = (x0, y0), B = (x1, y0), C = (x0, y1) and D = (x1, y1), the sum of i(x,y) over the rectangle spanned by A, B, C, and D is:

x

0

<

x

x

1

y

0

<

y

y

1

i

(

x

,

y

)

=

I

(

D

)

+

I

(

A

)

I

(

B

)

I

(

C

)

{\displaystyle \sum _{\begin{smallmatrix}x_{0}<x\leq x_{1}\\y_{0}<y\leq y_{1}\end{smallmatrix}}i(x,y)=I(D)+I(A)-I(B)-I(C)}

Extensions

This method is naturally extended to continuous domains.

The method can be also extended to high-dimensional images. If the corners of the rectangle are

x

p

{\displaystyle x^{p}}

with

p

{\displaystyle p}

in

{

0

,

1

}

d

{\displaystyle \{0,1\}^{d}}

, then the sum of image values contained in the rectangle are computed with the formula

p

{

0

,

1

}

d

(

1

)

d

p

1

I

(

x

p

)

{\displaystyle \sum _{p\in \{0,1\}^{d}}(-1)^{d-\|p\|_{1}}I(x^{p})}

where

I

(

x

)

{\displaystyle I(x)}

is the integral image at

x

{\displaystyle x}

and

d

{\displaystyle d}

the image dimension.

Editorial summary

The public source identifies “Summed-area table” as type of data structure algorithm. This brief keeps that definition visible, then builds a research path around Summed-area, table and Type.

Editorial reviewA concise reference frame for defining the subject, testing terminology and identifying the institution closest to the evidence. The current lead gives the account dated anchors—1984, 2001—that can be checked directly. The selected authority fields contribute no independent date. Its value is orientation rather than verdict, with Summed-area, table and Type providing the first useful test.
Editorial analysis

Why this record matters

A short description can identify a subject without explaining its stakes. For “Summed-area table”, the useful work is to connect “type of data structure algorithm” to the records capable of establishing context and consequence.

Evidence profile

Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Sep 1, 2026. The linked authority identifier is Q1550629. None of the 0 selected statements returned an explicit reference. The first chronological checks are 1984 and 2001.

Critical limits

Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Summed-area table”, its source revision and the description used here.
  2. Expand the search: follow Summed-area table primary sources, Summed-area table archive and Summed-area research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Summed-area table”?
  2. Which cited source is closest to the event, object or claim?
  3. Which institution is responsible for the underlying evidence?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Summed-area table” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.