PDA

View Full Version : Denoising 'dark' anime scenes


n2k3
31st March 2009, 01:37
Hey there, I'm having trouble with proper denoising 'dark' scenes.
See sample1 (http://www.myupload.dk/showfile/193962244f1.avi) and sample2 (http://www.myupload.dk/showfile/193963244f1.avi) for what I mean. (those are filtered LAGS (http://lags.leetcode.net/codec.html) samples)
If you get a 404 error go back, and click again should work the 2nd time :s
Denoising of 'bright/normal' scenes are ok.

I've played with FFT3DFilter, MCTemporalDenoise, and some others, but I can't seem to find the proper settings to use.
Its about the blocks moving alot in the face (sample1), and the hair (sample2)
Anybody who can help me out?

Thanks in advance,
n2k3

Full script used in the samples:

SetMemoryMax(512)
MPEG2Source("C:\Encoding\SS2\3\vob\VTS_07_1.d2v", cpu=0)
ColorMatrix(mode="Rec.709->Rec.601",interlaced=true)
AnimeIVTC(mode=1,aa=4,omode=1,MT=true,overlap=6,pel=4,search=3)
UnDot()
RemoveGrain(mode=17)
FFT3DFilter(ncpu=2)
DeHalo_alpha_v2(rx=3, ry=3, darkstr=0.4, brightstr=1.0, lowsens=50, highsens=50, ss=1.5)
LSFmod(ss_x=2.0, ss_y=2.0)
DeRainbow(thresh=10)
TComb(mode=2, fthreshL=4, fthreshC=5, othreshL=5, othreshC=6, scthresh=2)
LanczosResize(width*2,height*2).TurnLeft().SangNom().TurnRight().SangNom().LanczosResize(width,height)
trim(11334,12200) # 'dark' scene part

Vitaliy Gorbatenko
31st March 2009, 05:47
You can use another, more powerful noise suppressor, then keep on the mask. This code has already been here.

a = source
b = source.denoise()
th_low = 20
th_high = 32
dmask = b.levels(th_low,1.0,th_high,255,0,false)
a.mt_merge(b,dmask,U=3,V=3,luma=true)


#or

b=denoised()
mt_merge(last,b,b.mt_invert,luma=true,chroma="process")

:search: