gaussian-convolution-kernel
v1.0.0
Published
calculate square matrix - gaussian blur convolution kernel
Downloads
63
Readme
generate gaussian kernel matrix
var generateGaussianKernel = require('gaussian-convolution-kernel');
var sigma = 2;
var kernel = generateGaussianKernel(5, sigma); // returns flat array, 25 elements