View Full Version : WarpSharp
WarpEnterprises
19th August 2002, 15:16
I'm using DG's version of WarpSharp for cartoon sharpening with impressive results.
Now, I'm interested how this filter does it's work, because what's mentioned is quite short ("Sharpens images by warping pixels toward edges").
Can anyone explain?
vlad59
19th August 2002, 15:21
I've tried to read (that wasn't too difficult) and understand (that was hard ;) ) and I've never understood anything.
So thanks in advance Donald ;)
kyousuke
20th August 2002, 00:50
...from the great open source tool : GIMP.
Avery lee explain how it works on his website (vdub's website).
Donald made after a second version, optimised for avs.
for technical information, read the source code :p
neuron2
20th August 2002, 02:12
I did not make the WarpSharp VirtualDub filter. Avery Lee did. I merely modified it to be importable into Avisynth.
Blight
20th August 2002, 02:23
Now if it could only be ported to YUV! ;)
kyousuke
20th August 2002, 02:28
donald > Avery Lee did, i know ^^
i use your version into avs, thks you ^^
do you make a new version in the future or wait avery's new version ?
1000 thks for your new decomb :) :) :)
avih
20th August 2002, 09:33
i did implement warp-sharp some time ago (xvid postprocessing) with avree's help. it's a genious filter (i also got a pdf explaining it, don't know if i still have it). what it does is morph the image such that it 'condense' the areas of luminance transitions. this way the transition area becomes thinner, and hence sharper. but it doesn't introduce noise in the process, since it's not convolution, it just 'rearrange' the [sub]pixels such that the edges are shrinked -> sharpened.
pretty amazing imho ;)
vlad59
20th August 2002, 10:16
Hi avih
Is there an exiting C implementation of Warpsharp ??
If you can find the holy pdf explaining it, I'll be happy to have it :D :D :D
avih
20th August 2002, 11:48
Originally posted by vlad59
Hi avih
Is there an exiting C implementation of Warpsharp ??
If you can find the holy pdf explaining it, I'll be happy to have it :D :D :D
there WAS one, but i lost it with a HD crash few months ago. it did have nice results but was very slow. much slower than avree's implementation. it was for yuv, and only worked on the luma plane. i think milan is working on such implementation for his ffdshow.
i'll try to search for the pdf.. i hope i have it on one of my backup cd's ;)
avih
20th August 2002, 12:21
http://www.cs.technion.ac.il/~gotsman/AmendedPubl/EnhancementByImage/EnhancementByI-D.pdf
simpler:
http://www.home.unix-ag.org/simon/gimp/warp-sharp.html
Marc FD
20th August 2002, 13:01
@vlad
are you going to code warpsharp YUV ? :D
if you need a hand, lemme know ;)
vlad59
20th August 2002, 13:42
@avih
Thanks for the links, I hope I'll understand ;) ;)
@MarcFD
Don't know of I'll code it, I was just curious about the algo.
And I'm sure I got no time to do it in the next 2 weeks.
If milan add it in ffdshow (in YUV2) it'll be easy to port it in avisynth. I'll check that with milan.
avih
20th August 2002, 19:38
FYI, the paper describes a method, or a general algorithm. when you'll start to implement that, you'll see that u have to use lot's of assumptions, and play around with different methods. WHEN you start doing that i can send you my email transcripts with avree for his help with this issue.
good luck ;)
Shayne
21st August 2002, 04:52
I to think warp sharpen and dynamic noise reduction, both in moderation are invaluable for cleaning up noisy captures. It would be great to see these implemented into avisynth
ARDA
21st August 2002, 09:25
There is a Dnr version in yuy2 for avisynth here http://members.tripod.co.jp/kiraru2002/
2dclener version also for avisynth in yuy2 (more exactly in yuy with a yuv yuy2 conversion algo)
and a ColorYUY2 interesting tweak tool.
Milan has already included xsharpen and unmask sharpen in ffdshow cvs a long time ago;
(based on Donald's filters)if I'm not wrong they should be converted to yuy2,(they are yuv for direct show filter).
Welcome back neuron2. I hadn't had the opportunity before. Happy to have you again with us.
Thanks all Arda
neuron2
21st August 2002, 09:39
@ARDA
Thank you for the kind sentiments. I am happy to be back among the great people that congregate here.
One new option you have for cleaning up clips, especially anime, is to apply my new Msmooth filter, followed by a sharpening filter of choice. The great detail-preserving feature of Msmooth together with its high smoothing in non-detail areas allows one to apply quite aggressive sharpening filters afterwards without amplifying noise.
http://shelob.mordor.net/dgraft/msmooth10b2.zip
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.