AI-powered medical imaging analysis for prostate MRI
Project description
DeepProstate
AI-Powered Prostate MRI Analysis Platform
Overview
DeepProstate is a medical imaging application for prostate MRI analysis using AI-powered automatic segmentation with nnUNet v2. Built with Clean Architecture principles for reliability and maintainability.
Key Features
- 🤖 AI Segmentation: Automatic prostate gland, zonal anatomy (TZ/PZ), and csPCa detection
- 🖼️ Advanced Visualization: Multi-planar views (Axial/Sagittal/Coronal) and 3D volume rendering
- ✏️ Manual Editing: Brush tools with undo/redo for segmentation refinement
- 📊 Quantitative Analysis: Volume calculations and radiomics metrics
- 🔄 Format Support: DICOM, NIfTI, MHA, NRRD
- 🛡️ Medical Compliance: HIPAA-compliant logging and audit trails
Installation
Requirements
- Python: 3.9+
- RAM: 8GB+ recommended
- GPU: NVIDIA GPU with CUDA (optional but highly recommended for AI inference)
From PyPI (Recommended)
pip install deepprostate
From Source
git clone https://github.com/Marquita-oss/DeepProstate.git
cd deepprostate
pip install -e .
GPU Support (Recommended for AI Analysis)
For faster AI predictions, install PyTorch with CUDA support:
# CUDA 11.8
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
# CUDA 12.1
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
Note: Without GPU, AI inference will be significantly slower (CPU-only mode).
Verify Installation
deepprostate --version
Quick Start
Launch Application
deepprostate
Basic Workflow
-
Load AI Models
- Click "Load AI Models Path" in AI Analysis panel
- Select folder containing nnUNet models
-
Load Patient Data
- Use Patient Browser panel
- Click "Load DICOM Folder" or "Load Single File"
-
Run AI Analysis
- Select image in Patient Browser
- Choose analysis type (Prostate/TZ-PZ/csPCa)
- Click "Run AI Analysis"
-
Review & Refine
- View results in 2D/3D viewers
- Use Manual Editing tools to refine if needed
- Export quantitative metrics
AI Models
DeepProstate uses nnUNet v2 for automatic segmentation:
| Model | Input | Output |
|---|---|---|
| Prostate Gland | T2W | Complete prostate mask |
| Zonal Anatomy | T2W | TZ and PZ masks |
| csPCa Detection | T2W + ADC + HBV | Cancer lesion masks |
Model Directory Structure
models/
├── Task500_ProstateGland/
│ └── nnUNetTrainer__nnUNetPlans__3d_fullres/
├── Task501_ProstateTZPZ/
│ └── nnUNetTrainer__nnUNetPlans__3d_fullres/
└── Task502_csPCa/
└── nnUNetTrainer__nnUNetPlans__3d_fullres/
Project Structure
deepprostate/
├── deepprostate/ # Main package
│ ├── core/ # Domain layer
│ ├── use_cases/ # Application layer
│ ├── frameworks/ # Infrastructure layer
│ └── resources/ # UI resources
├── pyproject.toml # Package configuration
├── requirements.txt # Dependencies
└── README.md # This file
License & Disclaimer
MIT License - See LICENSE file for details.
Medical Disclaimer
⚠️ IMPORTANT: This software is intended for research and educational purposes only.
- NOT FDA-approved medical device software
- NOT intended for clinical diagnostic use
- NOT a substitute for professional medical judgment
- Users must obtain appropriate regulatory clearance for clinical use
Citation
If you use DeepProstate in your research:
@software{deepprostate2025,
title={DeepProstate: AI-Powered Prostate MRI Analysis Platform},
author={Marca Ronald, Salas Rodrigo, Ponce Sebastian, Caprile Paola, Besa Cecilia},
year={2025},
version={1.4.0},
url={https://github.com/Marquita-oss/DeepProstate}
}
Support
- Issues: GitHub Issues
- Email: rnldmarca@gmail.com
Acknowledgments
- nnUNet Team: Self-configuring segmentation framework
- PyQt6: UI framework
- VTK: 3D visualization
- Medical Imaging Community: Feedback and testing
Made with ❤️ for the Medical Imaging Community
Project details
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 deepprostate-1.4.0.tar.gz.
File metadata
- Download URL: deepprostate-1.4.0.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf690128b6982fadb82656feec4dfcb51b3747963a4dcb734eab4be5512a1705
|
|
| MD5 |
440fee544701cfcc09f5b87b151157b7
|
|
| BLAKE2b-256 |
f408b00e6d99ae855712c122af13458119f61fd6597684c4c392b07a75d6cf9b
|
Provenance
The following attestation bundles were made for deepprostate-1.4.0.tar.gz:
Publisher:
python-publish.yml on Marquita-oss/DeepProstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepprostate-1.4.0.tar.gz -
Subject digest:
cf690128b6982fadb82656feec4dfcb51b3747963a4dcb734eab4be5512a1705 - Sigstore transparency entry: 645623598
- Sigstore integration time:
-
Permalink:
Marquita-oss/DeepProstate@ba3520aa91dd08aa4a53a866cf5a8da4f7bcff7f -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/Marquita-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ba3520aa91dd08aa4a53a866cf5a8da4f7bcff7f -
Trigger Event:
release
-
Statement type:
File details
Details for the file deepprostate-1.4.0-py3-none-any.whl.
File metadata
- Download URL: deepprostate-1.4.0-py3-none-any.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70e8e9618f845b0ad44e9ac8963c1dd348fdc39f9fb2bf3a56b2b722696352fc
|
|
| MD5 |
8c3ad716ef72546db7778951d6a0179d
|
|
| BLAKE2b-256 |
48909666ae8eb592fe39258d1538208fa1462244f58a9a418c386096e8452554
|
Provenance
The following attestation bundles were made for deepprostate-1.4.0-py3-none-any.whl:
Publisher:
python-publish.yml on Marquita-oss/DeepProstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepprostate-1.4.0-py3-none-any.whl -
Subject digest:
70e8e9618f845b0ad44e9ac8963c1dd348fdc39f9fb2bf3a56b2b722696352fc - Sigstore transparency entry: 645623602
- Sigstore integration time:
-
Permalink:
Marquita-oss/DeepProstate@ba3520aa91dd08aa4a53a866cf5a8da4f7bcff7f -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/Marquita-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ba3520aa91dd08aa4a53a866cf5a8da4f7bcff7f -
Trigger Event:
release
-
Statement type: