Hough Transforms Flashcards

1
Q

How do we convert the equation

y = mx +c

into a straight line equation in

Hough Parameter Space?

A

c = -xm +y

This gives us a straight line equation for the parameters c and m.

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

How do we find the line that goes through the most number of points?

A

Figure out the hough line for each point.

Select the parameters at the point where the most lines cross.

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

How are hough transforms done programmatically?

A

Create a large 2d table for the m and c values.

For each line, increment the entry in the table if the line passes through that point.

Threshold on the entries, to figure out what counts as a line

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

Why is it problematic to use Cartesian co-ordinates with hough lines?

A

When our line is vertical. m will be infinity.

Instead we use polar co-ordinates

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

Given a point (X,Y),

how would we get the lines that go through this point in polar co-ordinates?

A

r = Xcos(theta) + Ysin(theta)

where r and theta are the parameters we vary to get the different lines

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