Incremental Color Quantization for Color-Vision-Deficient Observers Using Mobile Gaming Data

José Pablo Cambronero, Phillip Stanley-Marbell, Martin C. RinardarXiv 2018

Introduction

Standard image compression algorithms, such as JPEG and PNG, are typically optimized for "normal" human visual perception. However, this "one-size-fits-all" approach overlooks a significant portion of the population—approximately 8% of males and 0.5% of females—who experience color vision deficiency (CVD). Current compressors are intentionally conservative, preserving color distinctions that a CVD observer may already perceive as equivalent. This represents a missed opportunity for more efficient data encoding.

DaltonQuant is a novel image compression technique that exploits these specific "color confusions" to achieve higher compression ratios. By tailoring image data to the visual perception of CVD observers, DaltonQuant reduces file sizes by an additional 22% to 29% over state-of-the-art compressors like TinyPNG, without a perceived loss in quality for the target user.

Methodology

DaltonQuant operates as an "incremental" quantization layer on top of existing compression pipelines. The process involves four key steps:

  1. Identifying CVD Users: The researchers analyzed data from Specimen, a mobile game, to identify players who consistently confuse colors that are numerically distant in standard color spaces (like CIE-LAB) but likely similar to someone with CVD.
  2. Modeling Color Equivalence: For each identified user, a function ($\delta_u$) is constructed to score the likelihood of color confusion. Two models were evaluated: a Linear Transformation using ordinary least squares and a Non-Linear Transformation using a simple neural network (100 hidden units, ReLU) to capture complex perceptual patterns.
  3. Optimization: A greedy search algorithm merges colors in an image's palette, balancing the goal of merging perceptually equivalent colors with the need to merge colors representing large pixel counts to optimize underlying PNG encoding.
  4. Reversibility: To ensure interoperability, the system maintains a "de-quantization map." This allows a server to store a highly compressed version for a CVD user while retaining the ability to "undo" the quantization if the image is shared with a normal-vision observer.
Examples of distant color confusions identified in a user with potential color vision deficiency (PCVD).

Datasets

The study utilized two primary datasets to develop and validate the model:

  • Specimen Game Data: A massive corpus of 28 million color-matching comparisons from an iOS game. The researchers focused on the top 30 "potentially color vision deficient" (PCVD) users identified through their game history.
  • Kodak PC Reference Set: A standard benchmark suite of 24 high-quality images used to evaluate compression performance across various categories like portraits and landscapes.

Key Results

DaltonQuant demonstrated significant improvements in compression efficiency by exploiting perceptual redundancies. Key findings include:

  • Superior Compression: The method achieved average file size reductions of 22%–29% (compression ratios of 1.28–1.40) over baselines like TinyPNG and pngquant at equivalent palette sizes.
  • Model Performance: The neural-network-based non-linear model generally outperformed the linear model, indicating that human color deficiency involves complex, non-linear shifts in color perception rather than simple linear transformations.
  • Validation: There was a strong correlation (up to 80%) between a user's in-game color confusion and their inability to detect artifacts introduced by DaltonQuant's aggressive merging.
File size reduction achieved by DaltonQuant across various pre-quantizers and palette sizes.

Discussion and Future Work

This research highlights the potential of using "casual" mobile gaming data as a powerful proxy for specialized clinical vision testing, enabling personalized software at scale. By exploiting the "conservative waste" in modern compressors, DaltonQuant provides a practical solution for specialized compression that maintains interoperability through reversible mapping.

Future work may involve:

  • User Profiling: Implementing these models in logged-in environments (e.g., Google Photos or Flickr) where user profiles are readily available.
  • Broader Scope: Integrating CVD-specific models into transform-based compression like JPEG or video codecs like H.265.
  • Hardware Variability: Addressing the impact of display hardware differences on perception models, as screen variability can add noise to the data.

Summary updated

BibTeX
@misc{cambronero2018incremental,
  author = {José Pablo Cambronero and Phillip Stanley-Marbell and Martin C. Rinard},
  title = {{Incremental Color Quantization for Color-Vision-Deficient Observers Using Mobile Gaming Data}},
  year = {2018},
  eprint = {1803.08420},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.08420},
}
Figure