You need to enable JavaScript to run this app.Convolution - GammaCV
GammaCV Logo
DocsExamplesGitHub

Convolution

Description

Doing convlolution between a kernel and an image, see wiki.

Params
tSrcTensorThe source image to be convolved.
tKernelTensorKernel body, tensor with shape [n, m, 4],
where alpha component of each pixel is kernel cell value.
factor?numbera scaling quantity that is multiplied by the result
bias?numberis added on after the factor has been accounted for
Example
gm.conv2d(inputImage, gm.kernels.boxBlur());