How to detect only horizontal line exact parallel to one reference horizontal line in the same image?
Mostra commenti meno recenti
matlab code for detecting only horizontal lines exact parallel to one reference horizontal line in the same image?
2 Commenti
Preethi
il 14 Ott 2016
hi,
If you have the co-ordinates of the reference line then 1. you can calculate the distance between the points.
2. keep y co-ordinate constant increase x xo-ordinate(which will be the next pixel) and again calculate distance. this distance should be same the distance calculated at starting point. make sure that the value is non-zero before calculating.
3. keep continuing for all rows
Deshbhushan Patil
il 18 Ott 2016
Risposte (2)
Swarooph
il 14 Ott 2016
0 voti
You can use hough transform to detect lines. Once lines are detected, you can use properties such as theta on the houghlines structure to filter your lines compared to a reference line.
1 Commento
Deshbhushan Patil
il 18 Ott 2016
Deshbhushan Patil
il 22 Nov 2016
0 voti
Categorie
Scopri di più su Hough Transform in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!