digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   SansGrip Filters: New filter in the works... (http://www.digitalfaq.com/archives/avisynth/2326-sansgrip-filters-filter.html)

SansGrip 01-24-2003 07:50 PM

New filter in the works...
 
Here's a sample (from Signs) of a new filter I'm developing. This filter's raison d'etre is to increase compressibility, not reduce noise, so it should be used in conjunction with a denoiser.

Here's the script:

Code:

LoadPlugin("Debug\Edge.dll")
Mpeg2Source("G:\signs\signs.d2v")
Crop(96, 16, 528, 256)
Telecide()
Decimate()
FaeryDust()
smoothed = Edge().Subtitle("Filtered")
Subtitle("Unfiltered")
StackVertical(last, smoothed)
Levels(0, 1.5, 255, 16, 255)
ConvertToRGB()

And here's the image:

http://www.digitalfaq.com/archives/error.gif

You might want to save the image to a file and zoom in with your favourite viewer. You should notice that low-detail areas such as the wall behind Mel Gibson are significantly smoother (which means significantly more compressible) than with FaeryDust alone, while his face and other important parts of the frame remain really quite detailed.

It'll be a while before this one is ready to go out the door, but I thought I'd share some preliminary results with you ;).

hedix 01-24-2003 08:26 PM

Hello SansGrip,

Yesterday I made a post about something like this in the spanish forum

I knew a filter for virtualdub called Smart Smoother HQ ( a very special spatial smoother)

The avisynth version:

http://cultact-server.novi.dk/kpo/av...th_hiq_as.html

The filter looks like this:
SmoothHiQ(Diameter, Luma Threshold, Chroma threshold, Amount, Maintain Difference).
The recommended settings
SmoothHiQ(7, 20, 25, 200, 5)

I was very impressed with this cleaning MPEG artifacts and blocks, so I thing it could be a great choice for low quality sources (old divx...).

By the way, it's long slower than your great filters.

Do you think it could be useful ?

Best Regards.

SansGrip 01-24-2003 08:40 PM

Quote:

Originally Posted by hedix
I was very impressed with this cleaning MPEG artifacts and blocks, so I thing it could be a great choice for low quality sources (old divx...).

It's probably quite similar as far as smoothing goes (I imagine Smoother HiQ also detects edges to prevent excessive softening), but Edge will also sharpen details as well as smooth flat areas. The sharpening was quite light in the image I posted above, but -- to my eye, anyway -- it definitely makes a difference to sharpen slightly if you smooth away details.

Oh, and another difference is that Edge will be written in MMX-optimized assembler, so it should be fairly fast :).

kwag 01-24-2003 08:57 PM

I can feel that we're going to have another "Encoding Party" very soon :wink:

SansGrip 01-24-2003 08:59 PM

"Very soon" might be a little optimistic ;).


All times are GMT -5. The time now is 09:35 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.