Log in

View Full Version : Xsharpen


digitize
20th February 2003, 22:41
Some of the guys down at the xvid dev chan and myself have noticed that xsharpen for avs 2.5 gives bad results. mf provided examples here: http://mf.onthanet.nl/supersampled_xsharpen/xsharpencrap.png
Xsharpen was used while supersampling, and gave jagged lines, someone said it may be related to mmx'ing it. Perhaps a dev could give a hand, thank you in advance.

mf
20th February 2003, 22:58
Please note that the input of the compared images aren't 100% the same, I had some predefined processing scripts so I simply used those, but that doesn't affect the problem illustrated. Just don't say stuff like "the first vdub image is softer than the bottom, the vdub has less noise, the bottom vdub looks sharper", cause that's caused by surrounding filters. If you really insist I can make some screenshots of the xsharpen alone for a truly objective comparison but I was too lazy for that when I wanted to point out the problem on IRC.

s/pixels/filters/
stupid me.

Guest
20th February 2003, 23:16
I wrote the original XSharpen (for VirtualDub). I never made any Avisynth version. But if you can point me to the source for it I will have a look.

mf
20th February 2003, 23:35
Originally posted by neuron2
I wrote the original XSharpen (for VirtualDub). I never made any Avisynth version. But if you can point me to the source for it I will have a look.

Sure. http://cultact-server.novi.dk/kpo/avisynth/warpsharp_yv12.zip
It's warpsharp and xsharpen in one filter, MMX'ed, original code from ffdshow.

Somehow I have the idea it's the speed optimization that's causing these artifacts.

digitize
20th February 2003, 23:40
@neuron2
I found it on the avs 2.5 page (http://cultact-server.novi.dk/kpo/avisynth/avisynth_alpha.html) Im guessing someone like sh0dan ported it over, the file for it is on that page also.
Edit: errr, i got caught up while posting this and mf replied during that time, sorry for the repeat.

digitize
21st February 2003, 18:49
Any devel have an idea what it could be?

Dark-Cracker
21st February 2003, 19:04
hi,

have u try the latest warpsharp.dll it seems to me it work with yv12 colorspace and there is an xsharpen function in this .dll file.

seen on the www.avisynth.org it seems to me there is the download url.

Bye.

digitize
21st February 2003, 20:04
@Dark-cracker
The link for the warpsharp filter on avisynth.org goes to the same page where we got this version of this filter...

Wilbert
24th February 2003, 11:34
Dark-Cracker means this version:

http://www.avisynth.org/index.php?page=Section+3%3A+Filters+and+colorspaces#MiscellaneousPlugins2

item 8. But since there's no help file, good luck in finding out how to use it!

digitize
24th February 2003, 14:38
@Wilbert
Thank you for pointing that out, I'll try to take a look at it today and see if I can figure it out.

Edit: Wilbert, actually there is documentation: http://forum.doom9.org/showthread.php?s=&threadid=34076 that is the thread with the link, the zip file contains english documentation, filters such as warpsharp & xsharpen seem to be the same as previous versions.

Wilbert
24th February 2003, 15:05
I remember again :) Although I would like to see a description of all filters in that package.

digitize
24th February 2003, 21:22
errrrm, this is for avs 2.07, I use avs2.5b now ~_~, perhaps someone can convert it over to 2.5.

theReal
23rd March 2003, 21:54
Any news on this?

I'm using xsharpen for avisynth 2.5 quite often and find it's ok if you don't use it with not too much filter strength. However if it could be better regarding the jagged lines (that I also get when using it with stronger settings) it'd be great.

Zarxrax
24th March 2003, 00:41
Is there anyway that supersampling could be built into this filter, and provide speed enhancements?

digitize
24th March 2003, 03:13
neuron2 (original author of the vdub filter) is still out of town I believe, perhaps when he gets back he can help solve the problem with avs 2.5b xsharpen, as well as adding an option like zarxrax suggested.

seewen
24th March 2003, 03:38
Originally posted by digitize
errrrm, this is for avs 2.07, I use avs2.5b now ~_~, perhaps someone can convert it over to 2.5.

The new version is for 2.5 : http://www.geocities.co.jp/SiliconValley-PaloAlto/2382/

The helpfile is on the thread you pointed to before.

But personally I've got problem with AutoLoading of this plugin. I have to put it in a separate folder and use "loadPlugin()".

mf
24th March 2003, 23:28
Originally posted by seewen
The new version is for 2.5 : http://www.geocities.co.jp/SiliconValley-PaloAlto/2382/

The helpfile is on the thread you pointed to before.

But personally I've got problem with AutoLoading of this plugin. I have to put it in a separate folder and use "loadPlugin()".
Thanks a lot, you're the best :) (and the person who ported the code as well, if that isn't you). Works great, at more than double (4 times maybe even? Will check later) the speed of the Virtualdub version (AVS version: 5fps).

digitize
25th March 2003, 03:14
Im with mf on this one, you're my new hero.. thank you seewen ^^

seewen
25th March 2003, 05:16
lol. I didn't do anything. The link was already on www.avisynth.org ( Point N°9 of "MISC" section, under "last version can be found.." ;) : http://www.avisynth.org/index.php?page=Section+3%3A+Filters+and+colorspaces#q3.4 ).


bye

mf
25th March 2003, 13:55
Originally posted by seewen
lol. I didn't do anything.
You posted :p.