Search the documentation

Type to search. Use ↑ and ↓ to move, Enter to open.

Discrete cosine transform

Expresses a block of samples as a sum of cosines; the core transform of JPEG.

1
projects
1
run in the browser
Defining formula
Xk=∑n=0N−1xncos⁡ ⁣[πN(n+12)k]X_k = \sum_{n=0}^{N-1} x_n \cos\!\Bigl[\frac{\pi}{N}\Bigl(n + \tfrac12\Bigr)k\Bigr]

Re-express a block of samples as a sum of cosines; most of the energy lands in a few terms.

On this page

Projects that use it

Neighbourhood in the knowledge graph

Discrete cosine transformSignals, coding and compressionJPEG Encoder and DecoderdnslibHuffman codingLossy compressionColour spaces
ProjectsConceptsDomainsShow in graph →