Finding a line in a point cloud segment_plane perpendicular to the z-axis #6632
Unanswered
sdgoldstein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a point cloud which I've segmented into planes using RANSAC by calling open3d.geometry.PointCloud.segment_plane(). From that, for a given plane, I have:
Problem: Find the endpoints of a line segment that
I know that I can find the direction of the line segment by taking the cross product of the plane normal and the Z-axis basis vector:
T = k X N = [0, 0, 1] X [a, b, c]
What I'm not sure how to do, is once I have this vector, T, how do I find the endpoint of the line using the inlier points of the point cloud?
Is there a method in Open3D that, given a vector T in the point cloud, find these end points? If not, what are the algebraic equations/processes to arrive at these two endpoints?
Thank you for the help!
Beta Was this translation helpful? Give feedback.
All reactions