Spatial Filtering Flashcards

1
Q

What is image processing?

A

Image processing is a technique of applying a relevant mathematical operation or an algorithm on a digitized image to generate an enhanced image or extract features.

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

What are the different types of image processing?

A
  • Image enhancement (Eg brightness reduction)
  • Image Restoration
  • Colour image processing (Green screens)
  • Morphological operations
  • Image segmentation
  • Object detection
  • Image blurring
  • Edge detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of spatial filtering?

Soothing, removal,

A
  • Image smoothing
  • Noise removal
  • Image sharpening
  • Edge detection
  • Inpainting
  • Pre-processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the steps for spatial filtering?

A
  • Define filter
  • Identify the image neighbourhood
  • Multiply each pixel value in the neighbourhood with the corresponding weight in the filter mask and sum the result.
  • Shift one pixel to the right and repeat step 3.
  • Repeat until done
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why in spatial filtering does the weight have to sum to 1?

A

To preserve the overall brightness

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

Why in spatial filtering does the weight have to sum to 1?

A

To preserve the overall brightness

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

What happens in spatial filtering if the weight is above 1?

A

The image will be brighter

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

For the averaging filter, what does a larger mask mean?

A

More blurring

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

What is the purpose of the unsharp mask?

A
  • The idea is to improve the sharpness of the edges.
  • The name is from the fact that the process involves blurring the original image.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What filter does the unsharp mask use?

A

Averaging filter

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

What is J?

A

Output image

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

What is I?

A

Original image

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

How do you determine J in terms of the unsharp mask?

A

J = I + A x [I - Iblur]
A = scaling factor

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

What are examples of linear spatial filters?

A
  • Larger average filter (smoothing filter)
  • Vertical difference (horizontal edge detection)
  • Horizontal difference (vertical edge detection)
  • Horizontal and vertical edge detection
  • Diagonal difference filter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a median filter?

A
  • Similar to linear filtering but instead of calculating a weighted sum of the pixels within each neighbourhood, the output pixel value is determined as the neighbourhood median.
  • Very effective at removing a certain type of image noise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does the non-local means filter work?

A
  • Works by finding a small region of an image and other similar patches on the image which lies in the proximity of the patch in question and averages them together.
  • Assuming the noise is random in its location.
17
Q

What does the non-local mean filter fix?

A
  • Helps to reduce or suppress the noise
  • Adding more patches together reduces the noise further.
  • Removes speckles
  • Not at the expense of reducing the sharpness of the image.
  • Preserve the edges