Advertisement
MWilson

ISR/I2

May 2nd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. function isr(clip v)
  2. {###(c) MWilson 2018
  3. i2(v,repair(v.temporalmedian(7,true),v,9,9,9))
  4. TurnLeft()
  5. v2=last
  6. v3=repair(v2.temporalmedian(7,true),v2,9,9,9)#repair(v2.temporalmedian(7,true),v2,9,9,9)
  7. i2(v3,v2)
  8. TurnRight()
  9. v4=last
  10. return v4
  11. }
  12.  
  13. function i2(clip v, clip weave)
  14. {###(c) MWilson 2018
  15. v=v.converttorgb()
  16. weave=weave.converttorgb()
  17. vsr=v.separaterows(height(v))
  18. wsr=weave.separaterows(height(v))
  19. interleave(vsr,wsr)
  20. weaverows(height(v)*2)
  21. converttoyv12()
  22. VerticalReduceBy2()
  23. return last
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement