Draw fitted line (OpenCV)

Posted by Sunny on Stack Overflow See other posts from Stack Overflow or by Sunny
Published on 2010-05-01T17:23:02Z Indexed on 2010/05/01 17:27 UTC
Read the original article Hit count: 531

Filed under:
|
|

I'm using OpenCV to fit a line from a set of points using cvFitLine()

cvFitLine() returns a normalized vector that is co-linear to the line and a point on the line. See details here

Using this information how can I get the equation of a line so that I can draw the line?

© Stack Overflow or respective owner

Related posts about opencv

Related posts about math