Spatial filtering Flashcards

1
Q

The kernel is a spacial filter

A

True
Local operations are defined based on a
filter/kernel.
The kernel defines–A neighborhood
A weight associated with eachpixel involved in the computation.
Local operations are performed in the spatial domain of the image
The kernel is AKA spatial filter

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

convolution and correlation are equal

A

True
In the CV context, convolution and correlation are often used as synonyms– Usually, correlation is evaluated
* But it is called convolution!
* Filters are usually symmetric– Convolution and correlation are equal

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

In convolution filter
the filter weights cannot change the image brightness if the sum of the weights is <1

A

False
The filter weights can change the image
brightness
* Brightness is unchanged if: the sum of weights of i = 1. where i belongs to I.

  • This is obtained by a normalization factor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

which of the following are non spatial filters
1)average
2)derivative
3)min
4)single pixel operatiors

A

which of the following are non spatial filters
1)average
2)derivative
3)min
4)single pixel operators

A: all are spatial filters

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

Consider the following statements about averaging filter

-The size of the filter can be
increased
-Larger filters: stronger smoothing

A

Consider the following statements about averaging filter

-The size of the filter can be
increased
-Larger filters: stronger smoothing

both are True

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

averaging filters are non separable

2d convolution is possible in both vertical and horizontal manner

2d convolution filter doesn’t have to be a square

A

averaging filters are non separable- False

2d convolution is possible in both vertical and horizontal manner - true

2d convolution filter doesn’t have to be a square - true

A square filter of size 𝑛 × 𝑛 may be separated
in– A filter of size 𝑛 × 1– A filter of size 1 × 𝑛
* Separable filters: 𝑤
𝑥, 𝑦 →𝑤𝑥
𝑦– Can be applied on rows, then columns (or vv)– O(MN(a+b)) instead of O(MNab) – faster

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

separating the averaging filter makes it faster

A

True

A square filter of size 𝑛 × 𝑛 may be separated
in– A filter of size 𝑛 × 1– A filter of size 1 × 𝑛
* Separable filters: 𝑤
𝑥, 𝑦 →𝑤𝑥
𝑦– Can be applied on rows, then columns (or vv)– O(MN(a+b)) instead of O(MNab) – faste

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

Consider following statements about the first order derivative

  1. Is zero in flat segments
  2. Is zero on the onset of a step/ramp
  3. Is zero along ramps
A
  1. Is zero in flat segments - true
  2. Is zero on the onset of a step/ramp-false
  3. Is zero along ramps-true
  4. Is zero in flat segments
  5. Is non-zero on the onset of a step/ramp
  6. Is non-zero along ramps
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Consider following statements about the second order derivative

1.Is zero in flat segments
2. Is non-zero on the onset and at the end
of a step/ramp
3. Is non - zero along ramps of constant slope

A

1.Is zero in flat segments -true
2. Is non-zero on the onset and at the end - true
of a step/ramp
3. Is non - zero along ramps of constant slope - false

  1. Is zero in flat segments
  2. Is non-zero on the onset and at the end
    of a step/ramp
  3. Is zero along ramps of constant slope
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Consider following statements about the first order derivative

-they all have a scalar output
-they are all non linear
- they are non isotropic

A

Consider following statements about the first order derivative

there are 3 operators: gradient, gradient module, approx grad module

-they all have a scalar output - false: gradient has a 2d vector output
-they are all non linear- false - only gradient is linear
- they are non isotropic - false . only gradient module is non isotropic non ideally.

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

The sum of elements in roberts and sobel is 0

A

The sum of elements in roberts and sobel is 0
true

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

Sobel gradient can be used to get the boundary of a transparent lens

A

Sobel gradient can be used to get the boundary of a transparent lens
True

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

1)Laplacian is a second order derivative
2)Laplacian is always subtracted
3)Laplacian is used for sharpening
4) it can enhance transitions in an image

A

1)Laplacian is a second order derivative :true
2)Laplacian is always subtracted : false;
Laplacian is subtracted if the center weight is negative
3)Laplacian is used for sharpening : true
4) it can enhance transitions in an image: true

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

Linear filters suppress components

A

Linear filters suppress components:False

Non-linear filters can suppress components– Ex: a median filter can remove a spike (a single element that is strongly different from the others)– In our context: an element is a pixel

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

A corrupted image may be restored using
a)averaging filter
b)sobel filter
c) non linear filters
d) derivative filters

A

A corrupted image may be restored using
a)averaging filter: true: is a convolution filter used for restoring and smoothening
b)sobel filter: false: sobel and roberts are first order derivatives; they sharpen the image; they are also convolutional filters. therefore linear.
c) non linear filters: true: min,max,median
d) derivative filters : false:it sharpens the image.

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

Max filter: highlights pepper noise, removes salt noise
* Minfilter: highlights pepper noise, removes salt noise

A

Max filter: highlights pepper noise, removes salt noise - False
* Minfilter: highlights pepper noise, removes salt noise - True

Max filter: highlights salt noise, removes pepper noise
* Minfilter: highlights pepper noise, removes salt noise

17
Q
A