This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

"Blur" filters in Hybrid
#11
Hello Selur,

   It worked!, also changing the bit depth as following

clip = kfg.conditional_resize(clip.fmtc.bitdepth(bits=16), width=1280, height=688, thr=0.00015)

   works.

Thanks,
Dan

Hello Selur,

  looking at the implementation, the function in effect is doing what it said, it is just a "conditionl resize" and inside the funtion the kernel used to perform the comparison are already given and are quite simple. I think that the idea is not so bad, but should be improved.
  I think that it would be better to provide in input the image already resized (the "oversharpened" obtained for example with "realesr") and the image downsampled (using a simpler resizer). But to be useful should be necessary to implement what is missing in TODO: implement blending zone in which both clips are merged to avoid abrupt and visible kernel changes.
   The merge could be implemented by using the VapourSynth's AverageFrames function, but as implemented currently is not useful and not necessary in Hybrid.

Thanks,
Dan
Reply


Messages In This Thread
"Blur" filters in Hybrid - by Dan64 - 31.12.2022, 11:24
RE: "Blur" filters in Hybrid - by Selur - 31.12.2022, 11:36
RE: "Blur" filters in Hybrid - by Dan64 - 31.12.2022, 12:39
RE: "Blur" filters in Hybrid - by Selur - 31.12.2022, 12:51
RE: "Blur" filters in Hybrid - by Dan64 - 31.12.2022, 15:54
RE: "Blur" filters in Hybrid - by Selur - 01.01.2023, 12:12
RE: "Blur" filters in Hybrid - by Dan64 - 01.01.2023, 17:58
RE: "Blur" filters in Hybrid - by Selur - 01.01.2023, 18:19
RE: "Blur" filters in Hybrid - by Dan64 - 01.01.2023, 18:32
RE: "Blur" filters in Hybrid - by Selur - 01.01.2023, 18:38
RE: "Blur" filters in Hybrid - by Dan64 - 01.01.2023, 18:45
RE: "Blur" filters in Hybrid - by Dan64 - 01.01.2023, 22:51
RE: "Blur" filters in Hybrid - by Dan64 - 14.01.2023, 01:18
RE: "Blur" filters in Hybrid - by Selur - 14.01.2023, 08:55
RE: "Blur" filters in Hybrid - by Dan64 - 14.01.2023, 11:58
RE: "Blur" filters in Hybrid - by Selur - 14.01.2023, 12:17
RE: "Blur" filters in Hybrid - by Dan64 - 15.01.2023, 12:24
RE: "Blur" filters in Hybrid - by Selur - 15.01.2023, 14:16
RE: "Blur" filters in Hybrid - by Selur - 15.01.2023, 16:56
RE: "Blur" filters in Hybrid - by Dan64 - 15.01.2023, 18:18
RE: "Blur" filters in Hybrid - by Selur - 15.01.2023, 18:37
RE: "Blur" filters in Hybrid - by Dan64 - 17.01.2023, 22:40
RE: "Blur" filters in Hybrid - by Selur - 17.01.2023, 22:59
RE: "Blur" filters in Hybrid - by Dan64 - 17.01.2023, 23:16
RE: "Blur" filters in Hybrid - by Dan64 - 18.01.2023, 01:05
RE: "Blur" filters in Hybrid - by Selur - 18.01.2023, 05:32
RE: "Blur" filters in Hybrid - by Selur - 18.01.2023, 18:58
RE: "Blur" filters in Hybrid - by Dan64 - 18.01.2023, 19:51
RE: "Blur" filters in Hybrid - by Selur - 18.01.2023, 20:20
RE: "Blur" filters in Hybrid - by Dan64 - 19.01.2023, 22:14
RE: "Blur" filters in Hybrid - by Selur - 21.01.2023, 15:35
RE: "Blur" filters in Hybrid - by Dan64 - 22.01.2023, 11:19

Forum Jump:


Users browsing this thread: 2 Guest(s)