Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Gray Pixel for Statistical Illumination Estimation

Yanlin Qian, Said Pertuz|arXiv (Cornell University)|Mar 22, 2018
Color Science and ApplicationsPhysics and Astronomy37 references3 citations
TL;DR

This paper proposes MSGP, a training-free statistical color constancy method that detects gray pixels using a novel grayness measure and mean shift clustering in color space. It outperforms state-of-the-art learning-based and statistical methods in the camera-agnostic setting, achieving robust illumination estimation with only two parameters and low computational cost.

ABSTRACT

We present a statistical color constancy method that relies on novel gray pixel detection and mean shift clustering. The method, called Mean Shifted Grey Pixel -- MSGP, is based on the observation: true-gray pixels are aligned towards one single direction. Our solution is compact, easy to compute and requires no training. Experiments on two real-world benchmarks show that the proposed approach outperforms state-of-the-art methods in the camera-agnostic scenario. In the setting where the camera is known, MSGP outperforms all statistical methods.

Motivation & Objective

  • Address the limitation of learning-based color constancy methods in camera-agnostic settings where no prior knowledge of the imaging device is available.
  • Develop a statistical method that is robust to variations in camera models and imaging conditions by leveraging the physical property that gray pixels should appear neutral under standard illumination.
  • Improve gray pixel detection accuracy through a hybrid distance metric and mean shift clustering to estimate the dominant illumination direction.
  • Demonstrate that statistical methods can outperform learning-based approaches when generalization to unknown cameras is required.
  • Provide a lightweight, fast, and implementation-friendly solution for real-world color constancy applications without requiring training data.

Proposed method

  • Propose a novel grayness measure that combines chromaticity and intensity to identify pixels likely to be neutral under standard illumination.
  • Apply mean shift clustering in the RGB color space using a hybrid distance metric that combines angular and Euclidean components to locate the mode of gray pixel distribution.
  • Use the mode of the clustered gray pixels as the estimated illumination vector, assuming it aligns with the dominant light source.
  • Set two key parameters: the percentage of pixels considered for grayness detection (N%) and the mean shift bandwidth (h), with h = 1e-3 showing optimal performance.
  • Process images in linear RGB space after correcting for black level and saturation, ensuring consistency with the underlying physical imaging model.
  • Adapt the method to other color spaces (e.g., CIELab) without performance degradation, enhancing flexibility across different color representations.

Experimental results

Research questions

  • RQ1Can a statistical color constancy method outperform learning-based methods in the camera-agnostic setting, where no information about the camera is available?
  • RQ2How effective is gray pixel detection combined with mean shift clustering in estimating the dominant illumination direction?
  • RQ3What is the impact of clustering algorithm choice (mean shift vs. k-means) and bandwidth selection on the accuracy of illumination estimation?
  • RQ4How does the proposed method perform compared to state-of-the-art statistical and learning-based methods on real-world benchmarks under both known and unknown camera conditions?
  • RQ5In what scenarios does the method fail, and how do these failures correlate with known image characteristics such as mixed illumination or lack of gray pixels?

Key findings

  • In the camera-agnostic setting, MSGP outperforms all state-of-the-art learning-based and statistical methods on both the SFU Color Checker and NUS 8-Camera benchmarks.
  • On the SFU Color Checker dataset, MSGP achieves a mean error of 3.45 and median error of 2.00, outperforming the next best method (FFCC) with 3.62 mean error.
  • On the NUS 8-Camera dataset, MSGP achieves a mean error of 2.92 and median error of 2.11, significantly outperforming other statistical methods and matching the best learning-based method.
  • The bandwidth h = 1e-3 yields the best trade-off between mean and median error across both datasets, with h = 1e-4 and h = 1e-2 showing slightly worse performance.
  • Mean shift clustering consistently outperforms k-means, especially in handling outliers, with the 2-cluster k-means variant performing best among k-means variants.
  • Failure cases are largely confined to images with no detectable gray pixels or mixed illumination, which aligns with the known two-illumination image list from the SFU dataset.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.