Abstract
Digital image has been used in various fields as an essential carrier. Many color images have been constantly produced since their more realistic description, which takes up much storage space and network bandwidth. Thus, color image compression has become an essential key technology. Absolute Moment Block Truncation Coding (AMBTC) has been widely studied as one of the classical image compression methods. However, in the existing methods, the visual quality of the reconstructed images and the compression rate are all relatively low. Therefore, this paper proposes an enhanced AMBTC for color image compression using a color palette. In the proposed method, the K-means clustering algorithm is utilized for training the image's palette pattern. The color palette obtained by K-mean will be more suitable for reconstructing this image than the standard color palette, and the visual quality will be higher. The six clustered central pixels are matched with the palette through a color difference formula, and the obtained index values are used as the quantization levels. Huffman coding is used to build a bitmap to achieve a higher compression rate, that is, a lower bit rate. At last, a block of a color image can be represented by six index values and a bitmap. Experimental results and theoretical analysis demonstrate that the proposed method has better visual quality and bit rate than similar schemes.
Similar content being viewed by others
Data availability
The images analysed during the current study are available in the USC-SIPI repository at https://sipi.usc.edu/database.
References
Hassanpour S, Wübben D, Dekorsy A (2021) Forward-Aware Information Bottleneck-Based Vector Quantization: Multiterminal Extensions for Parallel and Successive Retrieval. IEEE Trans Commun 69(10):6633–6646
Pang J, Pu X, Li C (2022) A Hybrid Algorithm Incorporating Vector Quantization and One-Class Support Vector Machine for Industrial Anomaly Detection. IEEE Trans Industr Inf 18(12):8786–8796
Wallace GK (1992) The JPEG still picture compression standard. IEEE Trans Consum Electron 38(1):18–34
Skodras A, Christopoulos C, Ebrahimi T (2001) The jpeg 2000 still image compression standard. IEEE Signal Process Mag 18(5):36–58
Zhang Y, Cai Z, Xiong G (2020) A new image compression algorithm based on non-uniform partition and U-system. IEEE Trans Multimedia 23:1069–1082
Delp E, Mitchell O (1979) Image Compression Using Block Truncation Coding. IEEE Trans Commun 27(9):1335–1342
Nayak D, Ray KB, Kar T, Kwan C (2023) A novel saliency based image compression algorithm using low complexity block truncation coding. Multimed Tools Appl. https://doi.org/10.1007/s11042-023-15694-2
Zhu SY, Li MY, Chen C, Liu SC, Zeng B (2018) Cross-space distortion directed color image compression. IEEE Trans Multimedia 20(3):525–538
Zhu SY, He ZY, Chen C, Liu SC, Zhou J, Guo Y, Zeng B (2019) High-quality color image compression by quantization crossing color spaces. IEEE Trans Circuits Syst Video Technol 29(5):1474–1487
Yin WB, Shi YH, Zuo WM, Fan XP (2020) A co-prediction-based compression scheme for correlated images. IEEE Trans Multimedia 22(8):1917–1928
Chai XL, Bi JQ, Gan ZH, Liu XX, Zhang YS, Chen YR (2020) Color image compression and encryption scheme based on compressive sensing and double random encryption strategy. Signal Process 176:107684
Ye CD, Pan C, Dong YX, Shi Y, Huang XL (2020) Image encryption and hiding algorithm based on compressive sensing and random numbers insertion. Signal Process 172:107563
Hua ZY, Zhang KY, Li YM, Zhou YC (2021) Visually secure image encryption using adaptive-thresholding sparsification and parallel compressive sensing. Signal Process 183:107998
Lema M, Mitchell O (1984) Absolute moment block truncation coding and its application to color images. IEEE Trans Commun 32(10):1148–1157
Bhardwaj R (2021) A high payload reversible data hiding algorithm for homomorphic encrypted absolute moment block truncation coding compressed images. Multimed Tools Appl 80:26161–26179
Wu X, Yang CN (2019) Partial reversible AMBTC-based secret image sharing with steganography. Digit Signal Process 93:22–33
Datta K, Jana B, Singh PK (2023) Robust data hiding scheme for highly compressed image exploiting btc with hamming code. Multimed Tools Appl. https://doi.org/10.1007/s11042-023-15727-w
Kumar R, Kumar N, Jung KN (2020) Color image steganography scheme using gray invariant in AMBTC compression domain. Multidimension Syst Signal Process 31(3):1145–1162
Su GD, Chang CC, Lin CC (2023) An effective compressed image authentication scheme based on N-variant AMBTC. Multimed Tools Appl: 1–29
Swain M, Swain D (2022) An effective watermarking technique using BTC and SVD for image authentication and quality recovery. Integration 83:12–23
Wu Y, Coll DC (1992) Single bitmap block truncation coding of color images. IEEE J Sel Areas Commun 10(5):952–959
Dhara BC, Chanda B (2007) Color image compression based on block truncation coding using pattern fitting principle. Pattern Recogn 40(9):2408–2417
Hu YC, Chang IC, Liu KY, Hung CL (2014) Improved color image coding schemes based on single bit map block truncation coding. Opt Eng 53(9):093104
Hu YC, Liu YH, Chang IC (2018) Color image coding based on block truncation coding using quadtree segmentation. IEEE 2018 3rd International Conference on Computer and Communication Systems (ICCCS): 196–200
Cheng HH, Chen CA, Lee LJ, Lin TL, Chiou YS, Chen SL (2019) A low-complexity color image compression algorithm based on AMBTC. 2019 IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW): 1–2
Mathews J, Nair MS (2015) Adaptive block truncation coding technique using edge-based quantization approach. Comput Electr Eng 43:169–179
Yang CN, Chou YC, Chang TK, Kim C (2020) An enhanced adaptive block truncation coding with edge quantization scheme. Appl Sci 10(20):7340
Lamsrichan P (2021) Straightforward Color image compression using true-mean multi-level block truncation coding. 2021 IEEE International Conference on Consumer Electronics: 1–6
Kumar R, Kumar N, Jung KH (2022) Enhanced interpolation-based AMBTC image compression using Weber’s law. Multimed Tools Appl 81:20817–20828. https://doi.org/10.1007/s11042-022-12634-4
Xiang ZY, Hu YC, Yao H, Qin C (2019) Adaptive and dynamic multi-grouping scheme for absolute moment block truncation coding. Multimed Tools Appl 78(7):7895–7909
Chuang JC, Hu YC, Chen CM, Yin ZX (2020) Adaptive grayscale image coding scheme based on dynamic multi-grouping absolute moment block truncation coding. Multimed Tools Appl 79(37):28189–28205
Hu YC, Liu JS, Lo CC, Wu CM, Chen Y (2022) Grayscale image coding using optimal pixel grouping and adaptive multi-grouping division block truncation coding. Multimed Tools Appl 81(13):17937–17958. https://doi.org/10.1007/s11042-022-12680-y
Wu XT, Yang CN, Yang YY (2020) Sharing and hiding a secret image in color palette images with authentication. Multimed Tools Appl 79(35):25657–25677
Ikotun AM, Ezugwu AE, Abualigah L, Abuhaija B, Heming J (2022) K-means Clustering Algorithms: A Comprehensive Review, Variants Analysis, and Advances in the Era of Big Data. Inf Sci: 178–210
Hu YC, Lee MG (2007) K-means-based color palette design scheme with the use of stable flags. J Electron Imaging 16(3):033003
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Xiong, L., Zhang, M., Yang, CN. et al. An enhanced AMBTC for color image compression using color palette. Multimed Tools Appl 83, 31783–31803 (2024). https://doi.org/10.1007/s11042-023-16734-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-16734-7