blur

Blur a float32 matrix

To blur an image in a Jitter matrix, one cheap and easy way is to downsample the image, then re-upsample it with interpolation. Another common method, though a little more computationally expensive, is to use convolution, effectively replacing each pixel with a weighted combination of its surrounding pixels.This example shows how to blur a float32 matrix using jit.convolve.