Convolution explained

1D convolution

input = [] , filter=[] output=[]

For example:

input =[1111111] and filter=[0.25,0.5,0.25], hence output=[1111111]

2D Convolution operation as a mtarix multiplication

input = [] , filter=[] output=[]

Convolution consists in blending 2 functions together.

The example below shows the convolution of a step function and a Gaussian function.

Each point in a convolve signal () has signal:

It is the integral of a point wise multiplication between all elements in the signal and all elements in the signal shifted by .

2D Convolution: step by step

We will convolve those 2 signals: and .

is the function that we shift. Typically, we shift the shortest or simplest signal. We will maintain and shift .