Advertisement
tophf

dehalo_alpha_mt_skipsmallspots

Aug 17th, 2011
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function dehalo_alpha_mt_skipsmallspots( clip c, float "rx", float "ry", float "darkstr", float "brightstr", float "lowsens", float "highsens", float "ss" )
  2. {
  3.     c
  4.     vLM=mt_lutxy(c,c.mt_expand().mt_expand(),"x y - abs 8 - 7 <<")
  5.     vDH=mt_merge(dehalo_alpha_mt(rx,ry,darkstr,brightstr,lowsens,highsens,ss),vLM.mt_expand().mt_expand().removegrain(11,-1),true)
  6.     vDH.mt_merge(last,vLM.mt_invert().mt_logic(vLM.mt_expand().mt_expand().mt_inpand().mt_inpand(),"and").removegrain(11,-1),true)
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement