Zebra 1.03beta:
LINK REMOVED:
Code:
Zebra(clip c, Float "threshold"=0.0,int "matrix"=2,bool "Row"=true,int "lo"=128,int "hi"=255,int "cmad"=1,int "pix"=48)
# Avisynth v2.5/v2.6 Plugins by StainlessS
Creates a 6 bar clip in two modes,
"Row"=True, creates a set of 6 bars "pix" pixels wide (default 48) per bar and same height & colorspace as source clip.
Each horizontal pixel row in the bars represents the contents of the horizontal rows of the source clip.
"Row"=False, creates a set of 6 bars "pix" pixels tall (default 48) per bar and same width & colorspace as source clip.
Each vertical pixel column in the bars represents the contents of the vertical columns of the source clip.
The 6 bands it creates are (from left to right if Row==true and top to bottom if Row==false)
1 ) YPlanemin (0->255)
2 ) YPlanemax (0->255)
3 ) YPlaneminmaxDifference (0->255)
4 ) YPlaneMedian (0->255)
5 ) AverageLuma (rounded to nearest int, range 0 -> 255)
6 ) YInRange (population of pixels in range lo to hi, scaled 0->255 and rounded to nearest int)
"Threshold" used for bands 1, 2, and 3 as for eg YPlaneMin, 0.0->100.0%, Avoids extreme pixels, ie noise.
You might use eg YPlaneMin(Threshold=0.2) to ignore darkest 0.2% of pixels when finding minimum pixel luma.
YplaneMax(Threshold=0.2), ignores lightest 0.2% of pixels.
YplaneMinMaxDifference(Threshold=0.2), ignores darkest and lightest 0.2% of pixels.
YPlaneMedian, is essentially YPlaneMin(Threshold=50.0).
"Matrix",(For RGB -> Luma-Y conversion, not used in YUV modes)
0) = rec601
1) = rec709
2) = PC601
3) = PC709
"lo" and "hi", set pixel range for YInRange band.
"cmad", Centered Moving Averages Diameter, 1->100, default = 1 (OFF). Each row or column of pixels in the bands are averaged with neighbours
within the "cmad" diameter. A "cmad" of eg 13 would average each row/column with 6 neighbours on either side (plus itself =13).
Setting "cmad" greater than 1 will produce smoother, bands due to the averaging.
"pix", size of bands in pixels 4->64, default 48 (Mod 4 Only).
Zebra.dll is for Avisynth v2.58 and Zebra26.dll is for Avisynth v2.6.
The v2.58 version supports Y8 in avisynth v2.6.
Running version v2.6 on Avisynth v2.58, will not find a plugin named Zebra.