๐ฉบ Interactive 3D medical visualization system for exploring human anatomy
โจ Features โข ๐ฅ Installation โข ๐ Quick Start โข ๐ Usage
- ๐ฉบ Overview
- โจ Features
- ๐ฅ Installation
- ๐ Quick Start
- ๐ Usage
- ๐ฎ Interactive Controls
- ๐ Supported Formats
- ๐ค Contributing
- ๐ License
- ๐ Acknowledgments
- ๐ง Contact
This repository provides interactive human body system viewers using Python/Qt and VTK, featuring integrated 3D clipping and curved MPR tools for NIfTI/DICOM volumes โ along with realistic signal-driven animations and ECG simulation.
It includes dedicated modules for:
๐ซ Cardiovascular | ๐ง Nervous | ๐ช Musculoskeletal | ๐ฆท Dental systems
All systems are launched via a Tkinter-based main interface or standalone entry points.
- ๐ Real-time ECG simulation with conduction modeling
- ๐ Heart sounds and audio cues
- ๐ฃ๏ธ Text-to-speech annotations
- ๐ฉธ Interactive vessel visualization
- โ๏ธ Integrated advanced clipping with anatomical planes
- ๐ Integrated curved MPR for volume exploration
update.heart.animation.online-video-cutter.com.mp4
- ๐งฌ Brain visualization
- ๐ EEG-driven surface coloring
- โก Neural signal pathway animation with glow effects
- โ๏ธ Integrated multi-plane clipping tools
- ๐ Integrated curved MPR (Multiplanar Reconstruction)
signals.brain.online-video-cutter.com.mp4
- ๐ช Bone and muscle rendering
- โก Neural signal visualization with motor pathway simulation
- ๐ฆต Stair climbing animation sequence (signal โ knee flex)
- ๐จ Advanced quality controls
- โจ Edge enhancement options
- โ๏ธ Integrated advanced clipping
- ๐ Integrated curved MPR
leg.animation.mp4
- ๐ Teeth segmentation
- ๐จ Color preset management
- ๐ง Procedural tooth generation
- ๐ซ Neural signal animation
- ๐ฆด Jaw movement control (open/close)
- โ๏ธ Integrated advanced clipping
- ๐ Integrated curved MPR
teeth.neural.jaw.online-video-cutter.com.mp4
All systems now include built-in access to:
-
โ๏ธ Advanced Clipping: Interactive 3D clipping with axial/coronal/sagittal planes
- Octant clipping (hide specific regions: left/right/front/back/top/bottom)
- Visual anatomical plane overlays (colored by orientation)
- Real-time plane position adjustment
-
๐ Curved MPR: Interactive curved multiplanar reconstruction
- Load NIfTI, DICOM
- Draw custom curved paths on 2D slices
- Generate straightened CPR images along the path
- Adjustable slice range selection
-
๐ ECG Widget: Embeddable real-time ECG display with dark theme (Cardiovascular)
-
๐งช Enhanced Animations:
- Blood-flow particle animation (Cardiovascular)
- Neural pathway visualization (Nervous & Musculoskeletal)
- Jaw movement cycles (Dental)
- ๐ Python 3.10+
- ๐ฅ๏ธ GPU recommended (optional, for enhanced rendering)
pip install PyQt5
pip install vtk
pip install numpy
pip install scipy
pip install matplotlib
pip install pandas
pip install pillow
pip install pyttsx3
pip install nibabel # Required for MPR functionalityOr use the requirements file:
pip install -r requirements.txtpython main.pyThe main launcher provides buttons to start each system module in a separate process.
# ๐ซ Cardiovascular system
python cardiovascular_system.py
# ๐ง Nervous system
python nervous_system.py
# ๐ฆด Musculoskeletal system
python musculoskeletal_system.py
# ๐ฆท Dental system
python dental_system.pyAccess from the "๐ Curved MPR" tab in any system:
- Click "Open MPR Tool" button
- ๐ Load NIfTI/DICOM
- ๐ฏ Use 'Display Slice' slider to browse through the volume
- ๐จ Set 'CPR Start/End' slice range for the reconstruction depth
- ๐ฑ๏ธ Click on the 2D image to draw curve points along your desired path
- โจ Click "Generate CPR" to create straightened view
Access from the "โ๏ธ Clipping" tab in any system:
- Click "Open Advanced Clipping" button
- ๐๏ธ Position clipping planes using X/Y/Z sliders (0-100%)
- ๐๏ธ Toggle anatomical plane overlays (Axial=Blue, Sagittal=Red, Coronal=Green)
- ๐งญ Select octant regions to hide (Left/Right/Front/Back/Top/Bottom)
- โจ๏ธ Use "Reset All" to restore default view
The cardiovascular module includes:
- ๐ P-QRS-T wave generation
- ๐ Atrial and ventricular contraction mapping
- ๐ Synchronized heart sounds
- ๐ฃ๏ธ Optional text-to-speech guidance
Nervous System:
- Watch neural pathways light up on the brain surface
- Choose from Pain, Vision, or Thinking pathways
- Adjustable animation speed
Musculoskeletal System:
- Stair climbing sequence: Neural signal โ Knee flexion โ Reset
- Starts with left leg, then right leg
- Realistic motor pathway simulation
- Neural signal propagation through teeth (root to crown)
- Jaw movement control (open/close with sound effects)
- Combined sequence: Signal โ Open โ Signal โ Close
๐ฆ human-body-systems/
โโโ ๐ main.py # Tkinter launcher (subprocess-based)
โโโ ๐ซ cardiovascular_system.py # Heart & vessels with ECG + integrated tools
โโโ ๐ง nervous_system.py # Brain viewer + integrated tools
โโโ ๐ฆด musculoskeletal_system.py # Bones & muscles + integrated tools
โโโ ๐ฆท dental_system.py # Dental visualization + integrated tools
โโโ ๐ requirements.txt # Python dependencies
โโโ ๐ README.md # This file
Note: clipping.py and mpr.py have been removed. Their functionality is now integrated into each system module.
| Type | Extensions | Description |
|---|---|---|
| Meshes | .stl, .obj, .ply, .vtk |
3D anatomical models |
| Volumes | .nii, .nii.gz, DICOM, PNG stacks |
Medical imaging volumes (for MPR) |
| Audio | .wav, .mp3 |
Heart sounds / voice guidance |
These datasets were partially used in this project for testing, visualization, and evaluation purposes.
3D Multimodal Dental Dataset based on CBCT and Oral Scan โ Figshare
A multimodal 3D dataset combining Cone Beam CT (CBCT) and intraoral scans, designed for dental anatomy and visualization research.
Please refer to the original Figshare page for citation details and licensing information.
Healthy-Total-Body-CTs โ The Cancer Imaging Archive (TCIA)
https://www.cancerimagingarchive.net/collection/healthy-total-body-cts/
A dataset containing low-dose, whole-body CT scans of 30 healthy subjects with detailed tissue segmentation (organs, fat, muscle, etc.).
Data Citation:
Selfridge, A. R., Spencer, B., Shiyam Sundar, L. K., Abdelhafez, Y., Nardo, L., Cherry, S. R., & Badawi, R. D. (2023).
Low-Dose CT Images of Healthy Cohort (Healthy-Total-Body-CTs) (Version 2) [Dataset]. The Cancer Imaging Archive. https://doi.org/10.7937/NC7Z-4F76
| Action | Control |
|---|---|
| Rotate 3D view | Left mouse drag |
| Pan camera | Right mouse drag |
| Zoom | Mouse scroll |
| Reset camera | R key |
| Toggle clipping | Access via Clipping tab |
| Adjust opacity | Use opacity sliders in UI |
| Enable curved MPR | Access via MPR tab |
| Focus on region | Enable Focus Mode, then click |
| Toggle wireframe | W key |
Contributions are welcome! ๐
To contribute:
- Fork this repo
- Create a feature branch (
git checkout -b feature-name) - Commit changes (
git commit -m "Add feature") - Push and open a PR
Please ensure code follows PEP8 and includes minimal documentation.
This project is provided as-is for educational and research purposes. Not intended for clinical diagnostic use.
- ๐ ๏ธ Built with VTK, PyVista, and Qt
- ๐ฅผ Medical imaging support via nibabel and pydicom
- ๐ ECG simulation based on physiological models
Project Contributor: Maryam Moustafa
Project Contributor: Aya Sayed
Project Contributor: Nour Ahmed
Project Contributor: Mahmoud Mazen
Made with โค๏ธ for medical visualization and education