Abstract
Modern cameras typically offer two types of image states: a minimally processed linear raw RGB image representing the raw sensor data, and a highly-processed non-linear image state, such as the sRGB state. The CIE-XYZ color space is a device-independent linear space used as part of the camera pipeline and can be helpful for computer vision tasks, such as image deblurring, dehazing, and color recognition tasks in medical applications, where color accuracy is important. However, images are usually saved in non-linear states, and achieving CIE-XYZ color images using conventional methods is not always possible. To tackle this issue, classical methodologies have been developed that focus on reversing the acquisition pipeline. More recently, supervised learning has been employed, using paired CIE-XYZ and sRGB representations of identical images. However, obtaining a large-scale dataset of CIE-XYZ and sRGB pairs can be challenging. To overcome this limitation and mitigate the reliance on large amounts of paired data, self-supervised learning (SSL) can be utilized as a substitute for relying solely on paired data. This paper proposes a framework for using SSL methods alongside paired data to reconstruct CIE-XYZ images and re-render sRGB images, outperforming existing approaches. The proposed framework is applied to the sRGB2XYZ dataset.
Introduction
When a digital camera captures a scene, the Image Signal Processor (ISP) applies a series of complex, non-linear transformations to convert raw sensor data into standard sRGB images. While these transformations optimize images for human viewing, they destroy the linear relationship between pixel values and scene radiance. For high-precision computer vision tasks—such as medical diagnostics, dehazing, or deblurring—researchers require images in a device-independent, linear color space like CIE-XYZ.
Reverting an sRGB image back to CIE-XYZ, a process known as "unprocessing," is inherently difficult. Traditional supervised methods require massive datasets of paired sRGB and CIE-XYZ images, which are difficult to acquire across diverse camera hardware. The SEL-CIE framework addresses this data scarcity by introducing a self-supervised approach that leverages standardized physical markers.
Methodology
The SEL-CIE framework utilizes a three-phase training strategy to maximize the utility of limited paired data:
- Phase I (Supervised Anchor): The network is initially trained on a small dataset of paired sRGB and CIE-XYZ images to establish baseline color relationships.
- Phase II (Self-Supervised Refinement): This core innovation utilizes images containing Macbeth ColorCheckers. Because the ground-truth CIE-XYZ values for these standardized patches are known constants, the model can self-correct by comparing its reconstructed patches against these known values using the Delta E 76 color difference formula.
- Phase III (Final Supervised Refinement): A final round of supervised training on paired data polishes the model’s performance.
The architecture employs a dual-pathway approach for global color mapping and local processing. An enhanced version, SEL-CIE-RB, incorporates a pre-trained ResNet50 backbone to improve feature extraction by leveraging high-level semantic understanding of the scene.
Experimental Results
The framework was evaluated using the sRGB2XYZ Dataset (derived from MIT-Adobe FiveK) and the NUS Dataset for self-supervision. The SEL-CIE-RB model significantly outperformed previous state-of-the-art methods across key metrics:
- PSNR (sRGB → XYZ): Achieved 32.11 dB, a notable improvement over the previous benchmark of 29.66 dB.
- SSIM: Reached 0.9408, indicating high structural and color fidelity to the original linear scene.
- Visual Accuracy: Qualitative analysis shows that reconstructed images maintain superior color accuracy in Macbeth patches compared to traditional gamma-curve inversion techniques.
Conclusion
SEL-CIE demonstrates that physical color boards can serve as "natural labels," effectively turning standard calibration tools into sources of supervision. While the current model relies on the presence of these boards for the SSL phase, it represents a major step toward device-independent color reconstruction. Future work will focus on expanding camera sensor diversity and exploring self-supervision in scenes without standardized color markers.
Summary updated