JPEG
gif data

inADA

DCT

The above figure demonstrates the generation of the 4 x 4 pixel DCT equation.

The farthest left pixel block is the original picture data.

The squares to the right are generated using the cosine equation. Gray shading represents a 1 value, white is -1.