skeletor icon indicating copy to clipboard operation
skeletor copied to clipboard

how can I use this to extract a skeleton from 3D image

Open Luchixiang opened this issue 5 years ago • 2 comments

Luchixiang avatar Dec 10 '19 12:12 Luchixiang

The short answer: You can't.

The long answer: This library requires you to already have a mesh with vertices and faces. Not sure if by "3D image" you mean some segmentation? If so, you could use e.g. marching cubes to generate a mesh from that. The other problem is that I haven't implemented the skeletonization yet, just the mesh contraction. There are good skeletonizers out there though - check out Teasar for example.

Edit: skeletor now has working skeletonization functionality.

schlegelp avatar Jun 12 '20 13:06 schlegelp

I've created a short script to compute the skeleton of a stl file using skeletor https://github.com/TzabarDolev/Mesh_skeltonization/blob/main/skeletor_test.py

TzabarDolev avatar Oct 06 '20 12:10 TzabarDolev