Skip to content

FallingLights/Simple-Image-Compression

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Image Compression using K-Means Algorithm

A simple image compression algorithm using K-Means algorithm.
Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

Example

Simple Image Compression is a simple image compression algorithm using K-Means algorithm. The project was created as research into the speedup achievable by using the GPU to perform the K-Means algorithm. The project is written in C and uses the OpenCL library, OpenMP API and STB-Image Libraries for reading and writing the images .

(back to top)

Built With

  • C
  • OpenCL
  • OpenMP
  • STB-Image

(back to top)

Getting Started

Prerequisites

Things you will need to install the software and how to install them.

  • C
    sudo apt-get install build-essential
  • gcc
    sudo apt-get install gcc
  • OpenCL
    sudo apt install opencl-headers
  • OpenMP
    sudo apt install libomp-dev

Installation

  1. Clone the repository
    git clone https://github.com/FallingLights/Simple-Image-Compression.git
  2. Install all the prerequisites listed above
  3. Run the makefile
    make
  4. Run the program

(back to top)

Usage

More details on how to use the programs can be found in the source files.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Your Name - @fallinglight_s - fallinglights@protonmail.com

Project Link: https://github.com/FallingLights/Simple-Image-Compression

(back to top)

Acknowledgments

(back to top)

Releases

No releases published

Packages

 
 
 

Languages