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
#12
Hello Selur,

   I modified the function conditional_resize to try to fix the implementation problems. To do that I wrote the python script kagefuncMOD.py
   In input now there are the files already resized. To simplify the test script, I used 2 external files already resampled, but the idea is that the resize is performed directly in the script by using 2 different methods.
   In the new function conditional_resize_ext the test is simplified (I don't know if it could be improved). I also changed the test condition in order to use the abs() function since the error could be on both the clips (too sharp or too smooth). In the case of "thr=0" the 2 clips are always merged with the weight specified in input (default = 0.5). In the case of weight=0 is returned the "down" clip, vice-versa in the case of weight=1.0 is returned always the "sharp" clip.
   I also attached an archive with the comparison.

   Let me know what do you think and if it is feasible to include this script in Hybrid.
   Feel free to change the script to improve it or to adapt to your needs.

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: 1 Guest(s)