Skip to content

AI ML based Image enhancement module built in Python. It is used for improving the quality of images using different filters in openCV. It works better with gray-scale images.

License

Notifications You must be signed in to change notification settings

weblineindia/AIML-Image-Enhancement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image enhancement using openCV

An image enhancement module used for improving the quality of images using different filters in openCV. It works better with gray-scale images.

The filters used are median_filter for removing noise from the image, The histogram equalizer is used for contrast adjustment of the image and Gamma correction is also applied for preventing the image from darkening.

Table of contents

Getting started

Prerequisites for running the code are:

Python =3.5
python-opencv =4.2.0
scipy =1.3.1

or

pip install opencv-python
pip install scipy

Features

  • Denoise a grayscale image with median_filter
  • Clahe is used for Histogram equalization of the image
  • Enhances Sharpness and Contrast of images
  • Gamma Correction for preventing darkening of images.

Usage

Inside the project's directory run:

python image_enhancement.py

You can find sample images in the Dataset folder and results can be generated in Results folder.

These code works better for gray scale images.

Results

Original Image

Processed Image

Want to Contribute?

  • Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).
  • Fork it.
  • Create new branch to contribute your changes.
  • Commit all your changes to your branch.
  • Submit a pull request.

Need Help?

We also provide a free, basic support for all users who want to use image processing techniques for their projects. In case you want to customize this image enhancement technique for your development needs, then feel free to contact our AI/ML developers.


Collection of Components

We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development.


Changelog

Detailed changes for each release are documented in CHANGELOG.md.

Credits

Refered OpenCV image processing and filtering techniques. opencv.

License

MIT

Keywords

image-processing, image-filters, image-enhancement-opencv,opencv-image-processing,image-denoising,histogram-equalizer