Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
30th June 2015, 22:31 | #1 | Link |
Registered User
Join Date: Jan 2015
Posts: 47
|
Warping for vapoursynth (AWarpSharp2)
I'm suggesting we should port AWarpSharp2 from Avisynth to VapourSynth.
Because it's an irreplaceable component for quite some scripts and repairing chroma bleeding. With porting AWarpSharp2, I'm mostly looking at the 2 functions called aWarp and aWarp4(because it makes for a more reliable warping kernel especially when using it as a sharpener or line thinner), since the function aWarpSharp2 is essentially just aWarp(mask=aSobel().aBlur()), making it redundant as well as aSobel and aBlur since VapourSynth already has those. |
1st July 2015, 07:51 | #2 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
|
|
1st July 2015, 15:03 | #3 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
aWarpSharp2 is great but maybe it's time for an alternative: Image sharpening by grid warping
There's also the original WarpSharp (it's not as good as aWarpSharp2 but it's something), someone even converted it to intrinsics so maybe it's easier to port to VapourSynth. |
2nd July 2015, 09:51 | #4 | Link |
Registered User
Join Date: Aug 2012
Posts: 203
|
I took a peek at the paper linked by Reel.Deel.
It seems a simple to implement algorithm [if i were able to read paper i'd already start writing some code], also we can use any edge detection filter post the sharpening, that's cool. @feisty: this is the sobel filter and it seems pretty trivial to convert, once i took a look at the real warpening function and to me seemed incomprehensible |
2nd July 2015, 11:22 | #5 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Some older articles, not sure if it'll help.I believe that's what WarpSharp is based off of. ------- I quickly tried out the demo program with a blurry picture and it did a decent job; seems promising. |
|
Tags |
awarpsharp2, chroma bleeding, line thinner, sharpener, vapoursynth |
|
|