remove test files

This commit is contained in:
kageru 2020-02-26 22:21:31 +01:00
parent 6db1f7f7c7
commit 1051a6a9ff
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2
2 changed files with 0 additions and 18 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

18
test.py

@ -1,18 +0,0 @@
import vapoursynth as vs
import kagefunc as kgf
core = vs.core
#black = core.std.BlankClip(format=vs.YUV444P8, width=1920, height=1080, color=[0, 128, 128])
#white = core.std.BlankClip(black, color=[255, 128, 128])
#core.std.LoadPlugin('target/release/libadaptivegrain_rs.so')
zweihu = core.ffms2.Source('1558625524644.jpg').resize.Point(format=vs.YUV444PS).std.PlaneStats() * 500
#grained = white.std.PlaneStats().adg.Mask()
grained = zweihu.adg.Mask()
#grained = kgf.adaptive_grain(zweihu, show_mask=True)
#grained = zweihu
#grained = white.grain.Add(2, constant=True)
#for i in range(len(grained)):
# grained.get_frame(i)
#grained.resize.Bicubic(format=vs.RGB24, matrix_in_s='709').imwri.Write('png', 'grain%d.png').get_frame(0)
grained.set_output()
#zweihu.set_output()