How to use this functun : CvSeq* cvHoughLines2() with opencv ?? [closed]

asked 2014-05-16 04:06:29 -0600

abir gravatar image

updated 2014-05-16 05:05:58 -0600

Hi,

Hough_Lines_Tutorial_Theory_2.jpg C:\fakepath\41fig03.jpg I want to get the theta of the max point of intersection between Houghlines! you find two pictures attached with the representation of houghlines. Personally I want to find the angle of intersection of max lines!!

please help me thank you

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-26 17:09:25.500320

Comments

Don't use it. It is old and depricated C - API. Use the function HoughLines of the C++ API instead! An example on how to use the function can be found here

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-16 04:28:52 -0600 )edit

yes :) actually I used this code but I do not know how I can do to return the values ​​of theta !!!

abir gravatar imageabir ( 2014-05-16 04:35:11 -0600 )edit

But theta is the angle resolution, this one single value. I am guessing you want the angles of all the lines returned?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-16 04:41:56 -0600 )edit

Take a look here, it shows how you can retrieve the angle of each line segment

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-16 04:44:49 -0600 )edit

I want to get the theta of the max point of intersection between lines !!

abir gravatar imageabir ( 2014-05-16 04:50:07 -0600 )edit

People cannot guess everything if you do not provide more information. Please upgrade your question to something decent ...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-16 04:52:42 -0600 )edit