This release is a pre-release and may not be stable for production use.
MedSim3D: Medical Simulation Framework in the 3D environment
The MedSim3D framework provides a general programmable platform for 3D modeling and simulation in medical education.
Installation
pip install MedSim3D
Dependencies
tqdm, requests, numpy, cv2, shapely, quick-csv, pillow, pandas, pyntcloud, sklearn, matplotlib, scipy, skimage
Examples
Example 1: Download datasets from the Visible Human Project.
from medsim3d.vhp.downloader import VHPDownloader
vhp_downloader=VHPDownloader()
vhp_downloader.download_datasets(
gender="Male", # Male or Female
body_part="head",
# Options: abdomen, head, legs, pelvis, thighs, thorax
save_folder="datasets/male/head")
Example 2: Build human body part 3D models from colored slices
from medsim3d.vhp.pipeline_bodypart import *
# A pipeline to build body parts in a simple way
pipeline_pelvis=PipelineBodyPart(
gender="Female",
body_part="pelvis",
# Options: abdomen, head, legs, pelvis, thighs, thorax
root_folder='../datasets/Female'
)
pipeline_pelvis.run(force_download=True)
Example 3: Build human full-body 3D models from CT images
from medsim3d.vhp.pipeline_human import *
pipeline_human=PipelineHuman(
gender='Male',
ct_type='frozenCT', # normalCT
root_path='../datasets/Male'
)
pipeline_human.run(force_download=True)
Screenshots
(1) Medical image processing using the VHP data sets
(2) 3D agent-based modeling in NetLogo using VHP data sets
Credits
License
The MedSim3D toolkit is provided by Donghua Chen with MIT License.
Metadata
Release files for MedSim3D 0.0.1a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| MedSim3D-0.0.1a3.tar.gz | 84.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| MedSim3D-0.0.1a3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 206.5 kB
Release files / MedSim3D-0.0.1a3.tar.gz
| Download URL | MedSim3D-0.0.1a3.tar.gz |
|---|---|
| Size | 84.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0635340f0fc9988e72aaa6312cfb513082a6f2414b95e14211bb8834b5fcdd1b
|
|
BLAKE2b-256 checksum How to use checksums |
4621eeabb857358e3482276ad5cfa28d817c1d0149ab0fb29830e8fc954fa498
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
|
Release files / MedSim3D-0.0.1a3-py3-none-any.whl
| Download URL | MedSim3D-0.0.1a3-py3-none-any.whl |
|---|---|
| Size | 122.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ce7753bfbfc570f9e2507294b4c21df258eb4c1e0c9ae8764e9a217a02a272e
|
|
BLAKE2b-256 checksum How to use checksums |
da4ca85d8867ce47438bfdb7c017b5206dd97c5006a9ca86c265ed3a5d199b21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
|