Convolution matrix

from Wikipedia, the free encyclopedia

Faltungsmatrizen (including core , filter core , filter operator , filter mask or convolution kernel called english convolution kernel ) will be in digital image processing for the filter used. It is mostly about square matrices of odd dimensions in different sizes. Many image processing operations can be represented as a linear system using discrete convolution , a linear operation. For discrete two-dimensional functions (digital images) the following calculation formula results for the discrete convolution:

here is the result pixel, is the image to which the filter is applied, is the coordinate of the center point in the square convolution matrix, and is an element of the convolution matrix. In order to be able to clearly define the center point, uneven dimensions of the folding matrices are necessary.

For 3 × 3 convolution matrices, and . For 5 × 5 convolution matrices, and .

Examples

  • Smoothing filter, mean value filter ( soft focus )
  • Sharpening filter
  • Edge filter, Laplace
  • Relief filter

Convolution theorem

With the help of the convolution theorem , the effort to compute a discrete convolution can be reduced from the complexity class to .

literature

  • Gary Bradski, Adrian Kaehler: Learning OpenCV: Computer Vision with the OpenCV Library . O'Reilly Media, ISBN 978-0596516130 .

See also