Image Kernel Convolutions (Filters/Masks) Visually Explained

preview_player
Показать описание

Summary:
- Iterate through every pixel
- select values from making a grid of the same size of the image kernel center around the pixel of interest
- multiply corresponding values with image kernel weight, add those values, the output value usually (0-255) or black to white in grayscale operations is now that value of the corresponding pixel (pixel of interest/center of grid)
- for edges you can duplicate the image or ignore

Рекомендации по теме
Комментарии
Автор

Hello, I have an 11×11 image having in its center a 5×5 square, the image it's noiseless and I don't know how to compute the gradient of the image function given by the compass operator for this image. If I remember correctly, I should use a derivative, but I don't know exactly what and how can I use it. Can you please help me?

MrRobi
welcome to shbcf.ru