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