Advertisement
Guest User

Flux5framesT()

a guest
Jan 28th, 2015
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function Flux5framesT(clip c, int "th", int "thC") {
  2. th = default(th,7)
  3. thC = default(thC,th)
  4. med = c.TMedian2()
  5. avg = c.temporalsoften(2,th,thC,24,2)
  6. medD = mt_makediff(c,med,U=3,V=3)
  7. avgD = mt_makediff(c,avg,U=3,V=3)
  8. DD = mt_lutxy(medD,avgD,"x 128 - y 128 - * 0 < 128 x 128 - abs y 128 - abs < x y ? ?",U=3,V=3)
  9. c.mt_makediff(DD,U=3,V=3)
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement