Same pixels, less colour detail
The two letters below have identical shapes. One is drawn by changing colour with almost no change in light–dark level; the other changes from dark to light. Compare their thin vertical strokes before and after colour averaging.
Original · 24 × 12 pixels
4:2:2 · still 24 × 12 pixels
The image still has 24 columns and 12 rows, but neighbouring positions now share colour information. The coloured edge mixes with its background; the light–dark edge remains. This is chroma subsampling: losing colour positions without shrinking the displayed picture. It is already a lossy operation, even before JPEG rounds any transform coefficients.
Separate light–dark detail from colour
An RGB pixel has red, green and blue component values. Y′CbCr describes that same pixel using Y′ (luma) for its light–dark level and Cb and Cr (chroma) for blue- and red-difference information. A sample is one component value stored at one position.
Y′ is a weighted sum of encoded RGB values, not physical luminance. The colour-models article explains that distinction. With enough precision, changing between RGB and Y′CbCr is reversible. Keeping fewer Cb and Cr positions is the separate step that removes detail.
In the opening example, the coloured letter has almost no outline in Y′, so its shape depends on Cb and Cr. The neutral letter is carried by Y′. Keeping Y′ while averaging Cb and Cr therefore affects the two letters differently. Human vision generally resolves finer light–dark detail than colour detail; subsampling uses that difference to store fewer values. Fine lettering and stripes reveal where that trade-off becomes visible.
Which positions share colour?
Read each component separately. The following diagrams cover eight columns and four rows. Circles mark stored samples; rectangles show which input positions this model averages together. The coordinates stay the same in all three diagrams.
4:4:4: Y′, Cb and Cr all keep every column and row. The format does not require colour-detail loss, though later coefficient rounding can still be lossy.
4:2:2: each chroma plane keeps half the columns and all the rows. In a 1920×1080 picture, Y′ is 1920×1080; Cb and Cr are each 960×1080. Two adjacent columns share colour information, so a vertical colour edge can change. Every row still has chroma.
4:2:0: each chroma plane keeps half the columns and half the rows: 960×540 in that picture. Here, four positions in a 2×2 group share one Cb and one Cr sample. Horizontal colour edges can change too. The zero does not mean a missing Cr plane or colourless display rows.
Why a one-pixel shift changes the result
A two-pixel-wide stripe can fit exactly inside an averaging pair. Neither pair crosses its boundary, so nearest-sample reconstruction preserves the edge. Shift the stripe by one pixel and some pairs now contain both colours: the edge becomes mixed. Three-pixel-wide stripes alternate between aligned and crossing boundaries. Stripe width and alignment both matter.
These examples place each chroma sample at the centre of its averaging group, as in JPEG/JFIF. Other conventions use different positions; 4:2:0 alone does not specify the offset. This page models progressive pictures. Interlaced fields require their own vertical conventions.
Test the prediction
Start with Colour and greyscale stripes. In 4:4:4, both pictures match. Switch to 4:2:2: the one-pixel vertical colour stripes mix, while the horizontal stripes remain. In 4:2:0, both directions mix. The greyscale checkerboard remains because its detail is carried by Y′.
Then select Colour test chart and zoom to 100% or more. Compare the Aligned · 0 px and Shifted · +1 px targets. Check the 2-, 4- and 8-pixel bands against the 3-pixel bands. For horizontal stripes, repeat the comparison in 4:2:0: 4:2:2 does not average across rows.
Left: vertical colour stripes. Middle: horizontal stripes. Right: greyscale checkerboard.
- Y′ dimensions
- 48 × 32
- Cb and Cr · each
- 24 × 32
- All three planes
- 3072 samples
- 8-bit packed sample payload
- 3.00 KiB (3,072 bytes)
- Relative to 4:4:4 payload
- 66.7%
- RGB mean squared error
- 1136.013 sample units²
The payload assumes packed 8-bit samples; it is not a compressed file size.
The experiment repeats the nearest chroma sample across each group so that you can see where colour is shared. It cannot recover the removed detail.
Read the lettering carefully
The chart’s white, red and green text is a practical stress test, not an equal-contrast comparison. On its grey background, the nominal Y′ levels are about 48 for the background, 94 for red and green, and 255 for white, using this model’s BT.601 coefficients. The coloured text has much weaker light–dark contrast. It depends more on colour information, so subsampling can damage its outline more visibly.
In the JPEG experiment, coefficient rounding can also erase those weaker strokes. Do not attribute all of that result to subsampling. The opening example and stripe targets isolate which information this page removes.
Bit depth changes precision, not the grid
Bit depth answers how many code values each stored sample can have: 8 bits allow 256 values; 10 bits allow 1024. More values add no rows or columns. A 10-bit 4:2:0 picture still has fewer chroma positions than an 8-bit 4:4:4 picture of the same dimensions.
For packed 8-bit samples, 4:4:4 needs 24 bits per pixel position; 4:2:2 needs 16; 4:2:0 needs 12. Those are sample payloads, not compressed file sizes. Actual memory layouts can add padding or store a 10-bit value in a 16-bit word.
Range changes the meaning of the codes
Range answers which code values represent nominal black and white. In conventional limited-range 8-bit video, Y′ uses 16…235 and chroma uses 16…240, with neutral chroma at 128. Multiply those reference codes by four for 10 bits; values outside the nominal bounds may carry excursions.
Correctly interpreted limited range does not produce washed-out blacks. A mismatch does: reading limited-range codes as full range lifts black and lowers white. Reading full range as limited clips both ends of the ramp.
Changing 4:2:0 to 4:4:4 cannot repair that range mismatch: the positions of samples and the meaning of their code values are different choices.
Read a format description one choice at a time
“10-bit 4:2:2” states precision and relative sample counts. It does not identify the codec, range, colour matrix, primaries or transfer function, and it does not promise lossless storage. Check the stream’s declared properties.
Software often calls digital luma/chroma buffers “YUV”. Treat that as an informal label: analogue Y′UV and digital Y′CbCr have different numerical definitions. The name alone does not fix a conversion matrix or layout.
Next, image compression shows how rounding pattern weights removes information after these grids have been chosen.
Model boundaries
The examples use full-range, BT.601-matrix Y′CbCr from encoded RGB, without transfer conversion or integer chroma rounding. Chroma is box-averaged over 2×1 or 2×2 groups at their centres; this simple prefilter limits aliasing but is not an ideal bandwidth filter. Reconstruction uses nearest samples.
Y′ is retained exactly. Displayed RGB is clipped and rounded; mean squared error is measured before that step. The chart is processed at its native 2048×2048 resolution; the procedural target is 48×32. Fit changes only the display scale; 100% maps one image sample to one CSS pixel. During processing, captions and metrics describe the last completed comparison.
References
-
K. T. Mullen — The contrast sensitivity of human colour vision to red-green and blue-yellow chromatic gratings (1985): spatial sensitivity to chromatic and luminance patterns.
-
JPEG File Interchange Format 1.02, pp. 2–4: full-range YCbCr conversion, centred subsample positions and example two-tap averaging.
-
ITU-R BT.709: encoded components, luma/chroma coefficients and digital code ranges.