{"title":"Lossy Image Compression with Stochastic Quantization","authors":"Anton Kozyriev, Vladimir Norkin","doi":"arxiv-2409.09488","DOIUrl":null,"url":null,"abstract":"Lossy image compression algorithms play a crucial role in various domains,\nincluding graphics, and image processing. As image information density\nincreases, so do the resources required for processing and transmission. One of\nthe most prominent approaches to address this challenge is color quantization,\nproposed by Orchard et al. (1991). This technique optimally maps each pixel of\nan image to a color from a limited palette, maintaining image resolution while\nsignificantly reducing information content. Color quantization can be\ninterpreted as a clustering problem (Krishna et al. (1997), Wan (2019)), where\nimage pixels are represented in a three-dimensional space, with each axis\ncorresponding to the intensity of an RGB channel. However, scaling of\ntraditional algorithms like K-Means can be challenging for large data, such as\nmodern images with millions of colors. This paper reframes color quantization\nas a three-dimensional stochastic transportation problem between the set of\nimage pixels and an optimal color palette, where the number of colors is a\npredefined hyperparameter. We employ Stochastic Quantization (SQ) with a\nseeding technique proposed by Arthur et al. (2007) to enhance the scalability\nof color quantization. This method introduces a probabilistic element to the\nquantization process, potentially improving efficiency and adaptability to\ndiverse image characteristics. To demonstrate the efficiency of our approach,\nwe present experimental results using images from the ImageNet dataset. These\nexperiments illustrate the performance of our Stochastic Quantization method in\nterms of compression quality, computational efficiency, and scalability\ncompared to traditional color quantization techniques.","PeriodicalId":501286,"journal":{"name":"arXiv - MATH - Optimization and Control","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Optimization and Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.09488","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Lossy image compression algorithms play a crucial role in various domains,
including graphics, and image processing. As image information density
increases, so do the resources required for processing and transmission. One of
the most prominent approaches to address this challenge is color quantization,
proposed by Orchard et al. (1991). This technique optimally maps each pixel of
an image to a color from a limited palette, maintaining image resolution while
significantly reducing information content. Color quantization can be
interpreted as a clustering problem (Krishna et al. (1997), Wan (2019)), where
image pixels are represented in a three-dimensional space, with each axis
corresponding to the intensity of an RGB channel. However, scaling of
traditional algorithms like K-Means can be challenging for large data, such as
modern images with millions of colors. This paper reframes color quantization
as a three-dimensional stochastic transportation problem between the set of
image pixels and an optimal color palette, where the number of colors is a
predefined hyperparameter. We employ Stochastic Quantization (SQ) with a
seeding technique proposed by Arthur et al. (2007) to enhance the scalability
of color quantization. This method introduces a probabilistic element to the
quantization process, potentially improving efficiency and adaptability to
diverse image characteristics. To demonstrate the efficiency of our approach,
we present experimental results using images from the ImageNet dataset. These
experiments illustrate the performance of our Stochastic Quantization method in
terms of compression quality, computational efficiency, and scalability
compared to traditional color quantization techniques.