vcm vapoursynth Plugin

#
vcm

## modScript

Example code and results. Input on left, output on right.
# hist
core.vcm.Hist(ret)
# Variance
core.vcm.variance(ret,lx=50,wd=50,ty=150,ht=100)
# Median
core.vcm.Median(ret, maxgrid = 5, plane=[1,0,0])
Another example:-

    #input smoothened by GBlur (gaussian blur) for segmentation by vcm.amp
    ret2 = core.vcm.GBlur(ret,ksize=5,sd=2)
    ret1 = core.vcm.Amp(ret,sh=[2,0,0],sm=[10,0,0], useclip=1,sclip=ret2)
    ret2 = core.std.MakeDiff(ret1,ret)
    #Difference heightened by equalization
    ret2 = core.vcm.Hist(ret2)
    ret=core.std.StackHorizontal(clips=[ret,ret1,ret2])

Display of result:-
Neural function usage:-
# input was blurred by GBlur to use as target output.
ret2 = core.vcm.GBlur(ret,ksize=7,sd=2)
ret1 = core.vcm.Neural(ret, txt ="save", fname = r'c:\temp\modNeural.txt', tclip = ret2,xpts = 7, iter = 200, bestof = 10,wset = 0,tlx = 250, trx = 450, tty = 100, tby = 300,rgb = 0 )