Convolutions Flashcards

1
Q

How might we normalise a kernel?

A

By dividing each element in the kernel by the number of elements in the kernel.

For example dividing each element in a 3x3 kernel by 9.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is the convolution operation associative?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When is a kernel separable?

A

A kernel A is separable if there exists kernels B and C, such that

B * C = A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the benefits of using 2 separate kernels, rather than one large kernel?

A

Efficiency Gain

Consider a MxN image:

Given a 3x3 kernel we must perform 9MN calculations when convolving.

However if we split this up into 3x1 and 1x3 kernels, we only perform 23MN operations, 6MN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a box filter?

A

A smoothing or averaging kernel,

where each pixel is set to the average of all of its neighbours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What number do all of the values in our kernel usually add up to?

A

We try to make the values in our kernel add up to 1.

This is so that after performing the convolution, we do not go over the range of 255.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is noise?

A

Noise is the deviation of a value from its expected value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is salt and pepper noise?

A

This is noise where some values are set to the maximum or minimum possible value randomly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you smooth using multiple images?

A

Take multiple images and add them up, because the noise is zero mean, the sum of the noise approaches zero.

We can then take an average giving us a noiseless image.

This process is called image stacking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is adaptive smoothing?

A

It is where we apply smoothing, but only use the smoothed value if it is not too different from the original value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the benefits of a Gaussian filter?

A

It reduces ringing

It also applies weighted smoothing, values further away from the current pixel are less relevant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a good way to remove salt and pepper noise?

A

Using a median filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly