YJK

From Wikipedia, the free encyclopedia

Cropped and zoomed comparison between the original true color image (left) and the YJK (right) version.

YJK[1][2][3] is a proprietary color space implemented by the Yamaha V9958[4][5][6] graphic chip on MSX2+ computers.[7][8] It has the advantage of encoding images by implementing less resolution for color information than for brightness, taking advantage of the human visual systems' lower acuity for color differences.[9] This saves memory, transmission and computing power.

YJK is composed of three components: , and . is similar to luminance (but computed differently), and are the chrominance components (representing red and green color differences).

The component is a 5-bit unsigned value (0 to 31), specified for each individual pixel. The and components are stored together in 6 bits as a complement signed value (-32 to 31) and shared between 4 adjacent horizontal pixels (4:1:1 chroma sub-sampling).[10][11][12]

The following table shows the encoding of this information across 4 pixels:[10]

YJK bit encoding[10]
Pixel coordinates Bits
7 6 5 4 3 2 1 0
0,0 Y1 K low
0,1 Y2 K high
0,2 Y3 J low
0,3 Y4 J high

This arrangement allows for the encoding of 19,268 different colors.[10][11][12] While conceptually similar to YUV, chroma sampling, numerical relationship between the components, and transformation to and from RGB are different in YJK.

References

See also

Related Articles

Wikiwand AI