RationAI/PanNuke

Dataset

PanNuke

19

3 commits

1 linked in READMEs

updated Dec 5, 2025

See the code

README

PanNuke

Dataset Description

Description

PanNuke is a semi-automatically generated dataset for nuclei instance segmentation and classification, providing comprehensive nuclei annotations across 19 tissue types and 5 distinct cell categories. The dataset includes a total of 189,744 labeled nuclei, each accompanied by an instance segmentation mask, and contains 7,901 images, each sized 256×256 pixels. The images were captured at x40 magnification with a resolution of 0.25 µm/pixel. The dataset is highly imbalanced, with the "Dead" nuclei category being particularly underrepresented.

Please note that the dataset was created by extracting patches from whole-slide images (WSIs). As a result, some nuclei located at the edges of patches may be cropped, with fewer than 10 visible pixels in certain cases.

Dataset Structure

The dataset is organized into three folds: fold1, fold2, and fold3, consistent with the original dataset structure. Each fold contains data in a tabular format with the following four columns:

  • image: The RGB tile of the sample.
  • instances: A list of nuclei instances. Each instance represents exactly one nucleus and is in binary format (1 - nucleus, 0 - background)
  • categories: An integer class label for each nucleus, corresponding to one of the following categories: 0. Neoplastic
    1. Inflammatory
    2. Connective
    3. Dead
    4. Epithelial
  • tissue: The integer tissue type from which the sample originates, belonging to one of these categories: 0. Adrenal Gland
    1. Bile Duct
    2. Bladder
    3. Breast
    4. Cervix
    5. Colon
    6. Esophagus
    7. Head & Neck
    8. Kidney
    9. Liver
    10. Lung
    11. Ovarian
    12. Pancreatic
    13. Prostate
    14. Skin
    15. Stomach
    16. Testis
    17. Thyroid
    18. Uterus

Citation

@inproceedings{gamper2019pannuke,
  title={PanNuke: an open pan-cancer histology dataset for nuclei instance segmentation and classification},
  author={Gamper, Jevgenij and Koohbanani, Navid Alemi and Benes, Ksenija and Khuram, Ali and Rajpoot, Nasir},
  booktitle={European Congress on Digital Pathology},
  pages={11--19},
  year={2019},
  organization={Springer}
}
@article{gamper2020pannuke,
  title={PanNuke Dataset Extension, Insights and Baselines},
  author={Gamper, Jevgenij and Koohbanani, Navid Alemi and Graham, Simon and Jahanifar, Mostafa and Khurram, Syed Ali and Azam, Ayesha and Hewitt, Katherine and Rajpoot, Nasir},
  journal={arXiv preprint arXiv:2003.10778},
  year={2020}
}
cell nuclei
medical

Contributors

matejpekar

3 commits

RationAI/PanNuke

Dataset

PanNuke

19

3 commits

1 linked in READMEs

updated Dec 5, 2025

See the code

README

PanNuke

Dataset Description

Description

PanNuke is a semi-automatically generated dataset for nuclei instance segmentation and classification, providing comprehensive nuclei annotations across 19 tissue types and 5 distinct cell categories. The dataset includes a total of 189,744 labeled nuclei, each accompanied by an instance segmentation mask, and contains 7,901 images, each sized 256×256 pixels. The images were captured at x40 magnification with a resolution of 0.25 µm/pixel. The dataset is highly imbalanced, with the "Dead" nuclei category being particularly underrepresented.

Please note that the dataset was created by extracting patches from whole-slide images (WSIs). As a result, some nuclei located at the edges of patches may be cropped, with fewer than 10 visible pixels in certain cases.

Dataset Structure

The dataset is organized into three folds: fold1, fold2, and fold3, consistent with the original dataset structure. Each fold contains data in a tabular format with the following four columns:

  • image: The RGB tile of the sample.
  • instances: A list of nuclei instances. Each instance represents exactly one nucleus and is in binary format (1 - nucleus, 0 - background)
  • categories: An integer class label for each nucleus, corresponding to one of the following categories: 0. Neoplastic
    1. Inflammatory
    2. Connective
    3. Dead
    4. Epithelial
  • tissue: The integer tissue type from which the sample originates, belonging to one of these categories: 0. Adrenal Gland
    1. Bile Duct
    2. Bladder
    3. Breast
    4. Cervix
    5. Colon
    6. Esophagus
    7. Head & Neck
    8. Kidney
    9. Liver
    10. Lung
    11. Ovarian
    12. Pancreatic
    13. Prostate
    14. Skin
    15. Stomach
    16. Testis
    17. Thyroid
    18. Uterus

Citation

@inproceedings{gamper2019pannuke,
  title={PanNuke: an open pan-cancer histology dataset for nuclei instance segmentation and classification},
  author={Gamper, Jevgenij and Koohbanani, Navid Alemi and Benes, Ksenija and Khuram, Ali and Rajpoot, Nasir},
  booktitle={European Congress on Digital Pathology},
  pages={11--19},
  year={2019},
  organization={Springer}
}
@article{gamper2020pannuke,
  title={PanNuke Dataset Extension, Insights and Baselines},
  author={Gamper, Jevgenij and Koohbanani, Navid Alemi and Graham, Simon and Jahanifar, Mostafa and Khurram, Syed Ali and Azam, Ayesha and Hewitt, Katherine and Rajpoot, Nasir},
  journal={arXiv preprint arXiv:2003.10778},
  year={2020}
}
cell nuclei
medical

Contributors

matejpekar

3 commits