• 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 7th August 2019, 14:23   #1  |  Link
    RipBot264 author
     
    Atak_Snajpera's Avatar
     
    Join Date: May 2006
    Location: Poland
    Posts: 6,963
    AMD's Contrast Adaptive Sharpening as filter for AviSynth?

    Do we have a filter for AviSynth which works in similar way?
    If not would it be hard to port this to AviSynth?

    Some sources for ReShade
    https://gist.github.com/SLSNe/bbaf2d...55df581b3cf00c

    https://pastebin.com/iUmDXTVP

    Without CAS


    With CAS

    Last edited by Atak_Snajpera; 7th August 2019 at 14:28.
    Atak_Snajpera is offline   Reply With Quote
    Old 7th August 2019, 16:51   #2  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 776
    [deleted]

    Last edited by videoh; 7th August 2019 at 20:09.
    videoh is offline   Reply With Quote
    Old 7th August 2019, 17:49   #3  |  Link
    Registered User
     
    Join Date: Jan 2012
    Location: Mesopotamia
    Posts: 1,268
    Quote:
    Originally Posted by videoh View Post
    Here is a link to a description of the algorithm:

    https://gpuopen.com/wp-content/uploa...ityFX-CAS.pptx

    Looks interesting. It's sort of a "limited sharpen" type algorithm. I'll try making an Avisynth/Vapoursynth version supporting CUDA and CPU.
    is it hard to make opencl support?
    __________________
    My Avisynth Stuff
    real.finder is offline   Reply With Quote
    Old 7th August 2019, 18:21   #4  |  Link
    RipBot264 author
     
    Atak_Snajpera's Avatar
     
    Join Date: May 2006
    Location: Poland
    Posts: 6,963
    Quote:
    Originally Posted by real.finder View Post
    is it hard to make opencl support?
    VideoH is not an OpenCL guy. He always prefers closed standards made by nVidia.
    Atak_Snajpera is offline   Reply With Quote
    Old 7th August 2019, 20:10   #5  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 776
    Would have considered it favorably but Atak wants to be superior and answer for me. So, go for it Atak, the algorithm is surely simple enough for you, no need to beg others. Well within the capabilities of the great Ripbot author!

    Last edited by videoh; 7th August 2019 at 20:24.
    videoh is offline   Reply With Quote
    Old 7th August 2019, 20:36   #6  |  Link
    RipBot264 author
     
    Atak_Snajpera's Avatar
     
    Join Date: May 2006
    Location: Poland
    Posts: 6,963
    Quote:
    Originally Posted by videoh View Post
    Would have considered it favorably but Atak wants to be superior and answer for me. So, go for it Atak, the algorithm is surely simple enough for you, no need to beg others. Well within the capabilities of the great Ripbot author!
    Unfortunately day has only 24hours for me...
    Atak_Snajpera is offline   Reply With Quote
    Old 7th August 2019, 21:25   #7  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 776
    A simple 3x3 spatial filter. Why should it take more than a few hours? And you have 365 days in a year just like the rest of us.
    videoh is offline   Reply With Quote
    Old 7th August 2019, 23:07   #8  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 7,012
    It makes the ripples on the water look well weird.
    __________________
    I sometimes post sober.
    [email protected] ::: AND/OR ::: [email protected]

    "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
    StainlessS is offline   Reply With Quote
    Old 7th August 2019, 23:27   #9  |  Link
    cosmic entity
     
    BetA13's Avatar
     
    Join Date: May 2011
    Location: outside the Box
    Posts: 194
    jup, looks way too stronk
    kinda looks like an oil paint filter on top of it..

    But i think thats because the ReShade version CAS.fx doesnt have a "0" (off) position..
    How do i say? ummmm, when enabled in Reshade and set to "0" (negative isnt possible) its allready enabled and can be too strong for some stuff allready..

    i still use it in some games, its a really nice "Sharpener". i just wish i could go negative a bit, so it can be more subtile..

    anyway, it shoudnt be hard to make an avisynth script out of it..
    Im trying to get this thing converted to HLSL, so i can use it in Movies.. But, as i am a noob, and have to test step by step, its gonna take a loooooooooong time..
    Maybe i get some help at the ReSHade forum..

    cheers

    EDIT:

    some more comparsions of all sharpening filter/shader, CAS, SuperSample, Adapt. sharpen, Lumasharpen, Filmic sharpen, etc.... (not by me)

    https://misie.ga/sharp/

    Last edited by BetA13; 7th August 2019 at 23:38.
    BetA13 is offline   Reply With Quote
    Old 8th August 2019, 02:47   #10  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 776
    Quote:
    Originally Posted by BetA13 View Post
    jup, looks way too stronk
    There is a strength parameter. Possibly they have cranked it high for extra "wow" factor. Anyway, I'm not convinced it is doing anything that much greater than the already available limited sharpeners.
    videoh is offline   Reply With Quote
    Old 11th August 2019, 21:48   #11  |  Link
    Registered User
     
    Join Date: Apr 2002
    Location: Germany
    Posts: 5,394
    FineSharp should be somewhat close to what we see here.
    Also, consider some clutch-up like this.

    The herolds of past Avisynth times have done it all, long time before. Dig the chronicles.
    __________________
    - We磖e at the beginning of the end of mankind磗 childhood -

    My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
    Did閑 is offline   Reply With Quote
    Old 11th August 2019, 22:10   #12  |  Link
    Registered User
     
    Join Date: Feb 2002
    Location: California
    Posts: 2,179
    Did閑,

    It is great to hear from you again, after all these years. I learned more from the amazingly clever code you posted in your 5,000+ posts than you can possibly imagine.

    I hope you are doing well.
    johnmeyer is offline   Reply With Quote
    Old 11th August 2019, 23:27   #13  |  Link
    Noob
     
    Join Date: Mar 2017
    Posts: 186
    Did閑

    thanks for everything. learned a lot from you.
    Natty is offline   Reply With Quote
    Old 14th August 2019, 13:55   #14  |  Link
    Registered User
     
    Join Date: Jul 2003
    Location: India
    Posts: 733
    In the first o=post of this thread, the example images given differ in width by 1. Is this intended?
    __________________
    mohan
    my plugins are now hosted here
    vcmohan is offline   Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 13:26.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 极速时时彩4个号公式 江苏时时结果 北京pk计划方法论坛 5分pk拾计划软件免费 河北11选5任五遗漏查询 彩泳坛夺金开奖结果 pk10冷热走势图 半全场技巧 三胆必出公式 极速时时接口 20选5群英会走势图百度 山东时时开奖视频 那个网站赌博注册送彩金呢 天津十一选五开奖 20选5好选号好方法 秒速赛结果