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

is there a way to remove parts of a mesh where the skeleton is not fully connected #602

Open
copypasteearth opened this issue Oct 27, 2023 · 2 comments
Labels
question What is going on??? :thinking emoji:

Comments

@copypasteearth
Copy link

Hi I am trying to alter a mesh to get rid of the parts that are attached to the main feature. Like vessels that come out of a skull in a nondecal scan of bone and vessels
Screenshot 2023-10-27 at 12 12 35 AM

so im thinking there might be some type of mesh manipulation I can do to change the segmentation to only have the fully connected main feature the skull. where all of the edges are connected. I tried connected components but vessels are connected to the bone, i am trying to get rid of the vessels and just keep the bone

thank you for your time

@william-silversmith
Copy link
Contributor

Hi! Sorry, I just saw this question. I hope you are not still struggling with this question.

One approach that immediately springs to mind is a technique called "garbing" the skeleton where you generate a mesh from the overlapping spherical radii from each skeleton vertex. There may be some libraries that do this.

I'm just heading to bed, so I'll try to approach this question again during the workweek.

@william-silversmith william-silversmith added the question What is going on??? :thinking emoji: label Jan 8, 2024
@william-silversmith
Copy link
Contributor

One other thing you can try is morphological opening of the mesh / image.

Also, you can try using the radius attribute and orientation of the skeleton to identify nodes that are in the vessels and cut them out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question What is going on??? :thinking emoji:
Projects
None yet
Development

No branches or pull requests

2 participants