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.0.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.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

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

Hashes for deepprostate-1.4.0.tar.gz
Algorithm Hash digest
SHA256 cf690128b6982fadb82656feec4dfcb51b3747963a4dcb734eab4be5512a1705
MD5 440fee544701cfcc09f5b87b151157b7
BLAKE2b-256 f408b00e6d99ae855712c122af13458119f61fd6597684c4c392b07a75d6cf9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepprostate-1.4.0.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.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

Hashes for deepprostate-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70e8e9618f845b0ad44e9ac8963c1dd348fdc39f9fb2bf3a56b2b722696352fc
MD5 8c3ad716ef72546db7778951d6a0179d
BLAKE2b-256 48909666ae8eb592fe39258d1538208fa1462244f58a9a418c386096e8452554

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepprostate-1.4.0-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