Quantcast Avisynth: a Better Filter than Deen? - digitalFAQ.com Forums [Archives]
  #1  
04-29-2004, 09:06 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
I've found a better filter than deen (which is brilliant on its own)

eDeen.

Code:
eDeen - Spatial monster for avisynth 2.5

Needs : YV12 colorspace, Avsiynth 2.5 & SSE capable cpu (Athlon XP, PIII)

syntax : edeen(r,ty,tuv,ly,luv,hqc)
defs : edeen(7,14,21,2,3,true)

- r :
radius, like always, 7 = (virtual) area of 15x15. max : 20

- ty,tuv :
threshs, like always. the bigger the stronger. max : 255,255

- ly,luv :
lowratios, the stuff who made the power of msoften despite his
monstruous problems. calm big thresholds with big raduis, to 
allow a very powerfull filtering without too much artefacts (max : thr/r)

- hqc : 
High-Quality Chroma filtering.
ahhh, another cool stuff ^^. you can notice it, even with defaults
parameters, especially on anime/cartoon content. 1/3 slower, because
everything is not mmxed, but quality really deserves it.
desactivate if you want speed or if you don't filtre like a beast chroma.

so, this would be the only beta version

Copyright (C) 2003 MarcFD - 19 jan 2003
Oh we can't attach images - I'd give you a demo if I could..

Suffice to say that deen is 9/10, but gives rough area on gradient changes in colour, and some halos on edges (anime). eDeen gives same quality with no halo, and gradients are treated perfectly 9.5/10.

Or do you all know this? Damn it, i'd just onve like to post something you lot don't know....[/IMG]
__________________
|
Meeow!
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
  #2  
04-29-2004, 11:40 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
Yep, ... its not better its more impacting!!
Thats why its called a spatial "monster" ... so do watch out as you can't do that fine tuning like its possible when using just the regular Deen()!

I did many tests on both ... for anmies, means pictures using much plain surfaces and less complex natural details, eDeen() is a very effective one, but on natural movies you will losse very much of details ... check the overplained skins and plain hair structures of actors after using eDeen() and you will understand my preocupations

Uops .. I do see you did your tests on animes ... so you already did figured that out by yourself
Reply With Quote
  #3  
04-29-2004, 12:17 PM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, incredible, I tried edeen on a 'real' movie, and the people turned out like anime paintings ( ) FUNNY!!!!!

While I've got you reading this, can you confirm something for me..

Softening and blending and smoothing a movie will actually cause blocking in the final (s)vcd - the encoder sees the smoothed areas as being the same and then compresses them highly (like jpg artifacts)???

So in a way it's better to have noisy bits; so how do you judge just how much noise to add/leave (too much would also mean a high file size where the encoder treats each little bit of noise as an area to compress) Or am I just talking out of my (_o_) ??

((?? blockbuster ??) - are there any docs for this?)

**Incredible - don't worry mate - i found it here
http://mf.creations.nl/avs/filters/Blockbuster.html
Thanks.
__________________
|
Meeow!
Reply With Quote
  #4  
04-29-2004, 01:42 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
blockbuster ??
the SansGrip site is full working again. see all "read-me" and downloads:
http://www.indeus.com/sansgrip/avisynth/

SansGrip last post( 28-04-2004):
http://www.kvcd.net/forum/viewtopic....ghlight=#76000



Fluffbutt(last post) and ink, i agree with your opinions about eDeen!
Reply With Quote
  #5  
04-29-2004, 02:55 PM
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
I think its not logic to first kill "valuable" details using edeen() and then adding "nonsense" details like noise

You should find a way to combine the regular deen() with other, maybe temporalfilters as a real good approach is the usage of spatio/temporal treating scripts.

Cause with the example above in case of edeen() and Blockbuster() you will end up in an uneasy "people to anime converted" view

Better would be to make noise for example in captures not totally "dead" as by this you keep details and on the other hand the encoder gots still some "living" informations on surfaces which avoids blocks -- which is also the way of blockbuster as its a noise generator.

IF you use Blockbuster ... use it as a veeery fine "spray", that spray (if settet right) would be quantizised off and this quantizing lets the encoder work not different on plain surfaces --- cause where does the encoder quantize brutally?? On surfaces where are not that much details! = Blocks very fast on these surfaces.

So in case of blockbuster do look out for the blockbuster settings in Phils Optimal Script V4 i.E. where he offers a nice setting of blockbuster
Reply With Quote
  #6  
04-30-2004, 12:38 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Has anybody experimented with RemoveDirt? Faster than Deen, compressibility is a bit lower since it's a temporal-only filter but did work wonders on my TV caps.

http://forum.doom9.org/showthread.php?s=&threadid=70856
Reply With Quote
  #7  
04-30-2004, 12:41 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
Here's the author's site: http://www.removedirt.de.tf/

Did you compare it to STMedianFilter

-kwag
Reply With Quote
  #8  
04-30-2004, 02:20 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Actually, no. I've not used STMedianFilter since it seems to be dead slow..I also prefer temporal-only filters since they keep the details a lot better even with higher thresholds.

I also haven't tried different settings for RemoveDirt, the defaults have worked very well. There might be a lot of tweaking to do
Reply With Quote
  #9  
04-30-2004, 02:59 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
Hi Boulder.

I just found a posting at geitz.de where a Guy explains how to get rid of the Peachsmoother phenomenom, mens the moving contours in some cases like Kwag explained a time ago.

Ill search, translate and Quote it today in here, maybe that is also then a nice solution.

According to temporalfiltering I agree with you, only problem is if set too high ... that "static dots on surfaces while movement" no matter which temporal filter used phenomenom appars
Reply With Quote
  #10  
05-21-2004, 04:58 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
@ incredible - Can you post the Blockbuster line that you say 'Phils Optimal Script' includes. I can't seem to find it. I do low bitrate encodes and I find that blockbuster helps with the blocks on flat areas. I want to keep a really simple/fast script what to you think I should use to help get rid of the moskito effect around objects? Undot() at the end? I mostly encode from DVD. To keep my script fast and great quality I would like to do a lanczos/fluxsmooth/blockbuster/undot combo of some sort.
Thanks
Reply With Quote
  #11  
05-21-2004, 05:03 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi

This one is from Phil's V4

Code:
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
Reply With Quote
  #12  
05-21-2004, 07:04 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks. Any comments on the rest of my script?
Reply With Quote
  #13  
05-21-2004, 08:31 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Holomatrix
Thanks. Any comments on the rest of my script?
Which script ?
Reply With Quote
  #14  
05-21-2004, 08:52 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry, just something fast, simple and with good quality:
[AVISYNTH_LanczosResize_Undot_FluxSmooth_Blockbuste r]
0=LANCZOSRESIZE(^TargetWidth,^TargetHeight)
1=undot()
2=FluxSmooth(^H_Value,^V_Value)
3=Blockbuster(method="noise",detail_min=1,detail_m ax=10,variance=0.3,seed=5623)
^H_Value=3
^V_Value=3
Reply With Quote
  #15  
05-21-2004, 09:25 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Holomatrix i was doing too many things at a time ,and in Phil's optimal script there are 2 blockbuster lines here is the other one

Code:
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
You will have to wait for Phil again to tell you which one to use but i would think it would be this one because the other ones is commented out and only used sometimes

Here is the link to all his optimal scripts to help

http://www.kvcd.net/forum/viewtopic.php?t=7223
Reply With Quote
  #16  
05-21-2004, 09:47 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, thanks
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
O que é Deen() maeliseu Conversão e Codificação de Vídeo (Português) 1 07-08-2004 11:45 AM
Avisynth: New version of Deen() Boulder Avisynth Scripting 0 12-07-2003 04:10 AM
Deen vs. Convolution3DYV12 ? Boulder Avisynth Scripting 11 11-08-2003 12:03 PM
Avisynth: ERROR-deen need a YV12 input Wolfi Avisynth Scripting 3 09-21-2003 11:38 PM
Using the new optimal script with deen? bigggt Video Encoding and Conversion 1 09-07-2003 06:17 PM

Thread Tools



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