Category "lowpass-filter"

Low pass filter with apply function - Help to solve

I have a question.how can I write the code. I want to create an image interface. The class filter should apply a low-pass filter to a given image and should be

Why do edge detection filters sum to 0 whereas blur filters sum to 1?

I am now learning about filters in computer vision. I can see that the elements of the kernel for edge detection sum to 0, whereas for blurring sum to 1. I am w