Log in

View Full Version : How to remove these flickering rainbows?


kumi
28th March 2007, 22:20
Apologies for the nebulous thread title, I just don't know how to categorize this type of artifact:

frame 27:
http://hachirota.googlepages.com/spider.forest.frame.27.png

frame 28:
http://hachirota.googlepages.com/spider.forest.frame.28.png

As you can see, the rainbow pattern on the skullcap flickers. Here's a 3.3MB VOB sample: http://hachirota.googlepages.com/VTS_01_1.demuxed.m2v


It's from the Tartan R1 (http://www.amazon.com/Spider-Forest/dp/B000ARXG68) release of Spider Forest. A horrible transfer, but this color rainbowing thing is by far the most annoying. Can someone suggest a filter or two that could help ameliorate the problem? Thanks!

wonkey_monkey
28th March 2007, 22:50
Quickie effort (more for experimentation than practical use):


v=mpeg2source("VTS_01_1.demuxed.d2v")
a=v.trim(1,0) # one frame backwards
b=v.trim(1,-1)+v # one frame forwards

overlay(a,b,opacity=0.5)
overlay(v,b,mode="chroma",opacity=0.5)

converttorgb(interlaced=true) # because virtualdub won't do it right


Works pretty well for the test clip, but that's probably about all.

David

lamer_de
29th March 2007, 08:53
As you already recognised, those artifacts are called rainbows. There is a variety of filters out there that tackle this problem.

http://avisynth.org/index.php?page=Section+3%3A+Filters%2C+plugins+and+colorspaces
http://avisynth.org/index.php?page=mfRainbow
http://avisynth.org/DeRainbow
And there's also BiFrost, which istn't listed in the filters section. A forum search with rainbows should also deliver some results.

CU,
lamer_de

kumi
30th March 2007, 02:04
Thanks guys, I tried davidhorman's suggestion, as well as temporalsoften, SSIQ, SmoothUV and BiFrost.

It seems a simple BiFrost(interlaced=true) works best for my source.