Image Encoding

YUV Image Format

https://paulbourke.net/dataformats/nv12/

  1. Y Plane (Luminance):
    • Contains the luminance (brightness) information of the pixels.
    • Represents the grayscale version of the image.
    • Each pixel in this plane corresponds to one pixel in the image.
  2. UV Plane (Chrominance):
    • Contains the chrominance (color) information of the pixel

Why use YUV instead of RGB?

  • Efficient for Video Processing: Better compression, reduces bandwidth without significantly impacting visual quality.
  • Human Vision Sensitivity: Humans are more sensitive to brightness than to color, so YUV exploits this by compressing color information more than brightness.
  • Compatibility with TV Standards: Originally developed for analog TV to be backward compatible with black and white broadcasts.