Skip to content

Histogram equalization based methods to enhance the contrast and improve the visual appearance of the video sequence.

License

Notifications You must be signed in to change notification settings

prat1kbhujbal/Histogram_Equalization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Histogram Equalization

Overview

Histogram Equalization is a computer image processing technique used to improve contrast in images. It accomplishes this by effectively spreading out the most frequent intensity values, i.e. stretching out the intensity range of the image. This method usually increases the global contrast of images when its usable data is represented by close contrast values. This allows for areas of lower local contrast to gain a higher contrast.
Adaptive Histogram Equalization differs from ordinary histogram equalization in the respect that the adaptive method computes several histograms, each corresponding to a distinct section of the image, and uses them to redistribute the lightness values of the image. It is therefore suitable for improving the local contrast and enhancing the definitions of edges in each region of an image.

  • cd into code folder run following command
python3 histogram_eq.py --FilePath ../data_files/adaptive_hist_data --visualize True --record False
  • FilePath - Video file path. Default :- '../data_files/adaptive_hist_data'
  • visualize - Shows visualization . Default :- 'True'
  • record - Records video (histE.mp4 & AHE.mp4) in result folder. Default :- 'False'

Results

Input

Normal Histogram Equalization

Adaptive Histogram Equalization

About

Histogram equalization based methods to enhance the contrast and improve the visual appearance of the video sequence.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages