View Single Post
Old 29th January 2011, 21:47   #2  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Yes I have seen these horizontal chroma distortions before.

For your case with the drooping U channel, probably masktools LutXY with the options of U channel processing only. Examine the V channel more carefully it also probably has a slight droop as well.

A formula something along the lines of (((X-128) * (Y + 500)) / 600) + 128 == > "X 128 - Y 500 + * 600 / 128 +"

Choosing the values of 500 and 600 allows fine control of the U gain by the mask clips U channel, ranging from (500+0)/600=0.8 to (500+255)/600=1.25. You should choose values suited to the gain range you need to apply.
IanB is offline   Reply With Quote