Medical Simulation Framework in the 3D Environment
Project description
MedSim3D: Medical Simulation Framework in the 3D environment
The MedSim3D
framework aims to provide 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)
Fig.1. Reconstructed human body 3D model
Credits
License
The MedSim3D
toolkit is provided by Donghua Chen with MIT License.
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
MedSim3D-0.0.1a2.tar.gz
(35.9 kB
view hashes)
Built Distribution
MedSim3D-0.0.1a2-py3-none-any.whl
(54.6 kB
view hashes)
Close
Hashes for MedSim3D-0.0.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfcaddd0c2aa683a44d781dabefd89ce6df21d4fdd5d9885409ef96676a33511 |
|
MD5 | d752874d570928374962d82d0be23314 |
|
BLAKE2b-256 | ead6d2da8c8123a5cf3600c1a5c111f10c4fd557a8d2ae1d711a7630a1cc794a |