News for hackers. Stuff that matters.
Re:GIMP Convolution Matrix by userbinator on Saturday March 17, 2018 @10:06PM (#16610130)
One thing that would help the comprehension of this document greatly is to mention that it's simply a "weighted average".
Re:GIMP Convolution Matrix by oehpr on Saturday March 17, 2018 @11:06PM (#16610300)
I don't think it is a weighted average. I believe you have to divide at some point for averaging to be going on. Convolutions just add up the neighborhood based on the kernel, and output their sum.
Re:GIMP Convolution Matrix by userbinator on Sunday March 18, 2018 @12:27AM (#16610453)
It still gets across most of the point of how it works.

As for dividing, that's what the Divisor option is for. To quote the article:

"The result of previous calculation will be divided by this divisor. You will hardly use 1, which lets result unchanged, and 9 or 25 according to matrix size, which gives the average of pixel values."