Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results format #13

Open
XilSLAM opened this issue Jul 17, 2020 · 1 comment
Open

Results format #13

XilSLAM opened this issue Jul 17, 2020 · 1 comment

Comments

@XilSLAM
Copy link

XilSLAM commented Jul 17, 2020

Hi,

I'm trying to use your algorithm to extract 3D line segments from my monocular dataset but I don't understand the format you used in your .obj segments files. (v x y z and l a b for example in line_segments_clustered_incr.obj)
As it looks like a point cloud format, when I try to open it with meshlab it just shows me a point cloud and no segments...

Do you know how I could print the segments instead of the points in meshlab and how to read the v x y z/l a b information not as point coordinates but as segments information ?

Thanks.

@shidahe
Copy link
Owner

shidahe commented Aug 6, 2020

Hi,

Thanks for trying it out.

In the .obj file, each point is defined by its 3D coordinate (x, y, z). The points are indexed by their order. Then each line segment is therefore defined by the indices of two points (a, b).

I was using MeshLab to read the .obj file, so MeshLab should be able to show the line segment in this format. There are some viewing options I have to select (some buttons to click) in the top tool bar of Meshlab, in order to let it show the line segments properly. Sorry it's been a lone time so I forget what exactly those options are, but it should be easy to figure it out by trying out different display configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants