Nonlinear Filtering Flashcards

1
Q

What is salt and pepper noise, and how it is produced?

A

Salt and pepper noise is a type of noise that leaves little ‘flakes’ all over the image, looks like pepper and salt has been sprinkled on top of the image
Caused by sensors either failing to respond, or saturating in error
False saturation gives a white spot, whereas a failed response gives a black spot

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

What is the median filter, and how does it work?

A

Takes a small window of pixels
Then, gets the median value i.e. the middle of the pixels, and sets each pixel to the median value in the local window.
Noise pixels are considered outliers, and noise would have to affect > 1/2 the pixels to appear in the output.

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

What is the advantage of using median filtering, and what is a disadvantage?

A

Good given small regions of speckle noise
Less good if edges are important

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

What is diffusion, and what filters can be seen as diffusion processes?

A

Diffusion is spreading out
Gaussian and mean filters can be seen as diffusion processes

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

What is anisotropic diffusion and how does it work?

A

Anisotropic - not the same in all directions
Basic idea - Make each pixel more like those neighbours that it is already similar to

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

What does the similarity function mean in anisotropic diffusion?

A

s(p,q) - has values in the range between 0 to 1
If the pixels p and q are similar, then s(p,q) is close to 1
If the pixels p and q are different, then s(p,q) is close to 0
You use s(p,q) to compute a weighted average of pixel values - the new value at a pixel, p, is based on all its neighbours, q
The smoothing function needs to be found.
If d is the difference between p and q, and D is the maximum possible difference we can use, then:
(D-d)/D

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

What does a higher value of K do within anisotropic filtering?

A

A higher value of K gives greater smoothing, but edges are still quite sharp

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

What happens when you repeatedly apply an anisotropic filter?

A

It gives greater smoothing, but starts to lose edges quite rapidly with higher iterations.

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

What does an anisotropic filter become when its similarity function is equal to 1?

A

It devolves into a mean filter

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

What is bilateral filtering, and how does it work?

A

Bilateral filters modify Gaussian smoothing in a similar way:
One Gaussian weights pixels that are near the source
Another Gaussian weights pixels that have similar intensity to the source pixel

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

What is Bilateral filtering made up of?

A

A normalisation factor
Space weight
Range weight

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

What is different between Gaussian filtering and Bilateral filtering?

A

Bilateral filtering has a different kernel shape depending on the image context, whereas Gaussian has the same kernel everywhere.

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

What is a binary image?

A

A binary image is up of pixels that are either equal to 0 or 1, no other values

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

What is thresholding and how does it work?

A

Choose a threshold value (T)
Consider each pixel in turn:
If the brightness at a pixel is less than T, that pixel is an object (i.e. 1)
Otherwise, it is part of the background (i.e. 0)

In summary, thresholding is used to highlight objects or areas of interest, whilst removing all other noise. Meant to bring out the parts of the image you want, whilst ignoring the rest of it.

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

What happens when the threshold value is either too high or too low?

A

If it is too high, background pixels will be classified as foreground objects
If it is too low, then object pixels will be considered background

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

What are adaptive thresholds?

A

Automatic methods choose a threshold based on image properties, and as such, a histogram is commonly used.

17
Q

What is Otsu Thresholding?

A

Assumes histograms are bimodal - two regions can be separated by one threshold
This method is used to find the threshold which minimises a weighted sum of the variations of the two regions that threshold produces.
Weights are the areas of the histogram assigned to each region.
This is small when the two regions are both physically small and have low deviations

18
Q

How is the Otsu threshold calculated?

A

Consider all possible threshold values (0-255)
Compute the weighted sum
Pick t with the smallest value

19
Q

What is the Unimodal thresholding method?

A

Finds the peak of a unimodal histogram (i.e. only one peak)
Draws a line from there to the top of the furthest bin
Finds the top of the bin that is furthest from this line, that bin value is the threshold.

20
Q

What are local adaptive threshold methods?

A

Assumptions about histograms may be true for local areas of the image
Divide image into subregions, apply a threshold selection method independently to each