A medical imaging application for Multi-Planar Reconstruction (MPR) with AI-powered orientation detection.
- 4 Synchronized Views: Axial, Sagittal, Coronal, and Oblique planes
- Interactive Navigation: Drag crosshairs to navigate through 3D volumes
- AI Orientation Prediction: Automatically detect view orientation
- Organ Detection: Identify anatomical regions from DICOM metadata
- Surface Boundary Mode: Display 2D contours from segmentation masks
- ROI Export: Save regions of interest as NIfTI files
# Clone this repository
git clone https://github.com/Marize-Raafat/Medical-image-MPR-viewer.git
cd mpr-viewer
# Install dependencies
pip install -r requirements.txt
# Run the application
python src/MPR_viewer_final.py- Click "Load NIfTI" or "Load DICOM" to open a medical image
- Drag the colored crosshairs to navigate
- Use Oblique Tilt sliders to adjust the oblique plane
- Click "Predict Orientation" to run AI classification
- Click "Detect Organ" (DICOM only) to identify anatomy
The orientation prediction model requires:
models/config.json- Model architecturemodels/model.weights.h5- Trained weights
Note: Model files not included due to size.
- Python 3.8+
- 8GB RAM minimum
- GPU optional (CPU inference supported)
mpr-viewer/
├── src/ # Source code
├── models/ # AI model files
├── docs/ # Documentation
└── requirements.txt # Python dependencies
This project is licensed under the MIT License.
Marize Raafat
- GitHub: @Marize-Raafat
- Email: marizeraafat020@gmail.com