A Better Color Space Conversion Based on Learned Variances For Image Compression

Ming Li; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2019, pp. 0-0

Abstract


Modern image coders, especially the lossy ones, encode the YCbCr channels separately.Processing the Y channel is always much more sophisticated than the Cb/Cr. The raw image retrieved from the camera sensor is of Bayer-RGB[??] or 3-color RGB[??] format, and the conversion between RGB and YCbCr format normally follows the ITU-R BT.601[??] standard, which essentially defines a fixed 3x3 space conversion matrix with offsets. The algorithm presented in this paper, however, learns a better color space conversion algorithm tailored for each image, squeezing more information into the Y channel before encoding. In order to achieve this goal, the principle component analysis (PCA)[??] algorithm has been trained, to find the image's primary axes giving the highest variance. The PCA algorithm is carried out onto the AC values of each 16x16 pixel block (RGB values minus the block DC). During decoding, the least square method (LSM) is proposed, to estimate the optimal inverse conversion and to compensate for the coding noise. Overhead of the proposed algorithm is negligible 12 coefficients per image only, around 0.00019 bit per pixel for an image of size 2M bytes. The image after PCA conversion is coded by the latest H.266 codec running in INTRA mode, with a binary arithmetic coding engine as the entropy coder. Experiments on the CLIC2019's valid dataset has shown a significant RGB-PSNR performance boost: 0.26db or 7.4% bitrate save@0.145bpp, and 1.2db/22.5%@1.0bpp. The choice on Cb/Cr axis and the channel range are also studied. The proposed algorithm also outperforms the YCoCg[??] conversion algorithm, and is more robust than the YCoCg/BT.601 algorithm.

Related Material


[pdf]
[bibtex]
@InProceedings{Li_2019_CVPR_Workshops,
author = {Li, Ming},
title = {A Better Color Space Conversion Based on Learned Variances For Image Compression},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {June},
year = {2019}
}