digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Wavelet Noise Reduction? (http://www.digitalfaq.com/archives/avisynth/4317-avisynth-wavelet-noise.html)

Lefungus 07-18-2003 01:58 PM

[links removed]

kwag 07-18-2003 02:32 PM

Thanks Lefungus :)
It's testing time again ;)

-kwag

Lefungus 07-18-2003 02:42 PM

I forgot, but there's no filter parameter anymore. It always use Brislawn 10/10.

If some want to test others wavelet filters, you need to use older versions as i can't optimize for every wavelets. Anyway i think Brislawn was the best on my own tests

kwag 07-18-2003 02:46 PM

Quote:

Originally Posted by Lefungus
If some want to test others wavelet filters, you need to use older versions as i can't optimize for every wavelets. Anyway i think Brislawn was the best on my own tests

Yes, I recall reading your comments on that.
What are your suggested values for a DVD source, with your current version :?:

-kwag

Lefungus 07-18-2003 02:51 PM

method=1
nsteps=6 or 3
chroma=true

then put threshold at 1.5

For a really clean source, decrease it, for a really noisy source increase it.

on GITS, i've used threshold=2
on Evil Dead, i think i'll use 2 also, lots of noise
on Brotherhood of the wolves, fairly clean, i use 1.3, sometimes, it's a little too much, so i think i'll play with the motion adaptative filtering, between 0.8 for still scenes to 2 or even 4 for high motion parts

Lefungus 07-19-2003 05:55 AM

Sorry guys, there was a little bug on v0.24, 0.242 should be correct.

ovg64 07-19-2003 10:45 AM

Quote:

Originally Posted by Lefungus
Sorry guys, there was a little bug on v0.24, 0.242 should be correct.

Thax Lefungus :wink:

audioslave 07-22-2003 06:35 AM

Could anyone please post an example on how to use VagueDenoiser with motion adaption? Thanks! :wink:

kwag 07-22-2003 09:16 AM

Quote:

Originally Posted by audioslave
Could anyone please post an example on how to use VagueDenoiser with motion adaption? Thanks! :wink:

Try this:

Code:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1).VagueDenoiser(filter=7,method=1,threshold=2.5,nsteps=6,chroma=true) ")

;)

-kwag

audioslave 07-22-2003 09:23 AM

Thanks kwag, but as far as I understand the filter parameter no longer exists in the latest version of VagueDenoiser? Can I simply remover that parameter and keep the other :?:

kwag 07-22-2003 09:44 AM

Quote:

Originally Posted by audioslave
Thanks kwag, but as far as I understand the filter parameter no longer exists in the latest version of VagueDenoiser? Can I simply remover that parameter and keep the other :?:

:oops: Yes, I guess I pasted an old sample :!:
Just remove the parametes, and try it out.

-kwag

audioslave 07-22-2003 09:53 AM

:mrgreen:
It's alright kwag! Even the best sometimes make mistakes. :wink:

Lefungus 07-28-2003 12:03 PM

version 0.25:
- even more speed (something like 1-2 fps)
- default parameters (threshold=2, nsteps=3, chroma=true, method=1)

VagueDenoiser 0.25 dll

VagueDenoiser 0.25 sources

Anyone has played with parameters ? I'm curious to hear what were your results. It's slow but useable now ( i think)

kwag 07-28-2003 03:54 PM

Quote:

Originally Posted by Lefungus
version 0.25:
- even more speed (something like 1-2 fps)

That's ~8 % increase right there, and that is good news ;)
Quote:

Anyone has played with parameters ? I'm curious to hear what were your results. It's slow but useable now ( i think)
I will, as soon as CQMatic gives me a break :lol:
I'll give it a try later today, when I finish a couple of batch encodes in queue.

Thanks Lefungus :cool:
-kwag

ak47 07-28-2003 04:22 PM

Wow very nice Lefungus. I got a question though when are you going to add 3Dnow optimization since I am an AMD fan (like are you planning it on the next release).


Keep the good work up.

Lefungus 07-29-2003 10:21 AM

If any 3dnow optimization is going to be added, it's from Kurosu (at doom9). As i have a pentium4 and i use intel compiler, there's no way i can test these improvements :/

ak47 07-29-2003 01:55 PM

Ok, I just thought you were going to add it when you said this
Quote:

3Dnow optimisations from Kurosu aren't included yet, I’ll try to include it later.
I didn't know you didn't have an athlon processor.

Well good luck on future releases.

kwag 07-30-2003 04:36 PM

Ok, I just tested VagueDenoiser version 0.25.
Here are the results on a selected range clip (same for all tests):

Code:

VagueDenoiser filter        No Filter at all          Motion Adaptive Script
Size 11,999KB                  12,285KB                11,596KB
Encoding Time 7:42            2:52                    4:31

Here are the stacked screenshots:

http://www.digitalfaq.com/archives/i.../2003/07/3.jpg

Not much difference, but as you can see, there is a good space savings with VagueDenoiser, and details are well preserved.
Me just need more speed :cool:

Here's the script used, and then I commented the VagueDenoiser line for the "No Filters" sample:
Code:

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\vaguedenoiser.dll") 


Mpeg2Source("K:\DVDVolume\VIDEO_TS\boon.d2v")
VagueDenoiser(threshold=0.8,method=1,nsteps=6,chroma= true)
BicubicResize(528, 272, 0, 0.6, 5, 108, 710, 274)
AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)
Limiter()

Nice work Lefungus :)
-kwag

audioslave 07-30-2003 04:48 PM

Interesting... How do I implement VagueDenoiser in the MA script? That should give us even more compression, right? Kwag, I assume that your test (and picture) with VagueDenoiser wasn't with the MA script, or have I got it all wrong?

jorel 07-30-2003 04:51 PM

yes Kwag,really cool result!
:)


@ audioslave
nice question!
:wink:


@ Lefungus
congrats!
great work.
8)


All times are GMT -5. The time now is 11:52 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.