Python API to connect and work with the MedShapeNet Medical Shapes Database (https://medshapenet.ikim.nrw/)
Project description
MedShapeNet API
The MedShapeNet Package (MSN-API) is an API that enables direct connectivity to the MedShapeNet database, comprising over 100,000 3D shapes for the medical domain.
The included datasets comprise collections of anatomical shapes (e.g., bones, organs, vessels), 3D models of surgical instruments, and even molecular structures.
MedShapeNet has been established with the objective of facilitating the translation of data-driven vision algorithms for medical machine learning applications, extended reality, 3D printing, benchmarking and other related fields.
Further information on MedShapeNet can be found in the first MedShapeNet Paper, which describes the initial contributions. A subsequent paper will describe the new contributions and usage of the MedShapeNet API.
The API enables users to search the Database, retrieve author information, download data, visualise shapes, and transform shapes into file formats that are more suitable for machine learning (e.g. as numpy arrays in .npz format).
Samples on MSN-API usage and using it for machine learning applications will made available on the MedShapeNet 2.0 GitHub Page in the near future.
The initial version will be demonstrated during the MICCAI 2024 tutorial. Following the event, further functionality will be added, for example adding labels to the shapes and including more datasets. Additionally, a Streamlit websit has been created as a result of the first paper. Further information can be found on the Project Page of the Institute for Artificial Intelligence in Medicine (IKIM).
Functionality under constructions, functionality and all datasets will be added soon.
Want to contribute, checkout the MedShapeNet 2.0 GitHub Page.
Content on this readme:
Installation Help function MSN Usage Cite us Licence information
Installation
You can install the package using pip:
pip install MedShapeNet
Help function
In the command line interface after installation with pip:
msn help
Or in Python:
# Import MedShapeNet class for MedShapeNet package
from MedShapeNet import MedShapeNet as msn
# Call the help function
msn.msn_help()
# or
msn_instance = msn()
msn_instance.msn_help()
# Checkout the docstring - print(msn.{method}.__doc__) or print(msn.__doc__), e.g.:
print(msn.msn_help.__doc__)
print(msn.__doc__)
Usage
The MedShapeNet object will be imported into the Python environment as MedShapeNet, and the methods can be invoked directly either via MedShapeNet.method(args) syntax or by creating an instance (,see section about help function,) first.
You can use the GettingStarted.ipynb to get to know MedShapeNet's functionality.
reference/Cite
If you use MedShapeNet in your (research) project(s), we kindly request you to cite MedShapeNet as:
@article{li_medshapenet_2023,
title = {MedShapeNet--A Large-Scale Dataset of 3D Medical Shapes for Computer Vision},
journal={arXiv preprint arXiv:2308.16139},
doi = {10.48550/arXiv.2308.16139},
author = {Li, Jianning and Zhou, Zongwei and Yang, Jiancheng and Pepe, Antonio and Gsaxner, Christina and Luijten, Gijs and others},
year = {2023},
}
Licence
MedShapeNet 2.0 © 2024 by Gijs Luijten is licensed under:
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International - CC BY-NC-SA 4.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file medshapenet-0.1.15.tar.gz.
File metadata
- Download URL: medshapenet-0.1.15.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43e234c4ce22eadcb2cb84046d5d0834ae7fff0cd8f9d96caea416c02158c38c
|
|
| MD5 |
c1c7456d770e68a7bbf164c81fd3e6de
|
|
| BLAKE2b-256 |
a9248f0ab1f88a604effc924518aa69c3636e7efbcfb95f6018d196154ebc458
|
File details
Details for the file MedShapeNet-0.1.15-py3-none-any.whl.
File metadata
- Download URL: MedShapeNet-0.1.15-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc744dc63db795a752203797dd5aa165006fb2823ca0c950365b4f7373f3eed2
|
|
| MD5 |
caeff72de046040fab61385a94581e27
|
|
| BLAKE2b-256 |
32339f594da970bb3259b676803598a78ef471337281f991d15f924e903dce08
|