Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thangngoc89/crown_mesh_extractor
https://github.com/thangngoc89/crown_mesh_extractor
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thangngoc89/crown_mesh_extractor
- Owner: thangngoc89
- Created: 2024-01-23T08:25:17.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-23T08:25:36.000Z (about 1 year ago)
- Last Synced: 2024-11-18T17:40:47.290Z (2 months ago)
- Language: Python
- Size: 4.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Crown segmentation
## About VTK
- VTK file
- This format is created using the VTK library.
- VTK has official bindings to C++, C#, Java, Javascript and Python. See [examples](https://examples.vtk.org/site/JavaScript/)
- The code inside this repository used Python## Output format
- The provided vtk files contain a mesh named `segment-nycu`
- Each faces has a scalar according to which teeth is it.
- Value meaning:
- 0: gum
- 11: Tooth 11
- 12: Tooth 12
- 13: Tooth 13
- ...
- 48: Tooth 48
- The `extract_teeth.py` provides example of how to read VTK and export each label using STL format.## Installation
VTK version needs to be 9.3.0
```sh
pip install vtk numpy
```## Usage
Check `extract_teeth.py`
```
python extract_teeth.py example.vtk output
```