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

How to run Poisson Surface Reconstruction? #50

Open
petrasvestartas opened this issue Mar 24, 2018 · 10 comments
Open

How to run Poisson Surface Reconstruction? #50

petrasvestartas opened this issue Mar 24, 2018 · 10 comments

Comments

@petrasvestartas
Copy link

petrasvestartas commented Mar 24, 2018

Hi,

I downloaded source code in zip from here:
http://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.011/

I built it in Visual Studio 2017.
Build was successfull.

I see .exe files, but when I run those three exe files they are closed immediatelly.

How should I run the app correctly?
I have a pointcloud and just want to reconstruct a mesh from it.

untitled

@mkazhdan
Copy link
Owner

mkazhdan commented Mar 25, 2018 via email

@petrasvestartas
Copy link
Author

petrasvestartas commented Jun 16, 2018

Sorry maybe I was not clear enough. This time I just downloaded executables.

Please take a look at my screen grab video what I did.
I expected to run .exe files and type file locations for .ply.

What I am doing wrong and what is the correct way for running executables?

ScreenGrab

@mkazhdan
Copy link
Owner

mkazhdan commented Jun 17, 2018 via email

@petrasvestartas
Copy link
Author

petrasvestartas commented Jun 17, 2018

Thank you for an answer.

I ran the .exe file like this through cmd.exe
question

I downloaded sample .ply from stanford directory and tried to run it (attached the file here).

What is the issue why it did not work?
(I just want to run this app just to learn how to do it.)
Is it something wrong with .ply file? If it is .ply that causing problems would it be possible to get a sample of .ply that represents good input file?

bun000.zip

@mkazhdan
Copy link
Owner

mkazhdan commented Jun 17, 2018 via email

@petrasvestartas
Copy link
Author

petrasvestartas commented Jun 17, 2018

Thanks it worked, I generated mesh from bunny.points.ply.

Is there any method in one of exe to generate normals if none exists in .ply file?
For instance having the same file from Stanford what would the way to generate normals inside of it?

@mkazhdan
Copy link
Owner

mkazhdan commented Jun 17, 2018 via email

@petrasvestartas
Copy link
Author

petrasvestartas commented Jun 17, 2018

I have a Faro model s 150 laser scanner and I am C# developer with some knowledge of C++, I am wondering if you could point me to any github repository for processing such pointclouds from scanners?

I would really like eventually to code or test somebodies code to compute those normals.
Any references would be much appreciated.

@ahmadhasan2k8
Copy link

ahmadhasan2k8 commented Jun 17, 2018

You can use libraries as PCL or CGAL. Depending on the complexity of your point cloud you can switch the libraries. If it's a simple point cloud with somewhat regular shape I would say PCL will do the job. After normal estimation pcl can orient your point cloud with a reference viewpoint. If you have a very complex point cloud you might wanna use CGAL and after estimation use mst_orient_normals to orient them. Again, if your point cloud have islands or noise etc libraries won't directly cut it and needs some intelligent modifications. I hope this gives you a decent start. For noisy point clouds I would suggest trying different PCL filters.

@mkazhdan
Copy link
Owner

mkazhdan commented Jun 17, 2018 via email

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

3 participants