Abstract
This paper introduces a three-step colour alignment model designed to achieve relative colour constancy (RCC) across diverse digital cameras. By treating proprietary image processing pipelines as black boxes, the method leverages a novel "balance-of-linear-distances" (BoLD) feature to calibrate camera responses using non-standard references. The framework requires only two corresponding colour patches for matching, enabling accurate and consistent colour measurements for scientific and computer vision applications using consumer-grade smartphones.
Introduction
The rise of portable digital cameras has facilitated on-site scientific imaging, yet achieving consistent colour assessment across different devices remains a significant challenge. Manufacturers employ varied hardware and proprietary post-processing pipelines—such as white balance and gamma correction—that are often inaccessible to users. Traditional calibration methods for Relative Colour Constancy (RCC) typically require expensive standard colour charts with known spectral values, which are impractical for many field and scientific setups.
Proposed Framework
The authors propose a three-step colour alignment framework that operates on final processed images (JPEG/PNG), bypassing the need for RAW sensor data.
- Camera Response Calibration: The model estimates the inverse Camera Response Function (iCRF) to undo nonlinear transformations. This is achieved through the balance-of-linear-distances (BoLD) feature.
- Response Linearisation: The calibrated iCRF is applied to test images to restore linear colour intensities.
- Colour Matching: Linearised images undergo pixel-wise matching of intensity and chromaticity, mapping test image colours to a baseline using a minimum of two Corresponding Colour Patches (CCPs).
The BoLD Feature
A core innovation of this work is the BoLD feature, which allows for unsupervised calibration without ground-truth colour values. The authors observed that intensity distances between colour patches in linear (RAW) images exhibit statistical symmetry. Asymmetry in processed images serves as a signal for nonlinear CRF effects.
The model identifies the iCRF that best restores this symmetry. Testing revealed that a "Selection" approach—searching a database of 201 real-world CRFs—was significantly faster and more accurate than complex machine-learning optimization.
Experimental Results
The model was evaluated on several datasets, including the newly created Belfast Dataset, which comprises 120 images from six different cameras under various illuminations. Key findings include:
- Superior Accuracy: The BoLD-alignment method outperformed standard White Balance techniques (e.g., Grey-World) and deep learning models (e.g., FC4).
- Efficiency: The "Selection" calibration approach takes approximately 3.5 seconds, with subsequent image correction taking less than a second.
- Minimal Data: Accurate response function estimation requires only four calibration images.
Conclusion
The proposed method demonstrates that unsupervised calibration is possible by leveraging the statistical properties of image intensity. By decoupling intensity and chromaticity correction, the model achieves state-of-the-art results with minimal reference data. Future work will focus on automating the extraction of corresponding colour patches to create a fully autonomous pipeline.
Summary updated