-
Notifications
You must be signed in to change notification settings - Fork 26
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
Remove excess and fragmented shoots from the skeleton #40
Comments
Hi! Looking at your code I see two issues:
Try something like this: fixed = sk.pre.fix(mesh, remove_disconnected=50, inplace=False)
cont = sk.pre.contract(fide, iter_lim=50, epsilon=.1)
skel = sk.skeletonize.by_vertex_cluster(cont, sampling_dist=1, cluster_pos='median')
sk.post.clean_up(skel, inplace=True)
skel.show(mesh=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, first of all, thank you very much for your efforts and results, so that I successfully achieved the extraction goal of the three-dimensional point cloud tree skeleton, your algorithm is simple and efficient, personally I think it is very good.
But I also encountered a small problem in the process of use, that is, the branches in the model of the original point cloud ply file I entered have some breaks, so I don't want to skeletonize these fractured and incomplete branch parts, of course, I also see that the mesh shrinkage function defines the function of removing the broken part, but after practice, I don't seem to see the application of this parameter in the mesh shrinkage function definition, maybe I made a mistake, and I hope you can give me some advice, Let me successfully achieve only the skeleton process of the complete branch, below is my code and the point cloud after skeletonization, thank you in advance!
The text was updated successfully, but these errors were encountered: