Skip to content

santhalakshminarayana/image-enhance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extensive list of Image enhancement methods implementation in Python

Currently have implemenatations for

  • Chromatic Adaptation
  • Retinex Image Enhancement
  • Whiteboard Image Enhancement

How to run?

Every implemenation is separated in each directory with a respective script file. Run the script files to process the image.


Chromatic Adaptation

Read about the algorithm and implementation in my blog post Image Enhancement using Retinex Algorithms


Retinex Image Enhancement

Read about the algorithm and implementation in my blog post Color constancy of an image using Chromatic adaptation


Whiteboard Image Color Enhancement

Enhance whiteboard images by applying image-processing techniques. Whiteboard image color enhancement is based on this ImageMagick command line gist

Converted following ImageMagick commands to Python and OpenCV by applying enhancement functions like

  • Difference of Gaussian (DoG)
  • Contrast Stretching
  • Gamma Correction
-morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1

Run whiteboard_image_enhance.py by passing input and output image path

$ python whiteboard_image_enhance.py -i input.jpg -o output.jpg

Checkout the details in my article Whiteboard image enhancement using OpenCV

Results

Original Enhanced

About

Extensive Image enhancement methods implementation in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors