This software implements the pipeline for the Pancreas cancer detection project. The repo contains codes to perform the prediction to detect Pancreatic cancer in Whole Slide Images. The paper was published in MICCAI 2019 "Pancreatic Cancer Detection in Whole Slide Images Using Noisy Label Annotations"
scripts/: contains scripts that connect several sub-functionalities together for complete functionalities such as generating camicroscope heatmaps given svs images.
conf/: contains configuration.
data/: a place where should contain all logs, input/output images, trained CNN models, and large files.
download_heatmap/: downloads grayscale lymphocyte or tumor heatmaps
heatmap_gen/: generate json files that represents heatmaps for camicroscope, using the lymphocyte and necrosis CNNs' raw output txt files.
patch_extraction_tumor_40X/: extracts all patches from svs images. Mainly used in the test phase.
prediction/: CNN prediction code.
training_codes/: CNN training code.
Build the docker image by:
docker build -t paad_detection .
(Note the dot at the end).
Create folder named "data" and subfolders below on the host machine:
nvidia-docker run --name paad-detection -itd -v <path-to-data>:/data -e CUDA_VISIBLE_DEVICES='<cuda device id>' paad_detection svs_2_heatmap.sh
CUDA_VISIBLE_DEVICES -- set to select the GPU to use
The following example runs the cancer detection pipeline. It will process images in /home/user/data/svs and output the results to /home/user/data.
nvidia-docker run --name paad-detection -itd -v /home/user/data:/data -e CUDA_VISIBLE_DEVICES='0' paad_detection svs_2_heatmap.sh
@inproceedings{le2019paad,
title={Pancreatic Cancer Detection in Whole Slide Images Using Noisy Label Annotations},
author={Han, Le and Dimitris, Samaras and Tahsin, Kurc and Rajarsi, Gupta and Kenneth, Shroyer and Joel, Saltz },
booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
year={2019},
organization={Springer}
}