Log in

View Full Version : an experiment trying to convince people to move on with obsolete denoisers


Pages : 1 [2]

Bloax
27th January 2017, 15:14
Yes indeed, and after a bunch of tinkering I've come to something that gives a very nice result (https://dl.dropboxusercontent.com/u/63152810/denoise_test_2.avi):
#[.. grainy input ..]

pf1=last.knlmeanscl(d=7,a=1,s=4,h=8) #smudge it all, let god sort it out
pf2=pf1.FluxSmoothT(7) #get rid of most of the remaining flickering
grainyaf=last #for some reason keep the original
SMDegrain(tr=7,thsad=510,thsadC=700,prefilter=pf2,blksize=16,chroma=false,amp=2.3) #mdegrain the shit out of it
denoised1=last
u2=last.UToY().ConvertToY8()
v2=last.VToY().ConvertToY8()
u3=u2.knlmeanscl(a=2,s=3,d=3,h=2.1) #do some final knlmeanscl cleanup
v3=v2.knlmeanscl(a=2,s=3,d=3,h=2.1)
wtf1=grainyaf.ConvertToY8()
wtf2=denoised1.ConvertToY8()
wtf3=Merge(wtf1,wtf2,0.9) #for some reason merge a little bit of the original luma with the smdegrained one
yv=Merge(wtf3,wtf3.KNLMeansCL(d=3,a=3,s=4,h=1.8),0.65) #then clean a little bit extra with knlmeanscl
YToUV(u3,v3,yv)
Not quite perfect, but considering the original noisefest it shouldn't come as a surprise.

I'd warn against using a monstrosity like this on normal content though, the nature of its birth means that it completely wipes things clean of noise when there isn't a metric fuckload of it. :D

dipje
27th January 2017, 16:09
Hey, this allowed me to finally test the 'very low frequency' and 'ultra low frequency' sliders in Neat Image :P.

osgZach
27th January 2017, 16:34
It's kind of cheating, but I messed around with Neatvideo (which can be loaded for rendering in an AVS script). I'm not overly impressed with my effort, but I'm not used to working with low resolution footage (and a big part of the process is manually selecting areas to build a noise profile). I killed way too much detail here imho and I really didn't spend the time to try and get accurate profiling or tweak filter parameters.

Right-Click Save As (http://www.oldskoolgames.com/noise_test.mp4)

dipje
27th January 2017, 22:41
you're not removing all the noise. You have reduction set at the default 40% or 60% or something? My neat video attempt was cleaner, but kept the weird color flicker.

It worked wonders on the fish sequence though.

osgZach
28th January 2017, 05:53
Like I said, I didn't spend a lot of time building an accurate noise profile or tweaking the settings. I was bored and had a rough go at it