Datasets:
image_id stringlengths 48 55 | image imagewidth (px) 512 512 | slide_id stringclasses 155
values | patient_id stringclasses 95
values | grade stringclasses 4
values | cribriform bool 2
classes | label int32 0 3 |
|---|---|---|---|---|---|---|
16B0001851_Block_Region_1_0_0_xini_6803_yini_59786 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_0_1_xini_7827_yini_59786 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_0_2_xini_8851_yini_59786 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_0_3_xini_9875_yini_59786 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_1_0_xini_6803_yini_60810 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_1_1_xini_7827_yini_60810 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_1_2_xini_8851_yini_60810 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_1_3_xini_9875_yini_60810 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_1_4_xini_10899_yini_60810 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_1_5_xini_11923_yini_60810 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_2_1_xini_7827_yini_61834 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_1_2_3_xini_9875_yini_61834 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_2_4_xini_10899_yini_61834 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_2_5_xini_11923_yini_61834 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_3_3_xini_9875_yini_62858 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_3_4_xini_10899_yini_62858 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_3_5_xini_11923_yini_62858 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_3_7_xini_13971_yini_62858 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_4_6_xini_12947_yini_63882 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_4_7_xini_13971_yini_63882 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_4_8_xini_14995_yini_63882 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_5_6_xini_12947_yini_64906 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_5_7_xini_13971_yini_64906 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_5_8_xini_14995_yini_64906 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_5_9_xini_16019_yini_64906 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_6_6_xini_12947_yini_65930 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_6_7_xini_13971_yini_65930 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_6_8_xini_14995_yini_65930 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_6_9_xini_16019_yini_65930 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_7_10_xini_17043_yini_66954 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_7_7_xini_13971_yini_66954 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_7_8_xini_14995_yini_66954 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_7_9_xini_16019_yini_66954 | 16B0001851 | 667360 | G4 | true | 2 | |
16B0001851_Block_Region_1_8_10_xini_17043_yini_67978 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_8_11_xini_18067_yini_67978 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_8_9_xini_16019_yini_67978 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_9_10_xini_17043_yini_69002 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_1_9_11_xini_18067_yini_69002 | 16B0001851 | 667360 | G4 | false | 2 | |
16B0001851_Block_Region_3_0_0_xini_10090_yini_2445 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_0_1_xini_11114_yini_2445 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_0_2_xini_12138_yini_2445 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_1_0_xini_10090_yini_3469 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_1_1_xini_11114_yini_3469 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_1_2_xini_12138_yini_3469 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_1_3_xini_13162_yini_3469 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_2_0_xini_10090_yini_4493 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_2_1_xini_11114_yini_4493 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0001851_Block_Region_3_2_2_xini_12138_yini_4493 | 16B0001851 | 667360 | G5 | false | 3 | |
16B0003388_Block_Region_13_10_1_xini_8636_yini_63869 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_10_2_xini_9660_yini_63869 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_10_3_xini_10684_yini_63869 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_11_1_xini_8636_yini_64893 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_11_2_xini_9660_yini_64893 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_11_3_xini_10684_yini_64893 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_11_4_xini_11708_yini_64893 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_12_2_xini_9660_yini_65917 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_12_3_xini_10684_yini_65917 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_12_4_xini_11708_yini_65917 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_13_2_xini_9660_yini_66941 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_13_3_xini_10684_yini_66941 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_13_4_xini_11708_yini_66941 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_14_3_xini_10684_yini_67965 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_14_4_xini_11708_yini_67965 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_14_5_xini_12732_yini_67965 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_15_3_xini_10684_yini_68989 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_15_4_xini_11708_yini_68989 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_15_5_xini_12732_yini_68989 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_15_6_xini_13756_yini_68989 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_16_4_xini_11708_yini_70013 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_16_5_xini_12732_yini_70013 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_16_6_xini_13756_yini_70013 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_16_7_xini_14780_yini_70013 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_17_5_xini_12732_yini_71037 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_17_6_xini_13756_yini_71037 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_17_7_xini_14780_yini_71037 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_17_8_xini_15804_yini_71037 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_18_6_xini_13756_yini_72061 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_18_7_xini_14780_yini_72061 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_18_8_xini_15804_yini_72061 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_19_6_xini_13756_yini_73085 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_19_7_xini_14780_yini_73085 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_4_0_xini_7612_yini_57725 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_4_1_xini_8636_yini_57725 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_4_2_xini_9660_yini_57725 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_5_0_xini_7612_yini_58749 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_5_1_xini_8636_yini_58749 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_5_2_xini_9660_yini_58749 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_5_3_xini_10684_yini_58749 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_6_0_xini_7612_yini_59773 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_6_1_xini_8636_yini_59773 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_6_2_xini_9660_yini_59773 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_6_3_xini_10684_yini_59773 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_7_1_xini_8636_yini_60797 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_7_2_xini_9660_yini_60797 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_7_3_xini_10684_yini_60797 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_8_1_xini_8636_yini_61821 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_8_2_xini_9660_yini_61821 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_8_3_xini_10684_yini_61821 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_9_1_xini_8636_yini_62845 | 16B0003388 | 325687 | G4 | false | 2 | |
16B0003388_Block_Region_13_9_2_xini_9660_yini_62845 | 16B0003388 | 325687 | G4 | false | 2 |
SICAPv2 — Prostate Histology Patches with Gleason Grade Annotations
This dataset card was generated with the help of generative AI and checked against the original sources. If you find an error or anything unclear, please open a discussion in the Community tab of this repository.
This dataset is derived from SICAPv2 (Silva-Rodríguez et al., 2020), a database of prostate histology whole slide images with both global Gleason score annotations and patch-level Gleason grade annotations, originally hosted on Mendeley Data. Here, we provide the labelled image patches. We kept the original JPG patches unchanged and added the slide ID, the patient ID, the Gleason grade, a cribriform flag and an integer label from the original annotation files. The dataset is designed for patch-level Gleason grading of prostate histology.
📦 Dataset Structure
The dataset has a single train split, with each row corresponding to a single H&E image patch:
| Field | Description |
|---|---|
image_id |
Original patch filename without extension |
image |
RGB H&E-stained prostate histology patch (JPG) |
slide_id |
Whole slide image the patch was extracted from (the prefix of the patch filename) |
patient_id |
Patient ID from the original whole-slide label file |
grade |
Patch-level Gleason grade: NC, G3, G4 or G5 |
cribriform |
True if the patch is annotated with the cribriform Gleason 4 pattern |
label |
Integer grade: 0 = NC, 1 = G3, 2 = G4, 3 = G5 |
⚙️ Preprocessing
SICAPv2.zipwas downloaded from Mendeley Data (9xxm58dvs3, version 2)- Patches were kept as the original JPG files (no re-encoding, resizing or color normalization)
- Patch labels were taken from the original partition files, which give each patch a one-hot Gleason grade (
NC,G3,G4,G5) and a cribriform flag (G4C) slide_idwas taken from the patch filename, andpatient_idfrom the original whole-slide label filelabelis the index ofgradein the listNC, G3, G4, G5- The original partitions (cross-validation folds and test set) and the segmentation masks were not included
🚀 Usage
from datasets import load_dataset
import matplotlib.pyplot as plt
from sklearn.model_selection import GroupShuffleSplit
ds = load_dataset("chehablab/SICAPv2", split="train")
# One example patch per Gleason grade
grades = ["NC", "G3", "G4", "G5"]
labels = ds["label"]
fig, axes = plt.subplots(1, len(grades), figsize=(12, 3))
for ax, label in zip(axes, range(len(grades))):
sample = ds[labels.index(label)]
ax.imshow(sample["image"])
ax.set_title(f"{grades[label]} | slide {sample['slide_id']}")
ax.axis("off")
plt.tight_layout()
plt.show()
# Split by patient so no patient appears in both sets
gss = GroupShuffleSplit(n_splits=1, test_size=0.2, random_state=0)
train_idx, test_idx = next(gss.split(range(len(ds)), groups=ds["patient_id"]))
train, test = ds.select(train_idx), ds.select(test_idx)
🏷️ Feature Descriptions
Gleason Grades
Patch-level grades following the Gleason grading system for prostate adenocarcinoma:
- NC (
label=0) — Non-cancerous tissue - G3 (
label=1) — Gleason pattern 3: well-formed, discrete glands - G4 (
label=2) — Gleason pattern 4: fused, poorly formed or cribriform glands - G5 (
label=3) — Gleason pattern 5: no glandular differentiation (solid sheets, cords or single cells)
Cribriform Pattern
cribriform marks patches annotated with the cribriform Gleason 4 pattern, a subtype of G4 associated with worse prognosis. It can be used for cribriform pattern detection.
Image Specifications
- Modality: Brightfield microscopy of H&E-stained prostate tissue (digitized whole slide images)
- Content: Patches extracted from whole slide images
- Format: RGB, JPG
🧪 Use Cases
- Patch-level Gleason grading (NC, G3, G4, G5)
- Cancer vs. non-cancer classification of prostate tissue
- Cribriform pattern detection
- Representation learning and feature extraction for computational pathology
⚠️ Important Notes
- No official split in this release: The dataset has a single
trainsplit. Split bypatient_id(see Usage), since many patches come from the same slide and patient. The original release also provides patient-based cross-validation folds and a test partition; see the original Mendeley record. - Correlated patches: Patches from the same slide can overlap and share staining, so image-level splits overestimate performance.
- Class imbalance: The number of patches varies between grades. Use weighted sampling or class balancing as needed.
- Masks not included: The original release also provides annotation masks; see the original Mendeley record for segmentation tasks.
📚 Citation
This dataset is derived from data originally published on Mendeley Data under a CC BY 4.0 license. If you use this dataset, please acknowledge Chehab Lab and cite the original SICAPv2 dataset:
@misc{SilvaRodriguez2020SICAPv2Data,
author = {Silva-Rodr{\'i}guez, Julio},
title = {SICAPv2 - Prostate Whole Slide Images with Gleason Grades Annotations [dataset]},
year = {2020},
publisher = {Mendeley Data},
version = {2},
doi = {10.17632/9xxm58dvs3.2}
}
Additionally, cite the research paper associated with this dataset:
@article{SilvaRodriguez2020Gleason,
author = {Silva-Rodr{\'i}guez, J. and Colomer, A. and Sales, M. A. and Molina, R. and Naranjo, V.},
title = {Going deeper through the Gleason scoring scale: An automatic end-to-end system for histology prostate grading and cribriform pattern detection},
journal = {Computer Methods and Programs in Biomedicine},
volume = {195},
pages = {105637},
year = {2020},
doi = {10.1016/j.cmpb.2020.105637}
}
✉️ Original Authors
Julio Silva-Rodríguez, Adrián Colomer, María A. Sales, Rafael Molina, Valery Naranjo
Mendeley Data: https://data.mendeley.com/datasets/9xxm58dvs3/2 (original files)
📜 License
This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license, consistent with the original SICAPv2 dataset.
You may copy, modify, distribute, and use the data for any purpose (commercial or non-commercial), provided that appropriate credit is given to Silva-Rodríguez et al., Mendeley Data, and the original paper.
Chehab Lab @ 2026
- Downloads last month
- -
