Perceptually Consistent Color-to-Gray Image Conversion

Shaodi You, Nick Barnes, Janine WalkerarXiv 2016

Abstract

Traditional color-to-gray (C2G) conversion methods often prioritize contrast maximization, which can lead to perceptually inconsistent or "unnatural" results. This paper presents a novel C2G algorithm that balances local contrast with global perceptual consistency. By integrating vision science models for multi-scale contrast and a probabilistic model for brightness, the proposed framework preserves the semantic "feeling" of the original scene. Evaluation on the new 300-image NeoColor benchmark demonstrates that this approach outperforms existing state-of-the-art methods in both qualitative naturalness and quantitative perceptual scores.

Introduction: The Challenge of Lossy Conversion

Converting a 3D color signal (RGB or Lab) into a 1D grayscale representation is inherently lossy. While many algorithms focus on ensuring that distinct colors remain distinguishable in gray, excessive contrast enhancement can distort the scene's original intent. For instance, a vibrant sunrise might be rendered as a dark, moonlit night, or a bright liquid might appear opaque and black.

Ambiguity in grayscale conversion where a sunrise can be misperceived as moonlight depending on contrast handling.

The core challenge lies in maintaining the "vibe" and luminance of the scene while preserving essential local details.

Methodology

The authors propose a graph-based optimization framework driven by a two-part energy function:

1. Brightness Perceptual Energy

Departing from models that treat brightness independently of color, this framework leverages vision science to model brightness as a cue for color probability. The energy term penalizes grayscale values that deviate from original lightness (CIE Y), weighted by the likelihood of color information being present at specific brightness levels.

2. Multi-scale Spatial Contrast

To mimic human visual sensitivity, the algorithm incorporates the Campbell-Robson and Haun-Peli contrast sensitivity curves. Multi-scale Difference of Gaussian (DoG) kernels (at scales of $2^i$ pixels) are used to translate the perceived color contrast into the grayscale domain accurately.

The resulting optimization problem is solved using an $\ell_1$-norm framework via Iteratively Re-weighted Least Squares (IRLS). The $\ell_1$-norm is specifically chosen for its ability to preserve sharp boundaries and prevent the over-smoothing common in standard $\ell_2$ approaches.

The NeoColor Benchmark

To evaluate the algorithm, the authors introduced NeoColor, a comprehensive dataset of 300 images. Unlike previous small-scale benchmarks like Cadík (24 images) or Color250, NeoColor includes diverse content such as commercial photography, fine art (e.g., Monet’s Impression, Sunrise), and computer graphics.

Key Insights: Naturalness and Scale

A primary finding is that maximizing contrast can be counterproductive if it violates "naturalness." Preserving the original lightness (CIE Y) is often more critical for human recognition than forcing every color delta to be visible.

Comparison between the original color painting and a perceptually consistent grayscale version that maintains the "foggy" atmosphere.

Additionally, the use of multi-scale filters ensures that the algorithm respects how the human eye aggregates information, preserving both fine textures and large-scale gradients simultaneously.

Results and User Preference

In qualitative comparisons, the proposed method avoids the "dirty" or "inverted" artifacts seen in other state-of-the-art techniques. Quantitatively, it achieves superior scores on the EScore (contrast) and a new PScore (perceptual consistency).

A user study involving 10 volunteers ranking 250 images confirmed the algorithm's effectiveness, ranking it as the top specialized C2G method. However, the study also revealed that users still frequently prefer standard CIE Y luminance due to its inherent naturalness, highlighting the high bar for algorithmic improvements in this field.

Conclusion and Future Work

While the $\ell_1$ optimization is computationally more intensive than linear mappings, the authors provide speedup techniques using image pyramids. Future research may extend these perceptual models to visual augmentation for individuals with visual impairments or for enhanced displays in augmented reality.

Summary updated

BibTeX
@misc{you2016perceptually,
  author = {Shaodi You and Nick Barnes and Janine Walker},
  title = {{Perceptually Consistent Color-to-Gray Image Conversion}},
  year = {2016},
  eprint = {1605.01843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.01843},
}
Figure