Skip to content

Vapoursynth Histogram Equalization and CLAHE (Contrast Limited Adaptive Histogram Equalization) with Makefile build

License

Notifications You must be signed in to change notification settings

witchymary/VapourSynth-EqualizeHist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EqualizeHist

Histogram Equalization for Vapoursynth.

Usage

ehist.EqualizeHist(vnode clip)

Parameters:

  • clip
    A clip to process. 8-16 bit integer only.

CLAHE

Contrast Limited Adaptive Histogram Equalization for Vapoursynth.
This filter uses OpenCV internally because I don't know how to do tiles in VS (please send help).

Usage

ehist.CLAHE(vnode clip[, float limit=7, int tile=3])

Parameters:

  • clip
    A clip to process. 8-16 bit integer only.
  • limit
    Threshold for contrast limiting.
    For the 16 bit clip to have the same result as the 8 bit clip you have to multiply the limit by 256.
  • tile
    Tile size for histogram equalization.

Example

Luma 16 bit

src

EqualizeHist 16 bit

equalizehist

CLAHE(limit=15.0, tile=3) 16 bit

CLAHE

About

Vapoursynth Histogram Equalization and CLAHE (Contrast Limited Adaptive Histogram Equalization) with Makefile build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.8%
  • Makefile 7.0%
  • C 4.2%