Avisynth: Reducing green tinge?
I`ve been working on a script to produce a 3D effect that works with 3D glasses. It takes three copies of a film and overlays one coloured red, one coloured green and one normal.
It works nicely, needs some tweaking, but the green is overpowering and results in a very notable green hue. Is there a way to reduce the green colour just a little? The script is between the asterisks: **** source=avisource("C:\AVI\video_data\video.avi") source=ConvertToRGB(source) left=source right=source left=RGBAdjust(left, 2, 1, 1, 1) right=RGBAdjust(right, 0, 1.4, 0, 0) right=ConvertToYUY2(right) right=tweak(right, bright=45) film=Overlay(left, right, mask = left.ShowAlpha("yuy2"), x=4, y=1, opacity=0.5) film2=Overlay(film, source, mask = source.ShowAlpha("yuy2"), opacity=0.3) film2=ConvertToYUY2(film2) film2=tweak(film2, bright=33) return(film2) **** Thanks :) |
try RGBAdjust:
http://www.avisynth.org/RGBAdjust or tweak and adjust hue (look avisynht docs/faqs) :!: |
Thanks. I tried that but still noticeable tinge so swapped the overlay mask to be that of the source and this made a good difference with rgb adjust used as well.
Thanks :) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.