Application of K-Means Algorithm in Image Compression

Authors

  • Hongxia Mao School of Computer and Software, Jincheng College, Chengdu 611731, Sichuan, China

Keywords:

K-Means, Clustering, Image compression

Abstract

In the Internet era, image information is widely used in all walks of life. The amount of data in images is very large, and it is necessary to compress images in order to effectively transmit and store them. The K-Means algorithm is one of the most commonly used clustering algorithms. This article applies the clustering algorithm to image compression applications and uses the K-Means clustering algorithm to compress images through Python programming. From the experimental results, it can be concluded that the K-Means clustering method can indeed compress images.

References

Liu, Z., Jian, X., Sadiq, T., Shaikh, Z. A., Alfarraj, O., Alblehai, F., & Tolba, A. (2024). Promoted Osprey Optimizer: a solution for ORPD problem with electric vehicle penetration. Scientific Reports, 14(1), 28052.

Chen, Y., Tahir, A., Yan, F. Y., & Mittal, R. (2023, December). Octopus: In-Network Content Adaptation to Control Congestion on 5G Links. In 2023 IEEE/ACM Symposium on Edge Computing (SEC) (pp. 199-214). IEEE.

Liang, X., & Chen, H. (2019, July). A SDN-Based Hierarchical Authentication Mechanism for IPv6 Address. In 2019 IEEE International Conference on Intelligence and Security Informatics (ISI) (pp. 225-225). IEEE.

Chen, H., & Bian, J. (2019, February). Streaming media live broadcast system based on MSE. In Journal of Physics: Conference Series (Vol. 1168, No. 3, p. 032071). IOP Publishing.

Xie, Y., Li, Z., Yin, Y., Wei, Z., Xu, G., & Luo, Y. (2024). Advancing Legal Citation Text Classification A Conv1D-Based Approach for Multi-Class Classification. Journal of Theory and Practice of Engineering Science, 4(02), 15–22. https://doi.org/10.53469/jtpes.2024.04(02).03

Luo, Y., Wei, Z., Xu, G., Li, Z., Xie, Y., & Yin, Y. (2024). Enhancing E-commerce Chatbots with Falcon-7B and 16-bit Full Quantization. Journal of Theory and Practice of Engineering Science, 4(02), 52–57. https://doi.org/10.53469/jtpes.2024.04(02).08

Xu, Y., Gao, W., Wang, Y., Shan , X., & Lin, Y.-S. (2024). Enhancing user experience and trust in advanced LLM-based conversational agents. Computing and Artificial Intelligence, 2(2), 1467. https://doi.org/10.59400/cai.v2i2.1467

Liu, M. (2024). Optimizing Supply Chain Efficiency Using Cross-Efficiency Analysis and Inverse DEA Models.

Bi, S., Deng, T., & Xiao, J. (2024). The Role of AI in Financial Forecasting: ChatGPT's Potential and Challenges. arXiv preprint arXiv:2411.13562.

Chen, J., Zhang, X., Wu, Y., Ghosh, S., Natarajan, P., Chang, S. F., & Allebach, J. (2022). One-stage object referring with gaze estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 5021-5030).

Wang, Z., Yan, H., Wang, Z., Xu, Z., Wu, Z., & Wang, Y. (2024, July). Research on autonomous robots navigation based on reinforcement learning. In 2024 3rd International Conference on Robotics, Artificial Intelligence and Intelligent Control (RAIIC) (pp. 78-81). IEEE.

Wu, Z., Chen, J., Tan, L., Gong, H., Zhou, Y., & Shi, G. (2024, September). A lightweight GAN-based image fusion algorithm for visible and infrared images. In 2024 4th International Conference on Computer Science and Blockchain (CCSB) (pp. 466-470). IEEE.

Lin, S., Hu, K., Ye, T., Wang, Y., & Shen, Z. (2024). Artificial Intelligence and Electroencephalogram Analysis Innovative Methods for Optimizing Anesthesia Depth. Journal of Theory and Practice in Engineering and Technology, 1(4), 1–10. https://doi.org/10.5281/zenodo.14457933

Ren, Z. (2024). Enhanced YOLOv8 Infrared Image Object Detection Method with SPD Module. Journal of Theory and Practice in Engineering and Technology, 1(2), 1–7. Retrieved from https://woodyinternational.com/index.php/jtpet/article/view/42

Ren, Z. (2024). A Novel Topic Segmentation Approach for Enhanced Dialogue Summarization. World Journal of Innovation and Modern Technology, 7(4), 42-49.

Fan, Y., Hu, Z., Fu, L., Cheng, Y., Wang, L., & Wang, Y. (2024). Research on Optimizing Real-Time Data Processing in High-Frequency Trading Algorithms using Machine Learning. arXiv preprint arXiv:2412.01062.

Published

2025-01-16

How to Cite

Mao, H. (2025). Application of K-Means Algorithm in Image Compression. Journal of Artificial Intelligence and Information, 2, 27–31. Retrieved from https://woodyinternational.com/index.php/jaii/article/view/145