HistogramAdjust

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
{{Filter3
 
{{Filter3
 
|[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
 
|[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
|25 Aug 2017  
+
|17 Oct 2017  
 
|[http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z]
 
|[http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z]
 
|4=<!-- category -->External filters
 
|4=<!-- category -->External filters

Revision as of 04:22, 18 June 2018


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


Contents

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


Syntax and Parameters

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

Personal tools