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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#2 | Link |
|
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,827
|
![]() Is it a new implementation of CAS? Seems very fast but also happily sharpens artifacts
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,827
|
I used higher values sharpen=0.8 / 1.0
I like the sharpness. Even with high values it produces only minimal oversharpening effects. CAS(0.8) ![]() Look at the hair ( Don't use zoom in your Browser. Set it to 100% ) ![]() p.s. I saw on github that you're adding cas to LSFmod. Will test it later.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
|
|
|
#5 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
This looks quite interesting indeed
Would it be possible to have an Avisynth+ version as well?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
#8 | Link | |
|
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,827
|
Quote:
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
|
|
|
|
#9 | Link | |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
Quote:
![]() And also a big thank you to HolyWu for the original version
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#10 | Link |
|
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
you could also make arbitrary filtering contrast adaptive, your own custom sharpening kernels or some other filters, it's basically
Code:
# assume clp is an fp32 clip
clpmax = core.std.Maximum(clp)
clpmin = core.std.Minimum(clp)
contrast = core.std.Expr([clpmax, clpmin], "x y - {eps} +".format(eps=1e-8)) # avoid division by zero
flt = core.xxx.Filter(clp) # some filtering here
adaptive_dif = core.std.Expr([flt, clp, contrast], "x y - z / {strength} *".format(strength=0.05))
clp = core.std.MergeDiff(clp, adaptive_dif)
EDIT: this one is closer to the original algorithm, its still not the exact same tho. Code:
# assume clp is an fp32 clip
clpmax = core.std.Maximum(clp)
clpmin = core.std.Minimum(clp)
maxneg = core.std.Expr(clpmax, "1 x -")
clpmin = core.std.Expr([clpmin, maxneg], "x y min")
contrast = core.std.Expr([clpmin, clpmax], "x y / 0 max 1 min sqrt")
flt = core.xxx.Filter(clp) # some filtering here
adaptive_dif = core.std.Expr([flt, clp, contrast], "x y - z * {strength} *".format(strength=4.0))
clp = core.std.MergeDiff(clp, adaptive_dif)
Last edited by feisty2; 5th August 2020 at 16:15. |
|
|
|
|
#12 | Link |
|
Registered User
Join Date: Jan 2009
Posts: 10
|
Can anyone share the binary for Avisynth 2.6 32bit? I prefer 32bit versions (with XP 32bit support) if possible. I searched the web but only found a binary for Vapoursynth (which I've not used before).
If not possible, how do I create a binary? What developent platform was this created on? I'm a developer but mainly Delphi and Lazarus. It looks like MS Visual Studio. How would I begin? |
|
|
|
|
#13 | Link |
|
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,827
|
I don't know about xp support but here is an avisynth version https://github.com/Asd-g/AviSynth-CA...ases/tag/1.0.1
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
|
|
|
#14 | Link |
|
Registered User
Join Date: Jan 2009
Posts: 10
|
Thank you! I installed the 32bit version from the link you posted. It tests good in XP SP3 32bit, Windows7 Pro SP1 64bit, and Windows 10 Pro 64bit. I'm using Avisynth 2.6 32 bit.
I'm checking if CAS can reduce or eliminate the Warpsharping on a video I'm working on. |
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|