SACMODEL_LINE, how to draw/extend the line ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SACMODEL_LINE, how to draw/extend the line ?

intoxica
This post was updated on .
Using RANSAC for line fitting, I want to get all the lines and find
rectangles. But we get x,y,z,x_dir,y_dir,z_dir using SACMODEL_LINE, how do I
get the complete line-segement/line equation so I can find intersection? And how to draw a line on the pcl visualizer for verification purposes.
points.
Thank you.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
PCL-users@pointclouds.org / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: SACMODEL_LINE, how to draw/extend the line ?

guivi01
Hi, 

With a point and direction you can find the equation of the line. Have a look at this:

Good luck.

On 19 Dec 2017 8:10 pm, "intoxica" <[hidden email]> wrote:
Using RANSAC for line fitting, I want to get all the lines and find
rectangles. But we get x,y,z,x_dir,y_dir,z_dir using SACMODEL_LINE, how do I
get the complete line-segement/line equation so I can find intersection
points.
Thank you.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users