Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cc4(clip y, float "Weight")
- {
- Weight=Default (Weight,.33)
- y=y.converttoyv12().greyscale()
- y.linearresize(280,280,linear=true,noring=true)
- cmb2()
- a1=last
- a1
- converttorgb()
- r=ShowRed(pixel_type="RGB32")
- g=ShowGreen(pixel_type="RGB32")
- b1=ShowBlue(pixel_type="RGB32")
- a=overlay(g,r,mode="exclusion").converttoyv24()
- b=overlay(g,b1,mode="exclusion").converttoyv24()
- c=overlay(merge(a,b),g.converttoyv24(),mode="exclusion").converttoyv24()
- mergergb(a,c,b)
- converttoyv12()
- subtract(a1,last)
- coloryuv(autowhite=true)
- merge(a1.cmb2(),last)
- tweak(sat=2.5,interp=32)
- tweak(sat=1.25,maxsat=59.5,interp=32)
- linearresize(width(y),height(y),linear=true,noring=true)
- mergechroma(y,last,Weight)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement