VideoHelp Forum

+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. What could be the best way to sharpen this?
    Of course face is the target.
    Thanks.
    Image Attached Files
    Quote Quote  
  2. Banned
    Join Date
    Jan 2021
    Location
    PAL
    Search Comp PM
    Originally Posted by taigi View Post
    What could be the best way to sharpen this?
    Of course face is the target.
    Thanks.
    Sharpen(0.2)
    Quote Quote  
  3. Code:
    # sharpening using DetailSharpen
    clip = G41Fun.DetailSharpen(clip=clip, sstr=5.000, power=100.000)
    also looks fine:

    I also tried how it would look like when using BSRGAN (had to div the width&height by 4 to be able to apply it without running out of memory).


    Cu Selur
    Last edited by Selur; 24th Jul 2021 at 15:06.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  4. Looks great.
    Any other solution?
    (BTW, I sharpened one still with Gimps unsharp mask,
    result was OK, need to say).
    Because DetailSharpen creates those small bubbles
    BSRGAN reveals what Topaz is made of.
    Last edited by taigi; 25th Jul 2021 at 06:40.
    Quote Quote  
  5. Banned
    Join Date
    Jan 2021
    Location
    PAL
    Search Comp PM
    BSRGAN is so sharp
    Quote Quote  
  6. Originally Posted by pm-s View Post
    BSRGAN is so sharp
    Plasticy too.
    Quote Quote  
  7. Plasticy too.
    To be fair some of the pastic effect in BSGRAN probably comes from me having to downscale by a factor of 4 to run it.

    Any other solution?
    LimitedSharpenFaster and SeeSaw should also work fine, you probably just have to use high strength values since due to the image resolution.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  8. Banned
    Join Date
    Jan 2021
    Location
    PAL
    Search Comp PM
    Ok how do I install BSRGAN
    Last edited by pm-s; 25th Jul 2021 at 10:44.
    Quote Quote  
  9. Ok how do I install BSRGAN
    Depends on how you want to use it.
    https://forum.selur.net/thread-1858.html describes how I use it through VSGAN.
    But you could also use it directly, see: https://github.com/cszn/BSRGAN
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  10. Banned
    Join Date
    Jan 2021
    Location
    PAL
    Search Comp PM
    Thank you Selur
    Quote Quote  
  11. A simple fft3dfilter and unsharpmask creates halos but doesn't look too bad.

    Code:
    function UnSharpMask(clip v, float radius, float strength)
    {
      blurry = v.BinomialBlur(VarY=radius, VarC=radius, Y=3, U=3, V=3) # or GaussianBlur
      edges = Subtract(v, blurry).ColorYUV(off_y=2).ColorYUV(cont_y=(int(strength*radius*256.0)-256.0))
      Overlay(v, edges.ColorYUV(off_y=-128), mode="Add")
      Overlay(last, edges.Invert().ColorYUV(off_y=-128), mode="Subtract")
      ColorYUV(off_u=-1, off_v=-1) #overlay is causing U and V to increase by 1
    }
    
    LWLibavVideoSource("howToSharpenThis.mp4", cache=false, prefer_hw=2) 
    ConvertBits(8)
    ConvertToYV12()
    fft3dFilter(sigma=4.0, plane=4, bt=3)
    UnsharpMask(4.0, 0.7)
    Image Attached Files
    Quote Quote  
  12. thanks, @jagabo
    Quote Quote  
  13. "mcdegrainsharp(clip=clip, bblur=0.22, csharp=1.00, opencl=True)"
    also works:


    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  14. You are welcome to try them, most of them will give some improvement assuming their strength is just set high enough.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads