Matrix Convolution Algorithms
Matrix Convolution permit to create custom filters. The mechanism of Matrix Convolution is very simple: you have to get a block of pixels from your input image and multiply it with your custom matrix for matrix convolution. The result represent new value of color for the central pixel of your block.
An example can help to understand:
Image (Channel R) | Matrix | New Image (Channel R) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
| = |
|
