HistogramAdjust

From Avisynth wiki
Revision as of 13:02, 3 December 2014 by Vcmohan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Abstract
Author V.C.Mohan
Version 1.0.0.0.0
Download 2.5.8 versionHistogramAdjust 2.6.0 alpha5 version URL -->HistogramAdjust
Category External filters
License GPLv2
Discussion HistogramAdjust plugin


Contents

Description

H and a full description is at click me.

Requirements

* Not available in AviSynth 2.5.8.


"ci*[type]s[table]b[mclip]c[mf]i[window]b[w]i[h]i[limit]i"

Syntax and Parameters

HistogramAdjust(clip, int array "", string "type", bool "table ",clip mclip",int mf",bool window",int w",int h",int limit")


clip   =
Input clip.


  int array =
table of luma and population pairs in case table is true .


type  string = "equal"
"equal" or "match"


table  bool = false
Whether table of values are specified for matching Histogram.


mclip  clip = clip
Clip with which input clip histogram is to be matched .


mf  int = 0
frame number of mclip with which clip histogram is to be matched .


window  bool = false
Whether windowed equalization is to be done .


w  int = frame width/4
If window is true, width of window (odd number) to be used.


h  int = frame height/4
If window is true, height of window (odd number) to be used.


limit  int = 100
percentage of deviation from original value of luma to be allowed .




Examples

## This is some example code to blur  an image.
imagereader("C:\..........jpg", end = 10)
a = avisource("C;\..........avi").converttoYUY2()
converttoyv16()
# HistogramAdjust matching with given table
m1=HistogramAdjust(1,250,100,570,200,0,type="match",table=true, window=false,w=259,h=255)
# matching with an image on a frame of another clip
h2 = HistogramAdjust(type="match",table=false, mclip=a ,mf=1)
# Histogram equalization
HistogramAdjust()
# equalization with limit
h1 = HistogramAdjust( limit = 80)



Back to External Filters

Personal tools