MonoS
25th March 2015, 13:38
I have this avs script
function mdgNlsb( clip c, int N, int "thSAD", int "thSAD2", bool "lsb", val "prefilter")
{
thSAD = default(thSAD,150)
thSAD2 = default(thSAD2,thSAD/4)
lsb = default(lsb,true)
vS = c.MSuper
vPFS = !defined(prefilter) ? vS : (isClip(prefilter) ? prefilter : c.dfttest(tbsize=1,sigma=prefilter,dither=1)).MSuper
MDegrainN( c, VS, MAnalyse(vPFS,multi=true,delta=N,overlap=4,blksize=8,search=5,pelsearch=2,truemotion=true),\
N,thSAD=thSAD,thSADC=thSAD,thSAD2=thSAD/2,thSADC2=thSAD2,lsb=lsb)
}
QTGMC(preset="Very Slow")
vPF = dfttest(tbsize=1,sigma=32, lsb=true).ditherpost(mode=6).aasw
vStable = mdgNlsb(5,1000,prefilter=vPF.dehalo_alpha_mt(3,3,0,1)).ditherpost.qtgmc(InputType=1,Sharpness=0)
and i'd like to port this to vs to use the 16bit processing of some plugins [even if in the end i'll need to dither down to 8 cause the rest of the script use a lot of avs plugins].
I got this
a = has.QTGMC(src, Preset="Very Slow", TFF = True, NoisePreset="Slow")
vPF = core.dfttest.DFTTest(a, tbsize=1, sigma=32)
vPF = has.ediaa(vPF)
rep = has.DeHalo_alpha(vPF,3,3,0,1)
rep = has.DitherLumaRebuild(rep, s0=1)
super = core.mv.Super(rep)
backward_vec3 = core.mv.Analyse(super, isb = True, delta = 3, overlap=4, truemotion = True)
backward_vec2 = core.mv.Analyse(super, isb = True, delta = 2, overlap=4, truemotion = True)
backward_vec1 = core.mv.Analyse(super, isb = True, delta = 1, overlap=4, truemotion = True)
forward_vec1 = core.mv.Analyse(super, isb = False, delta = 1, overlap=4, truemotion = True)
forward_vec2 = core.mv.Analyse(super, isb = False, delta = 2, overlap=4, truemotion = True)
forward_vec3 = core.mv.Analyse(super, isb = False, delta = 3, overlap=4, truemotion = True)
fin = core.mv.Degrain3(a, core.mv.Super(a), backward_vec1,forward_vec1,backward_vec2,forward_vec2, backward_vec3, forward_vec3, 1000)
vStable = has.QTGMC(fin, InputType=1,Sharpness=0, TFF=True)
I'm forced to use ediaa instead of aasw becayse it use sangnom [and sangnom2 is full of intrinsics], and if i understood correctly how aasw work, ediaa will work just fine.
Will this work about the same??
vStable will be use as a prefilter for some other calculation [here the full script http://pastebin.com/RZ9mwK1S ] so i'm not even sure 16bit will help so much
function mdgNlsb( clip c, int N, int "thSAD", int "thSAD2", bool "lsb", val "prefilter")
{
thSAD = default(thSAD,150)
thSAD2 = default(thSAD2,thSAD/4)
lsb = default(lsb,true)
vS = c.MSuper
vPFS = !defined(prefilter) ? vS : (isClip(prefilter) ? prefilter : c.dfttest(tbsize=1,sigma=prefilter,dither=1)).MSuper
MDegrainN( c, VS, MAnalyse(vPFS,multi=true,delta=N,overlap=4,blksize=8,search=5,pelsearch=2,truemotion=true),\
N,thSAD=thSAD,thSADC=thSAD,thSAD2=thSAD/2,thSADC2=thSAD2,lsb=lsb)
}
QTGMC(preset="Very Slow")
vPF = dfttest(tbsize=1,sigma=32, lsb=true).ditherpost(mode=6).aasw
vStable = mdgNlsb(5,1000,prefilter=vPF.dehalo_alpha_mt(3,3,0,1)).ditherpost.qtgmc(InputType=1,Sharpness=0)
and i'd like to port this to vs to use the 16bit processing of some plugins [even if in the end i'll need to dither down to 8 cause the rest of the script use a lot of avs plugins].
I got this
a = has.QTGMC(src, Preset="Very Slow", TFF = True, NoisePreset="Slow")
vPF = core.dfttest.DFTTest(a, tbsize=1, sigma=32)
vPF = has.ediaa(vPF)
rep = has.DeHalo_alpha(vPF,3,3,0,1)
rep = has.DitherLumaRebuild(rep, s0=1)
super = core.mv.Super(rep)
backward_vec3 = core.mv.Analyse(super, isb = True, delta = 3, overlap=4, truemotion = True)
backward_vec2 = core.mv.Analyse(super, isb = True, delta = 2, overlap=4, truemotion = True)
backward_vec1 = core.mv.Analyse(super, isb = True, delta = 1, overlap=4, truemotion = True)
forward_vec1 = core.mv.Analyse(super, isb = False, delta = 1, overlap=4, truemotion = True)
forward_vec2 = core.mv.Analyse(super, isb = False, delta = 2, overlap=4, truemotion = True)
forward_vec3 = core.mv.Analyse(super, isb = False, delta = 3, overlap=4, truemotion = True)
fin = core.mv.Degrain3(a, core.mv.Super(a), backward_vec1,forward_vec1,backward_vec2,forward_vec2, backward_vec3, forward_vec3, 1000)
vStable = has.QTGMC(fin, InputType=1,Sharpness=0, TFF=True)
I'm forced to use ediaa instead of aasw becayse it use sangnom [and sangnom2 is full of intrinsics], and if i understood correctly how aasw work, ediaa will work just fine.
Will this work about the same??
vStable will be use as a prefilter for some other calculation [here the full script http://pastebin.com/RZ9mwK1S ] so i'm not even sure 16bit will help so much