Image Convolution: smoothing
marble =
double[] k=
{0.1,0.1,0.2,0.2,0.2,0.1,0.1};
Note sum of
coefficients =1
marble.convolve(k)=