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 Mathematics & Computer Science · Entry J1425

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Browse more like this

Source: California Science & Engineering Fair public projects

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. An account also raises your daily allowance for “Has this been done?”, and lets you create a key for the MCP server with a much higher limit than anonymous use. Browsing stays public.

Continue with Google