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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepprostate-1.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b94bafd2cf083250f02f419a31842cb05ed0eef0c65390d7209da012bc5aed1f
MD5 57fbc1d001ef319098e5e30494c7d266
BLAKE2b-256 c86c84e9a6803735f952853fc3b49dabeb34664fd86cef7a97d3c55fce1af738

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepprostate-1.4.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: deepprostate-1.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a26f3dd9d423d3b69f5518be1a62cfec99f541b9f0e7a1b04c650b3e782d52a6
MD5 bb4d9f54823335a4783a130b75234f62
BLAKE2b-256 2e7ec57e949f931519f6b3a5cbeeaecdd31e0b1ea448afe34b5b558f4c9c72b9

See more details on using hashes here.

Provenance

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