Journal of Frontiers of Computer Science and Technology ›› 2025, Vol. 19 ›› Issue (1): 196-210.DOI: 10.3778/j.issn.1673-9418.2402017

• Graphics·Image • Previous Articles     Next Articles

LightGCNet: Deep Gamut Compression Algorithm Based on Lightweight Convolutional Networks

YANG Chen, XU Hao, ZHU Jiawei, WU Qin, CHAI Zhilei   

  1. 1. School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi, Jiangsu 214122, China
    2. Jiangsu Provincial Engineering Laboratory of Pattern Recognition and Computational Intelligence, Wuxi, Jiangsu 214122, China
  • Online:2025-01-01 Published:2024-12-31

LightGCNet:基于轻量化卷积网络的深度色域压缩算法

杨晨,徐昊,朱佳伟,吴秦,柴志雷   

  1. 1. 江南大学 人工智能与计算机学院,江苏 无锡 214122
    2. 江苏省模式识别与计算智能工程实验室,江苏 无锡 214122

Abstract: Gamut compression is a key technology for maintaining color information when converting from a wide to a narrow color gamut. Classical algorithms are fast but their results lack detail and do not consider the perceptual characteristics of the human eye, failing to meet the increasing demands for color quality. Iterative algorithms offer better results but are extremely time-consuming and not feasible for practical application. To address these issues, this paper proposes a lightweight deep gamut compression method, maintaining speed close to classical algorithms while approaching the effectiveness of iterative algorithms. Initially, this paper designs the LightGCNet model for gamut compression, featuring dual convolution layers composed of DSC and DW convolutions, drastically reducing parameters and computational complexity compared with conventional U-Net. Moreover, to further enhance the model prior knowledge, the approach refocuses multiple kernel channels in the DW convolutions obtained from pre-training to establish connections, with final weights comprising both refocused and pre-trained weights. Subsequently, a specialized loss function for gamut compression is designed for hue, luminance, and chroma. This function considers pixel-level loss, incorporates perceptual loss, and weights multiscale color attribute information, addressing detail loss in deep gamut compression. Finally, labels generated by iterative algorithms are used to train the network, combining learning of target gamut features and image information, achieving results comparable to iterative algorithms. Experimental results show that compared with the industry-standard SGCK algorithm, the iCID value is reduced by 17.08%, and the SSIM value is increased by 5.30%. Compared with the conventional U-Net model, the number of parameters in LightGCNet is reduced by 82.96%, and the number of multiply-accumulate operations is decreased dramatically from 8.5 GFLOPs to 2.2 GFLOPs, making the improved model more suitable for deployment on low-end devices. The model processes a single 512×512 image on CPU in just 0.208 s, achieving a 99.92% reduction in computation time compared with iterative algorithms.

Key words: gamut compression, lightweight, deep learning, color management

摘要: 色域压缩是大色域向小色域进行转换时保持色彩信息的关键技术。经典算法虽计算快速,但处理结果缺乏细节且没有考虑人眼的感知特性,难以满足人们对色彩品质不断提升的要求。迭代算法处理效果更佳,但极其耗时,无法投入实际应用。针对上述问题,提出了轻量化的深度色域压缩方法,该方法可在逼近迭代算法计算效果的同时保持接近经典算法的速度。为色域压缩算法设计了LightGCNet模型,该网络中的双层卷积由DSC与DW卷积组合而成,相比常规U-Net,参数量与计算复杂度急剧降低。为进一步提高模型先验性,将预训练得到的DW卷积中多个核通道进行重聚焦操作以建立联系,最终权重由重聚焦权重和预训练权重组成。针对色相、明度、彩度这三个色彩属性,设计了色域压缩专用的损失函数。该函数不仅考虑了像素级损失,而且融合了图像感知损失,并联合色彩属性的多尺度信息进行加权,解决了深度色域压缩过程中细节丢失的问题。基于迭代算法生成标签以训练网络,联合学习目标色域特征与图像信息,实现了与迭代算法相当的效果。实验结果表明:该方法与业界经典的SGCK算法相比,iCID值降低了17.08%,SSIM值提高了5.30%。相比常规U-Net模型,LightGCNet参数量减少了82.96%,乘加次数从8.5 GFLOPs大幅下降至2.2 GFLOPs,使改良模型更适于低端设备部署。该模型在CPU上处理单幅512×512图像仅需0.208 s,计算时间比迭代类算法减少99.92%。

关键词: 色域压缩, 轻量化, 深度学习, 色彩管理