Log in

View Full Version : Anime filtering questions (denoise, sharpening, etc)


~SimpleX~
11th February 2010, 12:52
Hello everyone! I'm new to avisynth, so I want to ask some questions about filters I should use in different situations to better understand the process.

My questions:

1) Which denoising filters are good for anime?
2) Is there any way to slow down grain movements after denoising (and using gradfun2dbmod to dither banding)? There're many scenes with kind of constant frame but moving grain...
3) Which sharpening filters are good for anime? Warpsharp's killing some little lines but effect is pretty good (not everywhere, though). LSF is better for details preservation, but doesn't make lines thinner.

I'm currently working on Cafe Junkie (hentai anime).

Sample: 22 seconds (http://www.mediafire.com/?mkmz4dmzcyj)

Script I'm using:


SetMemoryMax(768)
setMTMode(2,0)

src=DGDecode_MPEG2Source("C:\Encoding\Cafe Junkie\VTS_01_1.d2v", info=3, cpu=0)

src=src.ColorMatrix(hints=true, threads=0)

progressive=src.AnimeIVTC(mode=1, aa=1, ifade=true)

ECMode="DFTTest().dehalo_alpha(darkstr=0.7,brightstr=1.7).warpsharp()"

denoised=progressive.MCTemporalDenoise(\
settings="low", radius=2, GPU=false, fixband=true, sigma=3, chroma=true,\
edgeclean=true, ECmode=ECMode, ECrad=3, ECthr=16,\
enhance=true,\
protect=true,\
sharp=true, strength=170, SHmode=5, sovershoot=2,\
post=0,\
deblock=true)



final=denoised.FastLineDarkenMOD2(thinning=8, strength=35, luma_cap=210).Tweak(sat=1.1).Crop(0,0,-2,0).Spline36Resize(720, 540)

final

__film = last
__t0 = __film.trim(0, 36751)
__t0


Is there anything to add, to remove? Is it optimal for this source?

Thanks for your help! And sorry for my "English".

Adub
11th February 2010, 18:51
I highly suggest that you run a search, as this topic has been covered numerous times in this section.

You have a decent start, so all you need is a better understanding of the filters available and the capabilities they provide.

And don't over filter!

~SimpleX~
11th February 2010, 23:29
I highly suggest that you run a search, as this topic has been covered numerous times in this section.

You have a decent start, so all you need is a better understanding of the filters available and the capabilities they provide.

And don't over filter!

Thanks for your reply!

Main problem is that I don't know what should I search for. When I tried to find a good denoiser, I ran onto MCTemporalDenoise (but before I tried fft3d, dfttest, mc_spoods, degrainmedian and a few others). It does a job very well without much details loss, so I choose it for my script. But I still don't know how to use it properly.

And about "over filter" - I don't fully understand which deffects I'm dealing with. Noise? Ringing? What else? That's why I'm asking whether my script is good for this source or not.

Could you please provide me some links to the topics you think I should read first?

And sorry for my english.