How to find the dimension of lines after detecting the 2 lines using Line Detection Hough Transform

3 views (last 30 days)
Hi, i need some help in finding the dimension of lines. After i detect two lines using Hough Transform, i wanna do further processing, for example calculating the lines is parallel or not. So, first, i need the dimension of the two lines, can anyone help me. Thank you

Answers (2)

Adi
Adi on 2 Aug 2012
What do you exactly mean by dimensions? Length? Slope?

gargoyle
gargoyle on 2 Aug 2012
Do you mean you want the pixel indices? i.e. addresses of the lines in the image which you can then use to determine other parameters?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!