For each pixel, this pixel emphasizes the pixel's value compared to its neighbors. It emphasizes it by multiplying it by a factor greater than 1, and then by adding -1 * its neighbors, it is finding what differentiates it from its neighbors and adding that result to 5 times itself.
For each pixel, this pixel emphasizes the pixel's value compared to its neighbors. It emphasizes it by multiplying it by a factor greater than 1, and then by adding -1 * its neighbors, it is finding what differentiates it from its neighbors and adding that result to 5 times itself.