Two new filter made by a reddit person

Here they are:

I slightly modified the original code:

  • to make it shorter and cleaner.
  • to deal with multiple input layers if required.
2 Likes