Skip to content

Mamdasn/wthe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTHE

This module attempts to enhance contrast of a given image or video by employing a method called weighted thresholded histogram equalization (WTHE). This method seeks to improve on preformance of the conventional histogram equalization method by adding controllable parameters to it. By weighting and thresholding the PMF of the image before performing histogram equalization, two parameters are introduced that can be changed manually, but by experimenting on a variety of images, optimal values for both parameters are calculated (r = 0.5, v = 0.5).

You can access the article that came up with this method here.

Showcase

  • A sample image and the sample image after enhancement
    cloudy-day jpg Enhanced-cloudy-day jpg

Future works

  • disassemble wthe.go into seperate categories of functions
  • add more comments

About

This is the Go version of my Python package imWeightedThresholdedheq.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages