Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image convoluion
#6
I found the solution, which increased the time from 7 seconds to 30, but the results are correct.
All that needs to be done is to add clipping, but not after the output image is calculated, the clipping needs to be added to the lines 18, 31, 32 and 33 after the sum() function.
I repeat, it increases the computational time like hell, but it works.
Thanks to everybody for trying to help me! Heart
Reply


Messages In This Thread
Image convoluion - by HuntahSVK - Dec-03-2019, 11:08 AM
RE: Image convoluion - by Webchefz - Dec-03-2019, 12:09 PM
RE: Image convoluion - by HuntahSVK - Dec-03-2019, 12:34 PM
RE: Image convoluion - by jefsummers - Dec-03-2019, 05:59 PM
RE: Image convoluion - by HuntahSVK - Dec-04-2019, 08:27 AM
RE: Image convoluion - by HuntahSVK - Dec-04-2019, 09:28 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020