I do not expect an optimal one because I don't see it being possible to eradicate selective chroma flickering without false positives, but this forum has proved me wrong many times when I had people who've done video restoring for a living insist otherwise.
I tried Bifrost, LUTDerainbow, Derainbow and SSIQ from Vdub. Bifrost and LUTD did nothing. Derainbow is a more impressive filter that greatly reduced rainbowing but dulled many vibrant colors of false-positive objects. SSIQ's strength was damn noticeable too, even more noticeable on regions where it's unwanted.![]()
+ Reply to Thread
Results 1 to 12 of 12
-
-
It depends on what the rainbows are from, how severe, the distribution...etc...
You can also try chubbyrain2, tcomb with chroma settings (mode=1 plus other settings)
I don't see it being possible to eradicate selective chroma flickering without false positives -
http://www.sendspace.com/file/zs0u65
I also forget to mention I tried mfrainbow but couldn't get filter to work.
I tried chubbyrain and it smeared the rainbows instead of removing them. -
Oh, this is your messed up Southpark source...
I tried chubbyrain and it smeared the rainbows instead of removing them.
It's chubbyrain2, not chubbyrain ; some frames have residual artifacts so you can tweak the settings, stack something else , or use a mask with strong chroma filtering -
Psssht!
If I do that it will screw up the interlacing and cause color ghosting later.
My bad. I first typed "tubbychubbyrain" and was ready to bust a cap when avisynth said:
I couldn't find any documentation for chubbyrain2. What are some things I can tweak? I noticed setting to -1 filters the strongest but even then it misses spots. -
haha nice error message
Your source is foobar to begin with, but the fact is all derainbow filters and dotcrawl filters work best before any other filter, while it's still in fields. You will find they almost don't work at all otherwise. Then you have to blur the shit out of it to get anything to work. You decide how you want to filter it and what settings to use . This is supposed to be a progressive source, but has gone through too many bizzare manipulations so maybe the rules don't apply anymore
I dont of any documentation for chubbyrain2, it's one of those quickly put together ones . You can play with the radius or threshold settings, or you can stack it with other filters -
script of function chubbyrain2:
Code:function ChubbyRain2(clip c, int "th", int "radius", bool "show", int "sft") { #based on Mug Funky's ChubbyRain th = default(th,10) radius = default(radius,10) show = default(show,false) sft = default (sft, 10) u = c.utoy() v = c.vtoy() uc = u.mt_convolution(horizontal="1",vertical="1 -2 1",Y=3,U=0,V=0) vc = v.mt_convolution(horizontal="1",vertical="1 -2 1",Y=3,U=0,V=0) cc = c.mt_convolution(horizontal="1",vertical="1 2 1",Y=2,U=3,V=3).bifrost(interlaced=false).cnr2().temporalsoften(radius,0,sft,2,2) rainbow=mt_lutxy(uc,vc,Yexpr=string("x y + "+string(th)+" > 256 0 ?")).pointresize(c.width,c.height).mt_expand(y=3,u=-128,v=-128)#.blur(1.5) overlay(c,cc,mask=rainbow) show==true? rainbow : last }
masktools v2
Bifrost
LimitedSharpenFaster
RemoveGrain v0.9
discussion (one of many): http://forum.doom9.org/archive/index.php/t-143438.html
Recent example of its use: https://forum.videohelp.com/threads/322848-Scripts-and-filters-for-an-Opera-%28sample-v...=1#post2000913 -
The problem (especially with this source) is it has gone through too many conversions with analog, PAL, NTSC, and there is blending, so any autodetection mask will fail, either will miss areas, or overshoot areas . That's the same reason why the usual dotcrawl filters failed in your other thread, and damaging , heavy overkill filters were required to get rid of all the dotcrawl
You can see the mask used by chubbyrain by using show=true, and tweak it using mask tools , it will be difficult to isolate ONLY the rainbows and nothing else on this source
One way you can improve the results is use a heavy filtered version, with a lightly filtered version, with mt_merge , at least you can limit the damage that way -
There is no progressive source for the early seasons, not until they release Blu-ray versions. This is the best I can do for now.
I did, and I'm lost. Increasing both to 20 strengthened the filtering very slightly. Decreasing to 1 strengthened it noticeably, and -1 strengthened it even more. Going above 20 nullifies the filter completely. Actually, going above 10 nullifies it.
Oh well, I've decided to use it selectively on scenes where rainbowing is particularly prevalent. I don't even know if it's that big of a deal TBH. My main concern is removing illegal entropy from the video, because we're aiming to match both DVD quality and the famous RM bitrates.
Chubbyrain2 is the best out of all the derainbowers I've seen so Mr. Mackey will be pleased to see the end of his little rainbow infestation problem in his hair.
Thanks 'ray.
@Sanlyn, the error message was a joke, chubbyrain2 worked fine. -
If you want an overkill script
Code:a=MPEG2Source() a chubbyrain2(show=true) msk=last a chubbyrain2(th=1, radius=15) base=last base fft3dfilter(sigma=16, plane=3, bt=4, interlaced=true) heavy=last mt_merge(base, heavy, msk, luma=true)
You have to ask yourself what is the lesser of evils ? Can you live with some rainbows or would you rather have fewer rainbows and blurry color edges
I don't know of anyway to get a "perfect" mask automatically, because potentially anywhere 2 colors reside beside each other is a potential "rainbow" -
Last edited by sanlyn; 21st Mar 2014 at 08:12.
-
Can you expand on this? This is greek to me.
What more concerns me is the destruction of the colored interlace combs which causes color-ghosting upon deinterlacing later. I'm impressed with the filter however. The removal of the rainbows is absolute and erosion of edges is minimal. I still cannot allow this globally but I won't mind doing it on scenes with severe rainbowing.
I would rather have only Mackey be an acidhead and not everybody else hallucinating vibrant rainbows when they are forced to see him for counselling.
I permit rainbows only in the sky.
That's why I didn't expect any optimal filtration since my first post in this thread, but chubbyrain2 had more balls than all the other derainbowers combined and worked much better than I anticipated.
This is yet again one of those times when videohelp has proved me wrong. Thanks guys.
Similar Threads
-
Please suggest good AviSynth Anti-Aliasing & Rainbow Remover scripts
By VideoFanatic in forum RestorationReplies: 0Last Post: 30th Nov 2011, 06:54 -
I have rainbow colors on the outline of characters. Help me!
By Cloudstrifeff7 in forum Newbie / General discussionsReplies: 2Last Post: 26th Apr 2010, 17:20 -
Putting the Mystique/Rainbow Runner out to pasture...
By logic7 in forum Capturing and VCRReplies: 2Last Post: 7th Dec 2009, 15:45 -
Rainbow effect
By rism47 in forum Authoring (DVD)Replies: 7Last Post: 31st Jan 2009, 15:47 -
is Trojan Remover 6 good
By dewolf in forum ComputerReplies: 8Last Post: 24th Jun 2007, 13:38