Giter Club home page Giter Club logo

contrast_enhancement's Introduction

image contrast enhancement

  1. Enter the dist directory, and then execute the command in the terminal.
pip install ContrastEnhancement-0.0.1-py2.py3-none-any.whl
  1. If you wanna test the algorithm, you can put the images into data file and enter this command as follows:
python test.py -name *.jpg -gamma 0.00

The local contrast enhancement can be controlled by the gamma parameter in the range [0,1], the larger the gamma is, the more details the algorithm produces.

  1. The original images are shown on the left, and the enhanced image on the right.
Raw Image Enhanced Image
  1. QRCM: This measure considers both the level of relative contrast enhancement between input and output images and distortions resulting from the enhancement process. The measure produces a number in the range [โˆ’1, 1] where -1 and 1 refer to full level of contrast degradation and improvement, respectively.

  2. References
    [1] Spatial Entropy-Based Global and Local Image Contrast Enhancement
    [2] Spatial Mutual Information and PageRank-Based Contrast Enhancement and Quality-Aware Relative Contrast Measure

contrast_enhancement's People

Contributors

xiezhongzhao 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.