Overdrive80
23rd October 2014, 13:56
Hi, I need help with masktools expressions, I am lost in that. My script is this:
original=last
#/*Prefiltrado*/#
pre=original.BrightDfttestMod(sbright=6.5, smedium=1, sdark=0,tbsize=1,lsb=true)
mascara=original.mt_edge("hprewitt",thY1=8, thY2=255,thc1=0,thc2=255)#.mt_inflate(thY=16)
prefiltrado=mt_merge(pre, original, mascara,u=2,v=2)
#return prefiltrado
#/*Filtrado temporal*/#
tr = 6
super= MSuper(prefiltrado,mt=true)
multi_vec = MAnalyse (super, multi=true, delta=tr, overlap=4,search=4)
last=prefiltrado.MDegrainN (super, multi_vec, tr, thSAD=470, thSAD2=210,plane=4,lsb=true).ditherpost()
#last=mt_lutxy(last,prefiltrado,yexpr="x y - 0 < x y ?") #Recover details of dark areas
I need any expression for recovering details of dark areas, in this case of "prefiltrado" clip. Could somebody help me, please?
original=last
#/*Prefiltrado*/#
pre=original.BrightDfttestMod(sbright=6.5, smedium=1, sdark=0,tbsize=1,lsb=true)
mascara=original.mt_edge("hprewitt",thY1=8, thY2=255,thc1=0,thc2=255)#.mt_inflate(thY=16)
prefiltrado=mt_merge(pre, original, mascara,u=2,v=2)
#return prefiltrado
#/*Filtrado temporal*/#
tr = 6
super= MSuper(prefiltrado,mt=true)
multi_vec = MAnalyse (super, multi=true, delta=tr, overlap=4,search=4)
last=prefiltrado.MDegrainN (super, multi_vec, tr, thSAD=470, thSAD2=210,plane=4,lsb=true).ditherpost()
#last=mt_lutxy(last,prefiltrado,yexpr="x y - 0 < x y ?") #Recover details of dark areas
I need any expression for recovering details of dark areas, in this case of "prefiltrado" clip. Could somebody help me, please?