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.
[ Parent
| on HN ]
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."