Predicting Visible Image Differences Under Varying Display Brightness and Viewing Distance.

Nanyang Ye, Krzysztof Wolski, Rafal K. MantiukCVPR 2019

Abstract

Numerous applications require a robust metric that can predict whether image differences are visible or not. However, the accuracy of existing white-box visibility metrics, such as HDR-VDP, is often not good enough. CNN-based black-box visibility metrics have proven to be more accurate, but they cannot account for differences in viewing conditions, such as display brightness and viewing distance. In this paper, we propose a CNN-based visibility metric, which maintains the accuracy of deep network solutions and accounts for viewing conditions. To achieve this, we extend the existing dataset of locally visible differences (LocVis) with a new set of measurements, collected considering aforementioned viewing conditions. Then, we develop a hybrid model that combines white-box processing stages for modeling the effects of luminance masking and contrast sensitivity, with a black-box deep neural network. We demonstrate that the novel hybrid model can handle the change of viewing conditions correctly and outperforms state-of-the-art metrics.

Introduction

In fields like image compression, game rendering, and display manufacturing, it is vital to know if a human viewer will notice a difference between an original image and a processed one. However, human vision is not static; our sensitivity to detail changes significantly depending on environmental factors like screen brightness and viewing distance.

Existing solutions generally fall into two categories:

  1. White-box models (e.g., HDR-VDP): These utilize hard-coded formulas based on optics and biology. While they generalize well to different environments, they often struggle to model complex, high-level visual patterns.
  2. Black-box models (CNNs): These are highly accurate but typically trained on datasets with fixed viewing conditions. If the display brightness or viewing distance changes, these models often fail to adjust their predictions accordingly.

This research bridges the gap by developing a hybrid visibility metric that maintains the high performance of neural networks while remaining adaptable to real-world viewing conditions.

Proposed Hybrid Architecture

The core innovation is a hybrid architecture that integrates domain-specific knowledge of the human visual system (HVS) as preprocessing stages for a Convolutional Neural Network (CNN).

The proposed hybrid CNN architecture incorporating display modeling and perceptual transforms.

Luminance and Perceptual Modeling

Instead of feeding raw pixel values to the network, the model uses a display model (gamma-offset) to convert pixels into physical luminance ($cd/m^2$). These values are then transformed using Perceptually Uniform (PU) encoding. This non-linear transformation mimics how the human eye perceives brightness across a wide dynamic range, allowing the CNN to process data in a biologically relevant space.

Spatial Resampling and PPD Input

To account for viewing distance, images are resampled to a fixed angular resolution (60 pixels per degree). Furthermore, the specific "pixels per degree" (ppd) value is fed directly into the latent layers of the neural network. This allows the model to learn how the eye's peak sensitivity shifts based on how much of the visual field the image occupies.

CNN Design and Training

The model utilizes a Siamese-style network based on AlexNet. One branch analyzes the difference between the distorted and reference images, while the other analyzes the reference image itself to account for "masking" effects—where busy textures make it harder to see noise compared to flat areas. Due to the scarcity of human-labeled data, the network undergoes a two-stage training process: initial pre-training on 13 million synthetic patches labeled by HDR-VDP, followed by fine-tuning on actual human subjective data.

Datasets

The study utilizes three primary datasets:

  • LocVis: A standard dataset of locally visible differences.
  • LocVisVC (New): A "Viewing Conditions" extension introduced by the authors, containing 264 images labeled by 46 observers under varying brightness (10 and 220 $cd/m^2$) and distances (30 and 60 ppd).
  • PRETRAIN: A massive synthetic dataset of 13 million patches used for the initial training phase.

Key Results and Discussion

The proposed model (PU-CNN) significantly outperformed state-of-the-art metrics like HDR-VDP 2.2 across nearly all data subsets. A critical finding was the impact of encoding: using PU encoding resulted in a likelihood score of 0.877, compared to just 0.705 for standard logarithmic encoding.

Qualitative comparison of probability of detection maps across different models and viewing conditions.

As shown in the visual comparisons, the hybrid model correctly predicts that artifacts become more visible as display brightness increases and as the viewer moves closer to the screen (higher ppd). The model's ability to "bootstrap" from an imperfect physics model (HDR-VDP) and then surpass it using limited human data demonstrates a powerful paradigm for training HVS-based metrics.

Limitations and Future Work

While highly effective, the model currently focuses on luminance and static images. Future extensions could incorporate color perception and temporal masking for video. Additionally, while the model is fast (approx. 2.4 seconds for a 1080p image on a GTX 1080Ti), further optimization is required for real-time applications like high-framerate gaming.

Summary updated

BibTeX
@inproceedings{ye2019predicting,
  author = {Nanyang Ye and Krzysztof Wolski and Rafal K. Mantiuk},
  title = {{Predicting Visible Image Differences Under Varying Display Brightness and Viewing Distance.}},
  booktitle = {CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=HX5KVXlOpB},
}
Figure