A filter, or kernel, can be represented by a grid or matrix containing numbers in each cell calculated by a function that will create the desired filter effect.
(Page 4)