0
788views
The threshold image segment has resulted into following edge point. Find eq. of the line that passes through max number of points using Hough Transform. (1, 0), (2, 1), (4, 3), (2, 0)
1 Answer
0
2views

The equation of straight line is y = ax + b

Changing co-ordinates, we get

b = -ax + y

x y
1 0 b = -a
2 1 b = 1-2a
4 3 b = -4a + 3
2 0 b = -2a

Plot the above obtained eq. of line on the graph paper and then find a point through which maximum number of lines pass.

enter image description here

From the graph, we observe that 3 lines intersect a common point i.e. a = 1 & b = -1.

By using these values of a and b we can write another eq. of line in xy-plane i.e. y = x – 1

Hence, three lines intersecting at one point in ab-plane means there are three points on one line in xy-plane.

Line passes through three points out of four given points.

enter image description here

Please log in to add an answer.