Log in

View Full Version : Need help for denoising DV low light camcorder


pdurand
19th July 2009, 17:46
Hi all,

I tried many filters in order to denoise and restore a few colors on a low light dv tape (sony SD camcorder)

The script I use is the following:

DirectshowSource("xxxxxxx\sample2_dv.avi")
ConvertToYV12()
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\FFT3DFilter.dll")
FFT3DFilter(sigma=4, plane=0, bw=16, bh=16, ow=8, oh=8, sharpen=1.2, degrid=1, ncpu=8, interlaced=TRUE) # luma first
FFT3DFilter(sigma=8, plane=3, ncpu=8, interlaced=TRUE)

With this I achieved a pretty good denoise but I still have some problems:
1) halo: there is a halo around the face. Can't get rid of it
2) sharpness: I'm sure someone could do better sharpening
3) colors: i think i loose some color data. I know in low light conditions, these DV camcorders tends to loose color information. White are sometimes over saturated and burning. Is there a filter to restore some color?

Many thx in advance for any suggestion. :thanks:

The link for the original file is here:
WARNING: 66Mo DV untouched !
http://dl.free.fr/pac4ArBnK

The filtered (with script above) + tmpgenc mpeg2 2 pass is here:
http://dl.free.fr/mK7yjdR7m
15Mo mpeg2

m3mbran3
20th July 2009, 05:35
I had a quick play around with your sample and although my results aren't perfect I'm sure if you tweaked the settings you could see some improvement.

Basically you want to deinterlace your content first as it will work much better with most filters, you can always reinterlace at the end if you want.

HDRAGC is a plugin to increase the dynamic range of your video, I usually use it with fairly low settings but I find it works for my sources and just makes the colours a little more vibrant.

Next I've used Depan to stabilize the movement, got this idea from the power of avisynth thread and I almost always use this on all my home shot footage to decrease the effects of vertigo.

MCTemporalDenoise is a fliter you'll find on these forums. It's really great at denoising the content and it also uses LSFmod to sharpen the content at the end as well. It has a million and one settings to tweak so it should keep you busy.

Basically thats it, you'll need to download a ton of filters first but in the end you should see some improvement.




DirectshowSource("C:\familyvids\test\sample2_dv.avi")
ConvertToYV12()
AssumeTFF()

orig=last
TDeint(edeint=nnedi2(qual=3)) #bobbed double-rate

#ColorYUV(autowhite=true)
HDRAGC()

mdata = DePanEstimate()
DePanStabilize(data=mdata, method=1, mirror=15)

MCTemporalDenoise(settings="high", GPU=true)
stackhorizontal(orig,last)

Terka
20th July 2009, 10:07
could you attach a zip with all the needed filters?
:thanks:

m3mbran3
20th July 2009, 11:07
I'm not exactly sure what filters are needed. I could upload a zip of all my avisynth filters but I'm not sure if that is allowed. if you PM me I guess I could just email it to you.

Adub
23rd July 2009, 21:24
It's pretty simple actually. Just look at the name of the filters, and you can find the names of the dll. Ex. Tdeint() --> tdeint.dll etc. etc.