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)

vhelp 07-04-2003 05:13 PM

.
.
VagueDenoiser...
I think that this filter might actually be better suited for VHS captures..
only because the "chizels" remind me of VHS encodes. I could be wrong,
but only way to know for sure is to try it out on VHS capture, and I'm not
at that point just yet. Maybe later or so.

EDIT:
Yes, either that (the "chizel" effect) or it has a bad color-space conversion,
because I do notice a slight difference in color output.

-vhelp

kwag 07-04-2003 05:20 PM

Quote:

Originally Posted by phibertron
my systems page file kept growing and growing and growing...
it got up to like 4Gigs and my system ran out of memory

You are 100% correct :!: The gremlins are everywhere :D
I just had to stop an encode, and when I looked at the memory usage inTMPEG, it was almost 500MB 8O
It probably has to do with memory allocation/release every time the filter switches on and off. So I guess it's another one of those filters we can't use dynamically :?
So it goes back right after the GripSize again :!:

-kwag

MrTibs 07-05-2003 12:34 AM

@kwag

Why not try the ne filter on the script challenge? That is worse than a VHS capture, perhaps it would do wonders.

kwag 07-05-2003 12:56 AM

Quote:

Originally Posted by MrTibs
@kwag

Why not try the ne filter on the script challenge? That is worse than a VHS capture, perhaps it would do wonders.

Yep, I'll try that in the morning :)

-kwag

jorel 07-05-2003 05:07 PM

i don't test it at the moment,more hints and results are welcome.

new VagueDenoiser:
http://forum.doom9.org/showthread.php?s=&threadid=56871

:wink:

kwag 07-05-2003 05:09 PM

Quote:

Originally Posted by MrTibs
@kwag

Why not try the ne filter on the script challenge?

Done ;)

-kwag

ovg64 07-05-2003 06:31 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by MrTibs
@kwag

Why not try the ne filter on the script challenge?

Done ;)

-kwag

So whats the result :?: :roll:

kwag 07-05-2003 08:37 PM

Quote:

Originally Posted by ovg64
So whats the result :?: :roll:

Look at my post here: http://www.kvcd.net/forum/viewtopic.php?t=4333&start=16

-kwag

Wilbert 07-06-2003 08:26 AM

Personally, I think that your older example was better. Because it was moe detailed ...

kwag 07-06-2003 10:26 AM

It's probably result of the wavelet noise filter. I just threw that in there to see how it would look, as it was requested here. I't s really a SLOWWWW filter, but I think that with correct parameters, it can do an awesome job. But then, we need CPUMuscle to encode with that filter :)
Hopefully it will be further optimized :!:

-kwag

ak47 07-06-2003 06:51 PM

Here is my opinion, I have compared PixieDust vs. VagueDenoiser filters. I had both filters added to the optimal script, but nothing else so there identical but Pixie of course has to convert to YuY2 then to YV12 after the filter. Well I encoded a 53 second TV capture clip with resolution of 640x480 put into 544x480 (yes I know that is a lot for a standard coaxial cable service (non-digital)). But the results were amazing PixieDust was only 4.74 MB and VagueDenoiser was 5.89 MB and the picture quality look almost the same, but I am no expert (like kwag). Also to not they were about the same time to encode, but PixieDust was a little faster. I think someone should test those 2 filters because I need a second opinion.

kwag 07-06-2003 07:46 PM

Hi ak47,

How about FaeryDust() or even GoldDust(), which are the strongest of the Dust series :?:

-kwag

ovg64 07-06-2003 09:48 PM

Well if anybody cares VagueDenoiser is up to version 0.2 8O , this is probably the most updated filter this days :mrgreen: to bad that my Puter don't like rar files. :roll:

kwag 07-06-2003 09:55 PM

Quote:

Originally Posted by ovg64
Well if anybody cares VagueDenoiser is up to version 0.2 8O , this is probably the most updated filter this days :mrgreen: to bad that my Puter don't like rar files. :roll:

http://www.rarlab.com/ ;)

ak47 07-06-2003 09:56 PM

Here are the results its TV capture anime that captured at 640x480 and i encode it with gop of 18 with gop of 18. This clip is 1:21.

Code:

## DLL Section ##
#
LoadPlugin("C:\encoding\mpeg2dec3.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\decomb.dll")
LoadPlugin("C:\encoding\STMedianFilter.dll")
LoadPlugin("C:\encoding\unfilter.dll")
LoadPlugin("C:\encoding\gripfit.dll")
LoadPlugin("C:\encoding\asharp.dll")
LoadPlugin("C:\encoding\undot.dll")
LoadPlugin("C:\encoding\Dgbob.dll")
LoadPlugin("C:\encoding\LoadPluginEx.dll")
LoadPlugin("C:\encoding\DustV5.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf =  0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("I:\winfast\KensinT1P1.d2v") 
#
Telecide(Post=false)
Decimate(Cycle=5)
#VagueDenoiser(2,1)
dgbob(order=1,single=true)
undot()
Limiter()
asharp(1, 4)
GripCrop( width=544, height=480, overscan = 2)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
#were I put my dust filters
#ConvertToYuY2
#Dust()
#ConvertToYV12
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \
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) ")

#
#
#

GripBorders()
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}

#
####

Here are the results. PixieDust 6:24 7.29MB, FaeryDust 5:44 7.48MB, GoldDust 5:57 7.12MB, VagueDenoiser 10:36 8.63MB. I didn't look at the quality difference since I don't have much time but i can email you the samples if you want to compare.

kwag 07-06-2003 10:07 PM

The filter is SOOOOO SLOOOOWWWWW it hurts :!:
I'll put Vague in a wine barrel, and let it ripe just like a bottle of wine :!:
Maybe in a year or so it will be useable. Right now, the Dust series does just as good. I'm done with Vague until I see a speed increase and a quality superiority over the current script and filter chain :cool:

-kwag

ak47 07-06-2003 11:16 PM

"Another one can't bite the dust."

Sorry I had to do it; it was a rearrange quote from Queen.

kwag 07-06-2003 11:20 PM

You mean "Another one bites the dust" :mrgreen:

-kwag

ak47 07-06-2003 11:25 PM

Ya but since dust won I had put in can't in it (that what I meant when I said "rearrange"). Yes I know added is a better word then rearrange, but you get the point.

kwag 07-07-2003 12:05 AM

Got you now :mrgreen:


All times are GMT -5. The time now is 01:07 PM  —  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.