View Full Version : Green around edges
madness
28th October 2004, 15:47
Hi all,
I got this green colour around the edges in the video its not very notice able on dark colours but on very high contrast colour like sky blue its very noticeable i just want to know is there any possible way of eliminating it.
Heres a image what I'm saying
http://www.madforums.net/images/green.jpg
Thanks in advance
Mug Funky
28th October 2004, 16:17
looks like the chroma has dark lines like the luma does.
is this unfiltered? red and blue are pretty far apart, so you could expect some blackness between them.. i'm just trying to figure out a way to kill it without messing up everything else.
hmmmmmmmm. maybe expand().expand() on just the chroma channels? there'd need to be a dark-edge mask to prevent legit chroma detail being washed out.
if you don't have masktools, download it (it's linked to from this forum... search should find it for you)
if you don't mind posting a clip i'll take a closer look.
[edit]
expand(Y=2,U=3,V=3) turns it purple on the edges... that's an improvement. now we just need to blend it back in with the source.
but i must stress that this only works for the thumbnail you posted (after cropping it to even width/height)
[edit 2]
mergechroma(last,last.expand(Y=2,U=3,V=3),.75)
this works for the picture almost perfectly. but i must stress that the clip itself will be pretty different, and will probably look awful.
lamer_de
28th October 2004, 17:01
While I'm not madness, I took the liberty to upload a clip that exhibits this problem as well. It's a fairly common problem with Anime capped from TV. The clip is stone-old though, and therefore encoded with divx3 ^_^ (The file will stay up for 25 sends or 7 days)
http://s5.yousendit.com/d.aspx?id=C997B75D1DE5AB8BAAA3EB7CC7A68804
I don't need any actual help with this clip, but if you can come up with a general solution, I'd be interested. Feel free to ignore me if you have other things to do, though. The mergechroma attempt only turned the yellow lines purple :D
CU,
lamer_de
Mug Funky
31st October 2004, 13:13
okay, i'll take a stab at it. perhaps warpsharp will be useful for this one?
btw, love your avatar :)
[edit]
aaaaaaaaah. looks like this is simple chroma offset, but for only 1 of the chroma channels. i'll whack together a simple function to line them up. sort of like chromashift, but for each channel.
maybe i'll hack depan to do it automatically?
[edit 2]
use this:
yv12convolution(horizontal="0 0 1",vertical="1",Y=2,U=2,V=3,usemmx=true)
yv12convolution(horizontal=".5 .5 0",vertical="1",Y=2,U=3,V=2,usemmx=true)
you need masktools.
krieger2005
1st November 2004, 18:21
@Mug Funky: I does not try your script but have the seen the same effect on some movies. But this effects was not on/by edges. It was on a side of a frame (mostly on the left side).
How does this happen? I can't understand it.
hartford
2nd November 2004, 02:58
@krieger2005
I've seen this in two situations: Using a buggy Xvid codec, or a particular version of Deen or eDeen (don't recall which).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.