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

Export pointcloud #266

Closed
Shadetail opened this issue Oct 4, 2018 · 13 comments
Closed

Export pointcloud #266

Shadetail opened this issue Oct 4, 2018 · 13 comments
Labels
do not close issue that should stay open (avoid automatically close because stale) feature request feature request from the community

Comments

@Shadetail
Copy link

My reconstruction looks good in the sparse point cloud preview in the viewport, but reconstructed mesh turns out totally broken. Is there any way to export dense (or even sparse) point cloud?

@fabiencastan
Copy link
Member

Does the depth maps look correct?
You can visualize them by looking at the EXR files in the output of the DepthMapFilter node.

@Shadetail
Copy link
Author

I'm not 100% sure how they should look, here's 3 of them out of 94 (exposure adjusted): https://i.imgur.com/pZarybY.jpg
corresponding photos from PrepareDenseScene folder: https://i.imgur.com/TUMobBg.jpg
the last depth map appears strange I suppose.

@robertguetzkow
Copy link

robertguetzkow commented Oct 9, 2018

The sparse point cloud is saved in ./MeshroomCache/StructureFromMotion/[hash]/cloud_and_poses.abc (or .ply if configured in the SfM node setting named "Inter File Extension"). I believe the dense point cloud is stored in ./MeshroomCache/Meshing/[hash]/denseReconstruction.bin, however I'm not sure if that binary format is anything that another software can read.

@nmenu
Copy link

nmenu commented Nov 1, 2018

I want to emphasis how important this is to be able to export the dense point cloud to a standard point cloud file format.

There are many cases you do not want to work with the mesh but with a dense point cloud. Web visualization with Potree for example, input to the point cloud to make analysis, build TIN terrain model, etc... in an enginerring application.
This is a must if you could add this option , really a BIG improvement for usability.
Thanks

@dlivingstone
Copy link

+1 for being able to export point clouds
Is there format for the binary point cloud file detailed anywhere?

@fabiencastan
Copy link
Member

You can use the vertices of the OBJ and you will get the same points than in the bin format. The bin format is only useful to get the visibility information of each vertex.
In all case, you will not have color information (as this information is not stored), so it needs a processing step to compute it (as it's done at the end of the SfM to add colors to the Alembic sparse point cloud).

It's not in our roadmap, but as it's easy to do, we will probably add something for that.

@nmenu
Copy link

nmenu commented Nov 7, 2018

an ascii pts file, space separated, with X Y Z Intensity Red Green Blue would be great!, (set intensity to 0 as it is not defined...)
x y z i R G B

Alternatively the .LAS file format specs is available here... but I guess it is more complex to implement ?
http://www.asprs.org/a/society/committees/standards/LAS_1_4_r13.pdf

Great works guys !!!

@mobarre
Copy link

mobarre commented Nov 7, 2018

Actually, I just found out that .ply files can be exported just fine. It's just not obvious:
Add a ConvertSfMFormat node to the output of the StructureFromMotion node, and if you really want to make it look pretty, add a Publish node right after. This allows me to open point clouds in meshlab (I do seem to lack normals though).

Does that help ?

@TokyoWarfare
Copy link

I also wish there was a Dense Point cloud option instead of Mesh, with the option to colorize the cloud.

@hectorC
Copy link

hectorC commented Apr 12, 2019

I also wish there was a Dense Point cloud option instead of Mesh, with the option to colorize the cloud.

Plus one here. I need to produce colorized point clouds instead of meshes.

@cdosrunwild
Copy link

cdosrunwild commented Apr 12, 2019 via email

@natowi
Copy link
Member

natowi commented Jul 11, 2019

Point cloud export #382

@natowi natowi added feature request feature request from the community do not close issue that should stay open (avoid automatically close because stale) and removed type:enhancement labels Oct 27, 2019
@alicevision alicevision deleted a comment from cdosrunwild Nov 2, 2019
@natowi
Copy link
Member

natowi commented Oct 16, 2020

Now available with the 2020 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not close issue that should stay open (avoid automatically close because stale) feature request feature request from the community
Projects
None yet
Development

No branches or pull requests

10 participants