Git Product home page Git Product logo

imagecompressiondct's Introduction

Image comression with DTC

Undergraduate project of the course Methods of Scientific Computation (MSc in Computer Science at University of Study in Milan-Bicocca).

The purpose of this project is to implement and use DCT2 in an open source environment on gray tone images, tests are then made to verify the correctness of the implementation, and a graphical interface is made to easily test the effects of DCT2 on images.

Is possible to read more details about the results obtained in the Report(IT version).

Table of contents

File description

  • README.md
    • Technical description of the project
  • utils.py
    • Definition of functions useful for apllication
  • interface.py
    • Executable file where the application interface is constriuted that calls the due methods for image compression
  • DCT.py
    • Implication file of the custom library on the DCT
  • testTimeDCT.py
    • Check that the times should be proportional to $O(N^3)$ for the homemade DCT2 and to $O(N^2\log (N))$ for the obtained fast version made from an already made library(cv2)
    • The tests were done on matrices containing random numbers from 0 to 255 of the following size $\left[\begin{matrix}320\times320&640\times640&1280\times1280&2560\times2560&5120\times5120\end{matrix}\right]$
  • verifyDCT.py
    • Dummy tests to verify correctness for both one-dimensional and two-dimensional DCT, performed checks on inverse DCT as well

Contributors

License

This project is licensed under the MIT License - see the LICENSE file for details.

imagecompressiondct's People

Contributors

dadegrande99 avatar fabbio00 avatar

Watchers

 avatar

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.