Log in

View Full Version : Borders Color Fix


ScarAce1989
2nd August 2015, 08:36
Hi,

I got some nasty color at left and right borders. What is the best avisynth filter to fix these color issues?

Thanks in advance!

http://i.imgur.com/uVgAjy6.png

ChiDragon
2nd August 2015, 19:52
A histogram/waveform of the chroma channels would be informative to see whether there's any data there to rescue, or if it's just essentially blank.

You could apply FillMargins (http://avisynth.nl/index.php/FillMargins) or some other solution to the chroma channels only. The effect may end up worse than cropping or setting the edges to greyscale though.

ScarAce1989
2nd August 2015, 21:19
I have a sample of a minute here: https://mega.co.nz/#!9tlG1TQC!itHwucC5eTv4D2djjGxOoNTs2ecWMABIzmxOoquPzqw

Maybe that should help.

mandarinka
3rd August 2015, 16:38
The chroma channels there have improper values. Often this can be fixed, but looking at your picture, you will have to use per-column masks to isolate the filtering only to subset of pixels at a time.

The issue comes from time to time, and the adjustment that is needed is probably not always the same, so I think you will need to experiment a lot.

Once I for example did this (it needs to be maxed to the individual column of pixels of course) - first changing the chroma channel balance with coloryuv, then adding saturation to equalize with the rest of frame

coloryuv(cont_v=0,cont_u=300).tweak(sat=1.5)

No idea if your case will be similar or if you'll need something different. For example, it might need the U/V offset options in coloryuv instead....

StinDaWg
8th August 2015, 04:48
BalanceBorders should fix them.