Edge Detection Flashcards

1
Q

How might we detect vertical edges?

A

I’(x,y) = abs( I(x,y) - I(x+1,y) )

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

How might we detect horizontal edges?

A

I’(x,y) = abs( I(x,y) - I(x,y+1) )

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

How might we combine vertical and horizontal edge detection?

A

I’(x,y) = I_h(x,y) V I_v(x,y)

If a pixel is activated in either the horizontal or vertical image, activate that pixel in the output image.

OR

Take the city-block distance, so add the intensity’s in the horizontal and vertical edge detection.

OR

Use euclidean distance on the gradients

We can then threshold on these values, so that we only see strong gradients

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

What is the gradient of a pixel [ x1, y1]?

A

[ x2 - x1 ,
y2 - y1 ]

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

What is the difference between the Roberts and Prewitt edge detectors?

A

Prewitt’s is more resistant to noise

It locates the edge at the center pixel, whereas Roberts locates it between the pixels

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

Why does the Prewitt edge detector reduce noise?

[-1, -1, -1]
[0, 0, 0]
[-1,-1,-1]

A

This kernel is seperable into these two kernels:

[1,1,1]
and

[-1,0,1] .Transposed()

The [-1,0,1] does the actual edge detection, whereas the [1,1,1] kernel averages out the pixels thus reducing the noise?

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

How many unique directions can the canny edge detector classify a gradient as?

A

4

Horizontal,
Vertical,
and the two diagonals

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

What is non-maxima suppression?

A

This is when we try to thin out edges in a image

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

What are the steps involved in canny edge detection?

A
  1. Smooth the input
  2. Compute the gradient magnitude and direction images
  3. Apply non-maxima suppression to the magnitude image
  4. Use double thresholding and connectivity analysis to detect and link edges
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why is only one edge filter involved in Laplacian edge detection?

A

1 Kernel

Unlike Sobel and Prewitt, which both must use 2 kernels to detect edges (one for each direction, horizontal and vertical),

Laplacian can find edges in both directions using only one kernel

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