Giter Site home page Giter Site logo

fallinglights / simple-image-compression Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 215.83 MB

Image Compression using K-Means Algorithm

License: MIT License

C 85.12% C++ 14.71% CMake 0.01% Makefile 0.02% Shell 0.14%
image-compression k-means k-means-clustering opencl openmp

simple-image-compression's Introduction

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 - [email protected]

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

(back to top)

Acknowledgments

(back to top)

simple-image-compression's People

Contributors

fallinglights avatar uornca avatar

Stargazers

 avatar

Watchers

 avatar

simple-image-compression's Issues

Več pristopov k paralelizaciji algoritma

Mogočih je več pristopov k paralelizaciji algoritma. Med niti lahko razdelite vzorce
ali pa gruče. V večini primerov je prvi pristop boljši, saj je na voljo veliko več
vzorcev kot gruč.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.