AI Campus Logo @ Cedars-Sinai

Project Details

Summary:


Project Thumbnail
Semantic Segmentation of Prostate Cancer Biopsy Tissue Using Deep Learning

We aim to develop a deep learning-based multiclass segmentation model for prostate cancer biopsy whole-slide images (WSIs). Leveraging the PANDA dataset, we will train a model to classify tissue regions into five categories: background, benign epithelium, stroma, malignant grade 3, grade 4, and grade 5. Unlike the original PANDA challenge, which focused on Gleason score classification, our project will concentrate on semantic segmentation to provide fine-grained annotations of tissue structures.

Description:


Introduction: Prostate cancer remains one of the most prevalent malignancies in men, with accurate histopathological assessment being crucial for diagnosis and treatment planning. Whole-slide imaging (WSI) has enabled computational pathology approaches to automate the analysis of tissue specimens. A major application of AI, especially deep learning models, is to automate the process of precise tissue segmentation. This project aims to develop a deep learning model capable of automated multi-class segmentation of prostate tissue structures.

Goal: The primary objective of this project is to build a deep learning model that can accurately segment prostate biopsy WSIs into different histological classes:

• Background (non-tissue regions)

• Benign epithelium (normal prostate glands)

• Stroma (connective tissue components)

• Malignant Grade 3 (low-grade cancer)

• Malignant Grade 4 (intermediate-grade cancer)

• Malignant Grade 5 (high-grade cancer)

By achieving precise segmentation, the model can facilitate better understanding of tumor architecture, aid in prognostic assessments, and potentially assist pathologists in automating the diagnostic process and identifying aggressive disease features.

Dataset: The PANDA (Prostate cANcer graDe Assessment) dataset, derived from the Karolinska Institute and Radboud University Medical Center, provides a rich collection of annotated prostate biopsy images. For our project, we will specifically utilize the Radboud portion of the dataset, which includes:

• Whole-slide images (WSIs) of prostate biopsy samples.

• Expert-labeled segmentation masks indicating tissue regions.

The segmentation labels from Radboud will serve as ground truth for training our model, allowing us to develop a supervised deep learning approach for semantic segmentation.
The data can be accessed on Kaggle: https://www.kaggle.com/competitions/prostate-cancer-grade-assessment/overview

References:
1. Bulten, W., et al. (2021). “Artificial intelligence-assisted Gleason grading of prostate biopsies: a diagnostic study.” Nature Medicine, 27(1), 89-95. DOI: 10.1038/s41591-021-01620-2

2. Litjens, G., et al. (2017). “A survey on deep learning in medical image analysis.” Medical Image Analysis, 42, 60-88. DOI: 10.1016/j.media.2017.07.005

3. Ronneberger, O., et al. (2015). “U-Net: Convolutional networks for biomedical image segmentation.” MICCAI 2015, 234-241. DOI: 10.1007/978-3-319-24574-4_28

Reading material: The following materials are recommended to get familiar with the basics of Python programming, image analysis, and deep learning:

Python basics:

Deep learning basics:

Computer Vision & PyTorch:

 

General Introduction to Pathology Image Analysis

Basic Image Processing & Computer Vision for Pathology

Tips for getting started:

1. Set up the environment:

Before working with pathology images, we need to set up the software environment properly. This ensures that all dependencies are installed correctly, and students can work with the necessary tools smoothly.

1.1 Install Python: Python is the programming language we will use for deep learning and pathology image analysis.

Windows:
• Download Python from the official website: https://www.python.org/downloads/

• During installation, check the box “Add Python to PATH”.

• Verify installation by opening a command prompt and typing: 
python --version

Mac:
Python should be pre-installed on macOS. If not, install the latest version via Homebrew:
• Install Homebrew: 
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

• Install Python: 
brew install python

• Verify installation: 
python --version

------------------------
1.2 Install Micromamba
Conda or Micromamba helps manage dependencies and create isolated environments for different projects.

• Install Micromamba (Lightweight alternative to Conda): 
curl -Ls https://micro.mamba.pm/install.sh | bash

• Restart the terminal and run:
micromamba --version

----------------------------
1.3 Create a Micromamba Environment:

• Create the environment (we will call it PCa_segmentation):
 micromamba create -n PCa_segmentation python=3.9

• Activate the environment:
micromamba activate PCa_segmentation

• Install PyTorch (Check https://pytorch.org/get-started/locally/ for latest version):

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Install image processing and visualization tools:

pip install numpy opencv-python matplotlib albumentations tifffile openslide-python

Install deep learning libraries for segmentation:

pip install monai segmentation-models-pytorch

 Install Jupyter Notebook for running code:

pip install jupyterlab

 

Project Prepared By:
Mohamed Omar

File:


Tags: