Analyzing the Trade-offs in Lossless Image Compression Techniques:Insights for Computer Science Research

Ziming Lu
{"title":"Analyzing the Trade-offs in Lossless Image Compression Techniques:Insights for Computer Science Research","authors":"Ziming Lu","doi":"10.61173/99t0ga22","DOIUrl":null,"url":null,"abstract":"This paper aims to provide a comprehensive analysis of the pros and cons of various lossless image compression algorithms for computer scientists, including RLE, Huffman coding, and LZ77. The pros and cons of different compression methods will be examined by various metrics such as space efficiency, space complexity, and time complexity. Each method will be tested upon various image file types, including BMP, TIFF, PPM, JPG, and PNG. The results indicated that Huffman encoding was particularly effective for PPM images, outperforming RLE and LZ77 with notably higher compression ratios. RLE had slightly higher compression ratios in compressing BMP files. TIFF images exhibit lower compressibility compared to BMP and PPM, but with Huffman encoding still demonstrating superior results. However, when lossless compression algorithms are applied to JPG and PNG images, they yield negative outcomes, indicating that JPG and PNG files have limited compressibility due to prior compression.","PeriodicalId":438278,"journal":{"name":"Science and Technology of Engineering, Chemistry and Environmental Protection","volume":"99 5","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Science and Technology of Engineering, Chemistry and Environmental Protection","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.61173/99t0ga22","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This paper aims to provide a comprehensive analysis of the pros and cons of various lossless image compression algorithms for computer scientists, including RLE, Huffman coding, and LZ77. The pros and cons of different compression methods will be examined by various metrics such as space efficiency, space complexity, and time complexity. Each method will be tested upon various image file types, including BMP, TIFF, PPM, JPG, and PNG. The results indicated that Huffman encoding was particularly effective for PPM images, outperforming RLE and LZ77 with notably higher compression ratios. RLE had slightly higher compression ratios in compressing BMP files. TIFF images exhibit lower compressibility compared to BMP and PPM, but with Huffman encoding still demonstrating superior results. However, when lossless compression algorithms are applied to JPG and PNG images, they yield negative outcomes, indicating that JPG and PNG files have limited compressibility due to prior compression.
分析无损图像压缩技术的利弊权衡:计算机科学研究的启示
本文旨在为计算机科学家全面分析各种无损图像压缩算法的利弊,包括 RLE、Huffman 编码和 LZ77。将通过空间效率、空间复杂度和时间复杂度等各种指标来检验不同压缩方法的利弊。每种方法都将在各种图像文件类型(包括 BMP、TIFF、PPM、JPG 和 PNG)上进行测试。结果表明,Huffman 编码对 PPM 图像特别有效,其压缩率明显高于 RLE 和 LZ77。RLE 在压缩 BMP 文件时的压缩率略高。与 BMP 和 PPM 相比,TIFF 图像的可压缩性较低,但 Huffman 编码仍表现出较好的效果。然而,当无损压缩算法应用于 JPG 和 PNG 图像时,却产生了负面结果,这表明 JPG 和 PNG 文件由于先前的压缩而具有有限的可压缩性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信