Coder Social home page Coder Social logo

ramesh-x / image-enhancer Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 802 KB

Simple Image Enhancing Software to test image pre-processing functions..

License: MIT License

Python 100.00%
image-processing image-enhancement gui custom-filter opencv pyqt4-interface qthreads python35 python3 python-3-5 python3-5

image-enhancer's Introduction

Image Enhancer

This application is an image enhancement application based on OpenCV and PyQt4. You can use this as a small image enhancement software for day-to-day work. But I created this to do pre-processing for images before feeding into a Neural Network. You can open a sample image and do enhancements and note down the parameters. Then you can use them in your own application.

Add Custom Filters

If you want a custom filter to be added other than the filters that are implemented here, you can do it too. You just need to create a new filter class by inheriting filters/abstract_filter.py class and add it to the filters folder.
Then after you start application the filter will automatically be there. You can find more details in the documentation of filters/abstract_filter.py file.

Working with the application

  • Click open image button and open a image file you want
  • Right click on the list and add a filter(s) you want
  • Click on a filter and then change the values of the sliders below to change the effect of the selected filter
  • You can change the maximum and minimum values of the slider using the text boxes.
  • You can mouse hover in the image to see the original image
  • You can remove a filter by right clicking on a filter in the list
  • Finally you can save your output image

Tested with PyQt4 with Python 3.5 and Python 2.7 (Master brach is with Python 3.5 support and for Python 2 there is another branch)

Requirements

  • Python
  • PyQt4
  • OpenCV 3.x
  • Numpy

Run the program

You can run the program by

python main.py

Output of the application is shown below

Main Window

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.