Advertisement
tophf

linemask

Dec 11th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function linemask( clip c, int "blur", int "thresh", int "str" )
  2. {
  3.     blur=default(blur,5)
  4.     thresh=default(thresh,4)
  5.     str=default(str,16)
  6.     mt_lutxy(c,c.binomialblur(blur,u=1,v=1),"x "+string(thresh)+" + y < y x - "+string(str)+" * 0 ?")
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement