Fix poisson script. Enhance ball pivoting script #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @vrabaud,
I was having quite bad results for mesh reconstruction and decided to have a look at the meshlab scripts.
Since the voxelgrid in pcl has been set to 0.005, I think that a ball radius of 0.02 is a bit too much. I suggest switching to 0.01. Also the Laplacing smooth was smoothing too much.
Here is the results I get. On the left new script, right old script:
I discovered there is a second script in the code to allow the use of the Poisson reconstruction but it was not complete. The Poisson reconstruction requires that the normals are computed before or you will get silly results:
Once the normals are computed and smoothed you get this instead:
What about we add a new argument to allow the use of this script ?
Poisson could do a nice job here if we could close the bottom of the mesh like propose in this issue:
Closing the loop in object model capture#18. Any thoughts on this ?
Once we get linemod to work with texture we could had another script creating the texture and an .obj file. I followed the following video tutorial this afternoon and it works like a charm:
https://www.youtube.com/watch?v=6wP_e37t7PI
Gives the following results:
You can also then smooth the colors on the texture file to improve the results.
I would love to get linemod to be user-friendly and use the color gradients for detection. I can work on it but I still need your point on view and experience on all of this.
Thanks again for this amazing library. Looking forward to working on this,
Cheers,
Jimmy