Performs kernel-based convolution over image.
image
For a given kernel, returns an array of offsets. These consist of a cell offset (eg {x:-1,y:-1}) and the value at that kernel position.
{x:-1,y:-1}
Multiply every element of kernel by the same scalar value. Returns new result, input is unmodified
scalar
Performs kernel-based convolution over
image
.