0
2.3kviews
How is line detected in an image?
1 Answer
0
77views

Detection of lines can be done using the masks shown below.

In an image, lines can be in any direction and detecting these lines would need different masks.

enter image description here

All these masks have a sum equal to zero, and hence all of them are high pass masks.

The first mask would respond strongly to lines that are oriented horizontally.

The second mask would respond to lines at an angle of +45°, the third mask would respond strongly to vertical lines and the last mask would respond strongly to lines at an angle of - 45°.

enter image description here

Figure 18

Please log in to add an answer.