Currently have implemenatations for
- Chromatic Adaptation
- Retinex Image Enhancement
- Whiteboard Image Enhancement
Every implemenation is separated in each directory with a respective script file. Run the script files to process the image.
Read about the algorithm and implementation in my blog post Image Enhancement using Retinex Algorithms
Read about the algorithm and implementation in my blog post Color constancy of an image using Chromatic adaptation
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
Original | Enhanced |
---|---|