Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetMemorymax(2048)
- SetMtMode(5,3)
- imagesource("C:\Users\Isra\Desktop\9dfX9ep.png", start = 0, end = 1000, fps = 24, use_DevIL = false, info = false, pixel_type = "RGB24").converttoyv12()
- Preroll()
- Setmtmode(2)
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
- #FILTRADO
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
- original=last
- #/*Prefiltrado*/#
- pre=original.BrightDfttestMod(sbright=7.5, smedium=0.38, sdark=0,th_low=20, th_med=40, th_high=100, tbsize=1,lsb=true,mode=6)
- mascara=original.mt_edge("hprewitt",thY1=8, thY2=255,thc1=0,thc2=255)
- #mascara=original.mt_lut("255 x - 1.5 ^ 16 / 64 -")
- #return mascara
- prefiltrado=mt_merge(pre, original, mascara,u=2,v=2)
- #Temporal degrain
- tr = 6
- super= MSuper(prefiltrado,mt=true)
- multi_vec = MAnalyse (super, multi=true, delta=tr, blksize=8, overlap=4,search=4, searchparam=3,dct=10)
- last=prefiltrado.MDegrainN (super, multi_vec, tr, thSAD=470, thSAD2=180,plane=4,lsb=true,thSCD1=500,thSCD2=160).ditherpost(mode=6)
- #/*Otros*/#
- csmod16(lsb_in=false,lsb=true)
- gradfun3(mode=6,lsb_in=true, lsb=false)
- Unsharphq(17,1.6,0.2,show=false)
- maa2(aa=15)
- hysteria(showmask=false,strength=0.9,lowthresh=32,highthresh=32)
- stackhorizontal(last.subtitle("Filtrado"), original.subtitle("Original"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement