0
2.1kviews
Given set of points use Hough transform to joint these points. A (3,4), B (0,-4), C (1,4), D (6,12), E (4,1), F(1.5, 0), G(-2, 2), H(-1,-3), I(3,-2)
1 Answer
0
13views

Line equation can be given as, $$y = ax +b$$ which can be expressed as, $$b = - ax + y$$

Points(x,y) b = - ax + y Line slope points (a,b)
A (3, 4) b = - 3a + 4 (1.33, 4)
B (0, - 4) b = -4 (0, 4)
C (1, 4) b = - a + 4 (4, 4)
D (6, 12) b = -6a + 12 (2, 12)
E (4, 1) b = -4a + 1 (0.25, 1)
F(1.5, 0) b = - 1.5a + 2 (1.33, 2)
G( - 2, 2) b = 2a + 2 ( - 1, 2)
H(- 1, - 3) b = a – 3 (3, - 3)
I( 3, - 2) b = - 3a – 2 ( - 2, - 0.667)

Plotting line slope points, refer Graph 1

enter image description here

From the graph, it is clear that a maximum pf three-line pass through point

(2.667, - 4). i.e. a = 2.667, b = - 4

Putting a and b values in line equation,

$$y = ax +b \\ y = 2.667x - 4$$

i.e. x = 1.5 and y = - 4

Therefore, final plot can be plotted as,

enter image description here

Please log in to add an answer.