Hover over the question mark in the top right to see instructions.
This project processes images using a kernel (a square grid, 3x3 in this project). For each pixel in the original image, the kernel is centered on the pixel, and a new pixel value is calculated by taking the sum of itself and adjacent pixel values multiplied by their corresponding value on the kernel (pixel value refers to the brightness of a pixel). With the right kernel, certain visual effects can be achieved. Below are some kernels that achieve interesting visual effects. Outline (default): -1 -1 -1 -1 8 -1 -1 -1 -1 Sharpen: 0 -1 0 -1 5 -1 0 -1 0 Emboss: -2 -1 0 -1 1 1 0 1 2 Blur: 0.0625 0.125 0.0625 0.125 0.25 0.125 0.0625 0.125 0.0625