Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Flux5framesT(clip c, int "th", int "thC") {
- th = default(th,7)
- thC = default(thC,th)
- med = c.TMedian2()
- avg = c.temporalsoften(2,th,thC,24,2)
- medD = mt_makediff(c,med,U=3,V=3)
- avgD = mt_makediff(c,avg,U=3,V=3)
- DD = mt_lutxy(medD,avgD,"x 128 - y 128 - * 0 < 128 x 128 - abs y 128 - abs < x y ? ?",U=3,V=3)
- c.mt_makediff(DD,U=3,V=3)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement