HistogramAdjust

From Avisynth wiki
Revision as of 09:08, 15 July 2018 by Mjb (talk | contribs) (reverted to what seems to be the last version before Yakub2.X got it mixed up with GBlur)
Jump to navigationJump to search


Abstract
Author V.C.Mohan
Version 17 Oct 2017
Download modPlus.7z
Category External filters
License GPLv2
Discussion HistogramAdjust plugin


Description

This function adjusts the histogram of a frame by either equalizing it or by matching with histogram of another image, or with given histogram table of values. Full Description


Requirements

  • AviSynth+ r2347 or greater
  • Source video: Progressive


HistogramAdjust(clip, int type, clip mclip, int mf, int limit, int rgb )


clip   =
Input clip.


  int =
Luma value % of maximum.


  clip =
% age of population or cumulative population at this luma value


type  int = 1
Type of process


mclip  clip = dummy clip
Clip in which image for matching is available.


0  w =
Frame number on clip for matching.


limit  int = 100
Limit on % of change in value from original for tweaking allowed.


rgb  int = 1
Percentage of deviation from original value of luma to be allowed.


Examples

TweakHist() 
TweakHist(c,type=2,mclip=mm,mf=26)
TweakHist(c,15,2, 30,12, 50, 33, 90, 12,150,35,200,10, type=3,limit=50)
TweakHist(20,1,150,100,255,110, type=4,limit = 70) 
RGB input. Repeated for each color
TweakHist(limit = 70,rgb = 0)
TweakHist(limit = 70,rgb = 1)
TweakHist(limit = 50, rgb = 2)



Back to External Filters