• Stars
    star
    183
  • Rank 208,893 (Top 5 %)
  • Language
    Python
  • Created about 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

cGAN-based Multi Organ Nuclei Segmentation

cGAN-based Multi-Organ Nuclei Segmentation

If you use this code, please cite:

Faisal Mahmood, Daniel Borders, Richard Chen, Gregory N. McKay, Kevan J. Salimian, Alexander Baras, and Nicholas J. Durr. "Deep Adversarial Training for Multi-Organ Nuclei Segmentation in Histopathology Images." arXiv preprint arXiv:1810.00236 (2018). arXiv Link Accepted to IEEE Transactions on Medical Imaging (In Press).

Setup

Prerequisites

  • Linux (Tested on Ubuntu 16.04)
  • NVIDIA GPU (Tested on Nvidia P100 using Google Cloud)
  • CUDA CuDNN (CPU mode and CUDA without CuDNN may work with minimal modification, but untested)
  • Pytorch>=0.4.0
  • torchvision>=0.2.1
  • dominate>=2.3.1
  • visdom>=0.1.8.3

Dataset

All image pairs must be 256x256 and paired together in 512x256 images. '.png' and '.jpg' files are acceptable. To avoid domain adpatation issues, sparse stain normalization is recommended for all test and train data, we used this tool. Data needs to be arranged in the following order:

SOMEPATH 
└── Datasets 
      └── XYZ_Dataset 
            β”œβ”€β”€ test
            └── train

Training

To train a model:

python train.py --dataroot <datapath> --name NU_SEG  --gpu_ids 0 --display_id 0 
--lambda_L1 70 --niter 200 --niter_decay 200 --pool_size 64 --loadSize 256 --fineSize 256
  • To view training losses and results, run python -m visdom.server and click the URL http://localhost:8097. For cloud servers replace localhost with your IP.
  • To epoch-wise intermediate training results, ./checkpoints/NU_SEG/web/index.html

Testing

To test the model:

python test.py --dataroot <datapath> --name NU_SEG --gpu_ids 0 --display_id 0 
--loadSize 256 --fineSize 256
  • The test results will be saved to a html file here: ./results/NU_SEG/test_latest/index.html.
  • Pretrained models can be downloaded here. Place the pretrained model in ./checkpoints/NU_SEG. This model was trained after sparse stain normalization, all test images should be normalized for best results, see the Dataset section for more information.

Issues

  • Please open new threads or report issues to [email protected]
  • Immidiate responce to minor issues may not be available.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Subsidized computing resources were provided by Google Cloud.

Reference

If you find our work useful in your research please consider citing our paper:

@inproceedings{mahmood2018adversarial,
  title     = {Adversarial Training for Multi-Organ Nuclei Segmentation in Computational Pathology Images},
  author    = {Faisal Mahmood, Daniel Borders, Richard Chen, Gregory McKay, Kevan J. Salimian, Alexander Baras, and Nicholas J. Durr},
  booktitle = {IEEE Transactions on Medical Imaging},
  year = {2018}
}

More Repositories

1

CLAM

Data-efficient and weakly supervised computational pathology on whole slide images - Nature Biomedical Engineering
Python
1,039
star
2

HIPT

Hierarchical Image Pyramid Transformer - CVPR 2022 (Oral)
Jupyter Notebook
497
star
3

PathomicFusion

Fusing Histology and Genomics via Deep Learning - IEEE TMI
Jupyter Notebook
269
star
4

UNI

Towards a general-purpose foundation model for computational pathology - Nature Medicine
Jupyter Notebook
251
star
5

CONCH

A vision-language foundation model for computational pathology - Nature Medicine
Python
191
star
6

PORPOISE

Pan-Cancer Integrative Histology-Genomic Analysis via Multimodal Deep Learning - Cancer Cell
Jupyter Notebook
179
star
7

TOAD

AI-based pathology predicts origins for cancers of unknown primary - Nature
Python
170
star
8

MCAT

Multimodal Co-Attention Transformer for Survival Prediction in Gigapixel Whole Slide Images - ICCV 2021
Jupyter Notebook
149
star
9

Patch-GCN

Context-Aware Survival Prediction using Patch-based Graph Convolutional Networks - MICCAI 2021
Python
114
star
10

HEST

HEST: Bringing Spatial Transcriptomics and Histopathology together
Python
101
star
11

SISH

Fast and scalable search of whole-slide images via self-supervised deep learning - Nature Biomedical Engineering
Python
94
star
12

MI-Zero

Visual Language Pretrained Multiple Instance Zero-Shot Transfer for Histopathology Images - CVPR 2023
Python
83
star
13

SurvPath

Modeling Dense Multimodal Interactions Between Biological Pathways and Histology for Survival Prediction - CVPR 2024
Python
81
star
14

TriPath

Analysis of 3D pathology samples using weakly supervised AI - Cell
Python
80
star
15

TANGLE

Transcriptomics-guided Slide Representation Learning in Computational Pathology - CVPR 2024
Python
64
star
16

PANTHER

Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology - CVPR 2024
Jupyter Notebook
57
star
17

HistoFL

Federated Learning for Computational Pathology - Medical Image Analysis
Python
44
star
18

MAPS

Machine learning for Analysis of Proteomics in Spatial biology - Nature Communications
Jupyter Notebook
42
star
19

CRANE

Deep learning enabled assessment of cardiac allograft rejection from endomyocardial biopsies- Nature Medicine
Python
28
star
20

MMP

Multimodal prototyping for cancer survival prediction - ICML 2024
Jupyter Notebook
27
star
21

varpool

Variance pooling to incorporate ITH in CPath models - MICCAI 2022
Python
22
star
22

multimodal-cancer-origin-prediction

Deep learning-based multimodal integration of histology and genomics to improves cancer origin prediction
Python
15
star
23

MADELEINE

MADELEINE: multi-stain slide representation learning (ECCV'24)
Python
12
star
24

CPATH_demographics

Demographic bias in misdiagnosis by computational pathology models - Nature Medicine
Python
12
star
25

MANTA

Multimodal AI for Renal Allograft Biopsy Assessment
Python
4
star
26

hest-website

Jekyll website for HEST-1k
CSS
2
star
27

EmbeddedAI-Scope

A 3D Printed Embedded AI-based Microscope for Pathology Diagnosis
Jupyter Notebook
1
star
28

MAXIM

MArker imputation model for multiple\underlineX IMages
Jupyter Notebook
1
star