Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th May 2008, 21:44 | #1 | Link |
Registered User
Join Date: Nov 2006
Posts: 51
|
How to denoise this?
I'm currently using trim + dfttest(sigma=5) to denoise just the heavily noised scenes... but it kills way to many detail.
Any suggestions? Don't worry about the "clean" scenes... since I'm using light filtering on them. Source: Chopped footage: http://www.mediafire.com/?n06a2c1n4o3 |
15th May 2008, 22:15 | #4 | Link |
masktools2 (ab)user
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
|
Deen and BlindPP! No, I'm not joking.
Code:
BlindPP(14,6) Deen() It's what I used last time on similarly looking artefacts and worked for me, but there may be a better, "newer" solution. Oh yeah... by the way, is there a technical name for that blocking and a reason why it happens since we're on this subject already? |
15th May 2008, 22:25 | #5 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
By default though, there's no temporal operation going on, so if you want to do temporal filtering, then configure the AZ parameter. The higher, the better the results & slower the processing (much slower actually ). AZ=5 would be equaled to that of bt=5 in fft3dfilter. Also, since the source in question is indeed a toon/anime based source, set sse to false since sad usually works better with these types of sources. The "h" parameter would be the strength of the filtering, but you may want to start with 0.1 and adjust it as needed from there, since 0.1 in sad mode would be like, 0.45 in sse mode (which may prove to be too strong in some cases). So all in all, try the default settings with the exception of configuring the "AZ" parameter and using SAD instead of SSE. |
|
16th May 2008, 00:00 | #7 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
(az=5 wouldn't probably help that much unless you plan on using tnlmeans as a prefilter, or with 5 frames compensated, so you're probably better off using az=1.) Last edited by Terranigma; 16th May 2008 at 00:02. |
|
16th May 2008, 05:05 | #9 | Link |
Registered User
Join Date: Jul 2007
Posts: 70
|
first diagnose the problem. this doesn't need more denoising that mvdegrain3. what that needs is deblocking. try "aaa," my preferred anti aliaser, which has always served me better than a deblocker:
Code:
function AAA(clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", \ int "US", int "DS", bool "chroma") { clp = clp.isYV12() ? clp : clp.ConvertToYV12() ox = clp.width oy = clp.height Xres = default(Xres, ox) Yres = default(Yres, oy) us = default(us, 1) ds = default(ds, 2) Xshrp = default(Xshrp, 0) Yshrp = default(Yshrp, 0) chroma = default(chroma, false) us==0 ? clp.PointResize(ox*2,oy*2) : clp.LanczosResize(ox*2,oy*2) TurnLeft() SangNom() TurnRight() SangNom() ds==0 ? BilinearResize(Xres,Yres) : \ ds==1 ? BicubicResize(Xres,Yres) : \ LanczosResize(Xres,Yres) Unfilter(Xshrp,Yshrp) chroma ? MergeChroma(clp.Lanczosresize(Xres,Yres)) : last } i'm sure I can trust you to sharpen up afterwards! |
16th May 2008, 06:17 | #10 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
You can try somthing like at_denoise(sstep = 0.4, edge = 3.0, iterations = 10, center = 1, tstep = 0) - it's in anisotools, in my signature.
__________________
|
19th May 2008, 03:38 | #14 | Link |
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
To my eyes, what gives the best result on your clip is aaa() + some light denoiser (like dfttest with a low sigma), because the main problem seems to be, as cestfait said, blocking.
However, "The best is what works best for you!".
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
19th May 2008, 23:33 | #16 | Link |
Registered User
Join Date: Jul 2007
Posts: 70
|
good! It's always satisfying to be decisive. I do, however agree with thetoof. your tnlmeans in a scene like that is not going to help compressibility much (still high contrast edges shifting every frame), and x264's deblocker/quantization in general should smooth away the worst of the artifacts left over.
there can be no TRUE perfectionism here-- don't waste your time filtering every blocky scene to kingdom come-- you are starting with a flawed source. |
19th May 2008, 23:37 | #17 | Link |
Registered User
Join Date: Jul 2007
Posts: 70
|
on one other note: another sort of cheater's solution to blocking is just spline resizing the frame to double-size and then back down again. it takes advantage of spline-interpolation's idea of what the frame is supposed to look like. a sort of crude method of supersampling.
doesn't always work perfectly, of course! |
Tags |
anime, denoise |
Thread Tools | Search this Thread |
Display Modes | |
|
|