Image Compression: Which Algorithm Performs the Best?
CSEF · 2016 Mathematics & Computer Science
Overview
Objectives/Goals The goal of this project is to develop, test and compare multiple image compression algorithms to find out which image compression algorithms/methods are the most effective and time efficient. Methods/Materials Computer, Processing IDE (Java), several test images. I developed three algorithms and tested them; one was an existing one (LZ77), the other two were original ideas (Most Common Pixel, Lines). Next, I compared efficiency and effectiveness to see which performed the best. Results I found that the Lines algorithm was the fastest and most efficient, often coming up with 90% compression in less than < 100ms. The Most Common Pixel algorithm took more time, usually < 200ms, and could compress images up to 60%. Finally, LZ77 (an existing algorithm) performed well, with 85-95% compression, but was the slowest (~5-6sec per image). Conclusions/Discussion This project showed that algorithm that looks for patterns is efficient and effective most of the time. Even though effectiveness is important, data should be easy to uncompress. For example, this is important for web applications because users need to not only send data quickly, but also uncompress it quickly.
Summary statement
I developed and compared multiple algorithms to find out which algorithms/methods are the most efficient and effective.
Help received
I researched image compression algorithms and techniques online.
Competition history
- CSEF 2016
Resources
Related projects
CSEF · 2009
Image Compression: Does It Really Matter?
CSEF · 2010
Compressed for Time: Examining File Compression in Computers
CSEF · 2006
Determining the Effects of Image Compression on DPI and Image Quality of Digital Photographs
CSEF · 2005
The Optimum Aspect Ratio for Compressing Image Files of Text
ISEF · 2021
PACK It In, PACK It Out: An Experimental File Compression Method
CSEF · 2016
Compression Based Data Mining for Assessing Similarity in Object Textures in Multiple Images
CSEF · 2010
A Novel Approach to Text Compression Using N-Grams
CSEF · 2014
Optimizing Quantization Matrix Scale Factor and Pixel Density for Effective Optical Character Recognition in JPEG Images
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects