Back to Explorer
Research PaperResearchia:202601.27018[Image Processing > Engineering]

Optimized $k$-means color quantization of digital images in machine-based and human perception-based colorspaces

Ranjan Maitra

Abstract

Color quantization represents an image using a fraction of its original number of colors while only minimally losing its visual quality. The kk-means algorithm is commonly used in this context, but has mostly been applied in the machine-based RGB colorspace composed of the three primary colors. However, some recent studies have indicated its improved performance in human perception-based colorspaces. We investigated the performance of kk-means color quantization at four quantization levels in the RGB, CIE-XYZ, and CIE-LUV/CIE-HCL colorspaces, on 148 varied digital images spanning a wide range of scenes, subjects and settings. The Visual Information Fidelity (VIF) measure numerically assessed the quality of the quantized images, and showed that in about half of the cases, kk-means color quantization is best in the RGB space, while at other times, and especially for higher quantization levels (kk), the CIE-XYZ colorspace is where it usually does better. There are also some cases, especially at lower kk, where the best performance is obtained in the CIE-LUV colorspace. Further analysis of the performances in terms of the distributions of the hue, chromaticity and luminance in an image presents a nuanced perspective and characterization of the images for which each colorspace is better for kk-means color quantization.


Source: arXiv:2601.19117v1 - http://arxiv.org/abs/2601.19117v1 PDF: https://arxiv.org/pdf/2601.19117v1 Original Link: http://arxiv.org/abs/2601.19117v1

Submission:1/27/2026
Comments:0 comments
Subjects:Engineering; Image Processing
Original Source:
View Original PDF
arXiv: This paper is hosted on arXiv, an open-access repository
Was this helpful?

Discussion (0)

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Optimized $k$-means color quantization of digital images in machine-based and human perception-based colorspaces | Researchia