Skip to main content

AI-powered medical imaging analysis for prostate MRI

Project description

DeepProstate

DeepProstate Logo

AI-Powered Prostate MRI Analysis Platform

Python Version PyQt6 nnUNet License


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

  1. Load AI Models

    • Click "Load AI Models Path" in AI Analysis panel
    • Select folder containing nnUNet models
  2. Load Patient Data

    • Use Patient Browser panel
    • Click "Load DICOM Folder" or "Load Single File"
  3. Run AI Analysis

    • Select image in Patient Browser
    • Choose analysis type (Prostate/TZ-PZ/csPCa)
    • Click "Run AI Analysis"
  4. 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


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

deepprostate-1.4.1.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepprostate-1.4.1-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file deepprostate-1.4.1.tar.gz.

File metadata

  • Download URL: deepprostate-1.4.1.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

Hashes for deepprostate-1.4.1.tar.gz
Algorithm Hash digest
SHA256 a37d0c8373b7d1c3cad266d0ccceae21a81b71c28a41d50d95d991a8bd438749
MD5 112d541e03f5bfeb1c5625f6e799b8ea
BLAKE2b-256 a13d92ea52144b3033786d84f463503e9ce785222867b5d7010698733c342f7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepprostate-1.4.1.tar.gz:

Publisher: python-publish.yml on Marquita-oss/DeepProstate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepprostate-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: deepprostate-1.4.1-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

Hashes for deepprostate-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb9aa1177dd2b9ee221829b4a2348d52bae66929dfd63c7b755888e6532cafb
MD5 c76fbc1130fb86acc4e7845319f208dc
BLAKE2b-256 ac5b529d54eb96a47a0ab3547b39468762fc708e8cd19931b64afde5abac9e8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepprostate-1.4.1-py3-none-any.whl:

Publisher: python-publish.yml on Marquita-oss/DeepProstate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page