Quantcast Avisynth: Filter to Clean up a Noisy Source with MA Script? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
10-13-2003, 03:46 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
i would also recommend Unfilter, on the website it shows sample pictures of terminator 2 with unfilter, so you can check that out.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
10-13-2003, 04:55 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Grateful for all help but what I really need is a filter for removing noise. As I said before, I've tried Deen and now also eDeen but none of them where any good on my noisy DVD source. Is there any other filter I could try for cleaning up my source?
__________________
AudioSlave
Reply With Quote
  #23  
10-13-2003, 07:10 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
VagueDenoiser or Wavelet Noise Reducer have very good results, except those take a long time.

Try the new Mipsmooth, its in the avisynth forum if you want.

If you're running AVS2.0, pixiedust is good.
Reply With Quote
  #24  
10-24-2003, 01:18 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Hey guys. I tried out some of the tips here and found that Deen() worked best as a replacement for stmedianfilter. My DVD source is from the Alias TV series, and certain scenes appear grainy/pixelated/noisy (I dont' know how to define it!). But here are some screen caps to show you:

original 720x480 screen cap from DVD


704x480 KDVD, no filtering, encoded with CCE @ Q 30


704x480 KDVD, original MA script


704x480 KDVD, MA script with Deen()


So as you can see, my source is grainy to begin with, and then encoding at Q 30 introduces some more artifacting. It's hard to tell from the screen caps but the artifacting looks really ugly when the original MA script (without Deen) is applied. The artifacts dance around and really stick out at you. Deen helps to smooth it all out, but again I don't think you can see that well from these caps. Deen has the added benefit of really compressing this noisy sample. Encoding is slowed down a bit, but not as much as VagueDenoiser would.

I tried fooling around with the first two values in Stmedianfilter but wasn't able to achieve the desired effect. Any suggestions?
Reply With Quote
  #25  
10-24-2003, 03:04 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Nice

But it seems you used a small jpeg compression quality to obtain small files to post in here, by this its not easy to see an objective result cause of added jpeg artefacts

Could you change the pics by the same ones but less compressed therefore less artefacts?

I tried also a lot by just changing the Stmedian Line to Deen().
But you have to set the Deen() to spatial settings if you follow Kwags recommendations. For example Deen("a2d",2,12,15).
Well also try to set deen() optimal for the video stream individually.
I'm still not happy by using Deen(xxxx) in MA cause the last two days I was armed with some MA spatial mods to attack bad DVD Sources like my "Black Rain" Sample in the "How Funny" Thread. I also Tried VagueDenoiser using diff. settings. We'll see ...
Reply With Quote
  #26  
10-24-2003, 09:35 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo

I tried fooling around with the first two values in Stmedianfilter but wasn't able to achieve the desired effect. Any suggestions?
STMedianFilter(3, 3, 1, 1 )
Let me know how it compares, instead of deen.

-kwag
Reply With Quote
  #27  
10-24-2003, 09:39 AM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Deen is a very good spatial filter, i have been using it since the begining we started using Avs 2.5, i wonder Y it took you guys so long to find out about it BTW you can also use it as a smoother just can not remember setting since Im not in my PC.
Reply With Quote
  #28  
10-24-2003, 09:41 AM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Hey Karl what are you doing sneaking in front of me
Reply With Quote
  #29  
10-24-2003, 10:18 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Be careful "Deen()" set to default like this is not spatial-only!
If you want spatial only choose "a2d" method!
Example: Deen("a2d",2,10,12)
This is mentioned in Deen's Readme doc.
Reply With Quote
  #30  
10-24-2003, 11:14 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Wow, okay so this is a tough choice for me. There wasn't a big difference between Deen() and Deen("a2d",2,10,12) in my test clips. They both did a good job of smoothing out and blending the grainy footage. However upon closer inspection I realized that the grain is in both the background AND the foreground, so both versions of Deen lose detail in the foreground images. On the other hand, STMedianFilter(3, 3, 1, 1 ) did a good job of cleaning up the background, making the artifacts not dance around as much as with the original StMedianFilter(8,.24,0,0). The other deciding factor is encoding time and amount of compression. Here are my results for a 2:30 min clip:

Deen()
encoding time = 4:07 min, size = 43,509 kb

Deen("a2d",2,10,12)
encoding time = 4:16 min, size = 43,130 kb

STMedianFilter(3, 3, 1, 1 )
encoding time = 3:18 min, size = 48,010 kb

StMedianFilter(8, 24, 0, 0)
encoding time = 3:29 min, size = 48,156 kb

On my mediocre 20" TV, Deen() actually looks fine to me but I'm sure I'd notice the difference in detail on my parents 47" widescreen HDTV. So my choice might be STMedianFilter(3, 3, 1, 1 ) in the end. However since Deen() does a better job at compressing maybe I can lower the Q factor in CCE (n.b. inverse relationship from CQ in tmpgenc) to compensate.

Any thoughts?

P.S. I've recompressed my jpegs from above to be higher quality. Still not sure if you can tell a difference or not...
Reply With Quote
  #31  
10-24-2003, 01:07 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo
On the other hand, STMedianFilter(3, 3, 1, 1 ) did a good job of cleaning up the background, making the artifacts not dance around as much as with the original StMedianFilter(8,.24,0,0).
I know
That's why I gave you those values
I just haven't updated the optimal script, but those are the new values for the script.
A smaller radius for spatial filtering, and the minimal value for temporal.
STMedianFilter(3, 3, 1, 1 )
Does wonders on background noise, without speed penalties.

-kwag
Reply With Quote
  #32  
10-24-2003, 01:08 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by ovg64
Hey Karl what are you doing sneaking in front of me
Long time no see ovg
Welcome back

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Good filter to clean up old cartoons? audioslave Avisynth Scripting 8 11-04-2003 12:21 PM
Simple script for very noisy source? rendalunit Video Encoding and Conversion 23 11-01-2003 05:58 PM
SansGrip Filters: Clean the source CaLaFaT Avisynth Scripting 2 07-03-2003 07:45 AM
Avisynth: Filter Use, encoding without filters if the source is clean? Yoda Avisynth Scripting 3 04-21-2003 06:33 PM
Avisynth: Excellent script for noisy VHS caps in EP mode? rendalunit Avisynth Scripting 2 01-20-2003 06:27 PM

Thread Tools



 
All times are GMT -5. The time now is 09:53 PM  —  vBulletin Jelsoft Enterprises Ltd