Dataset Viewer
Auto-converted to Parquet Duplicate
image
image
mask
image
image_id
string
patient_id
string
tcga_id
string
institution
string
slice_idx
int32
num_slices
int32
has_tumor
bool
TCGA_CS_4941_19960909_1
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
1
23
false
TCGA_CS_4941_19960909_2
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
2
23
false
TCGA_CS_4941_19960909_3
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
3
23
false
TCGA_CS_4941_19960909_4
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
4
23
false
TCGA_CS_4941_19960909_5
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
5
23
false
TCGA_CS_4941_19960909_6
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
6
23
false
TCGA_CS_4941_19960909_7
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
7
23
false
TCGA_CS_4941_19960909_8
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
8
23
false
TCGA_CS_4941_19960909_9
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
9
23
false
TCGA_CS_4941_19960909_10
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
10
23
false
TCGA_CS_4941_19960909_11
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
11
23
true
TCGA_CS_4941_19960909_12
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
12
23
true
TCGA_CS_4941_19960909_13
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
13
23
true
TCGA_CS_4941_19960909_14
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
14
23
true
TCGA_CS_4941_19960909_15
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
15
23
true
TCGA_CS_4941_19960909_16
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
16
23
true
TCGA_CS_4941_19960909_17
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
17
23
true
TCGA_CS_4941_19960909_18
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
18
23
true
TCGA_CS_4941_19960909_19
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
19
23
false
TCGA_CS_4941_19960909_20
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
20
23
false
TCGA_CS_4941_19960909_21
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
21
23
false
TCGA_CS_4941_19960909_22
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
22
23
false
TCGA_CS_4941_19960909_23
TCGA_CS_4941_19960909
TCGA_CS_4941
CS
23
23
false
TCGA_CS_4942_19970222_1
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
1
20
false
TCGA_CS_4942_19970222_2
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
2
20
false
TCGA_CS_4942_19970222_3
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
3
20
false
TCGA_CS_4942_19970222_4
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
4
20
false
TCGA_CS_4942_19970222_5
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
5
20
false
TCGA_CS_4942_19970222_6
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
6
20
false
TCGA_CS_4942_19970222_7
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
7
20
false
TCGA_CS_4942_19970222_8
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
8
20
false
TCGA_CS_4942_19970222_9
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
9
20
true
TCGA_CS_4942_19970222_10
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
10
20
true
TCGA_CS_4942_19970222_11
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
11
20
true
TCGA_CS_4942_19970222_12
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
12
20
true
TCGA_CS_4942_19970222_13
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
13
20
true
TCGA_CS_4942_19970222_14
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
14
20
true
TCGA_CS_4942_19970222_15
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
15
20
false
TCGA_CS_4942_19970222_16
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
16
20
false
TCGA_CS_4942_19970222_17
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
17
20
false
TCGA_CS_4942_19970222_18
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
18
20
false
TCGA_CS_4942_19970222_19
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
19
20
false
TCGA_CS_4942_19970222_20
TCGA_CS_4942_19970222
TCGA_CS_4942
CS
20
20
false
TCGA_CS_4943_20000902_1
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
1
20
false
TCGA_CS_4943_20000902_2
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
2
20
false
TCGA_CS_4943_20000902_3
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
3
20
false
TCGA_CS_4943_20000902_4
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
4
20
false
TCGA_CS_4943_20000902_5
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
5
20
false
TCGA_CS_4943_20000902_6
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
6
20
false
TCGA_CS_4943_20000902_7
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
7
20
false
TCGA_CS_4943_20000902_8
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
8
20
false
TCGA_CS_4943_20000902_9
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
9
20
false
TCGA_CS_4943_20000902_10
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
10
20
false
TCGA_CS_4943_20000902_11
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
11
20
false
TCGA_CS_4943_20000902_12
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
12
20
true
TCGA_CS_4943_20000902_13
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
13
20
true
TCGA_CS_4943_20000902_14
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
14
20
true
TCGA_CS_4943_20000902_15
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
15
20
true
TCGA_CS_4943_20000902_16
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
16
20
true
TCGA_CS_4943_20000902_17
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
17
20
true
TCGA_CS_4943_20000902_18
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
18
20
true
TCGA_CS_4943_20000902_19
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
19
20
true
TCGA_CS_4943_20000902_20
TCGA_CS_4943_20000902
TCGA_CS_4943
CS
20
20
false
TCGA_CS_4944_20010208_1
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
1
20
false
TCGA_CS_4944_20010208_2
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
2
20
false
TCGA_CS_4944_20010208_3
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
3
20
false
TCGA_CS_4944_20010208_4
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
4
20
false
TCGA_CS_4944_20010208_5
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
5
20
false
TCGA_CS_4944_20010208_6
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
6
20
true
TCGA_CS_4944_20010208_7
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
7
20
true
TCGA_CS_4944_20010208_8
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
8
20
true
TCGA_CS_4944_20010208_9
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
9
20
true
TCGA_CS_4944_20010208_10
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
10
20
true
TCGA_CS_4944_20010208_11
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
11
20
true
TCGA_CS_4944_20010208_12
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
12
20
true
TCGA_CS_4944_20010208_13
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
13
20
true
TCGA_CS_4944_20010208_14
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
14
20
true
TCGA_CS_4944_20010208_15
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
15
20
false
TCGA_CS_4944_20010208_16
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
16
20
false
TCGA_CS_4944_20010208_17
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
17
20
false
TCGA_CS_4944_20010208_18
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
18
20
false
TCGA_CS_4944_20010208_19
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
19
20
false
TCGA_CS_4944_20010208_20
TCGA_CS_4944_20010208
TCGA_CS_4944
CS
20
20
false
TCGA_CS_5393_19990606_1
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
1
20
false
TCGA_CS_5393_19990606_2
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
2
20
false
TCGA_CS_5393_19990606_3
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
3
20
false
TCGA_CS_5393_19990606_4
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
4
20
false
TCGA_CS_5393_19990606_5
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
5
20
true
TCGA_CS_5393_19990606_6
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
6
20
true
TCGA_CS_5393_19990606_7
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
7
20
true
TCGA_CS_5393_19990606_8
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
8
20
true
TCGA_CS_5393_19990606_9
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
9
20
true
TCGA_CS_5393_19990606_10
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
10
20
true
TCGA_CS_5393_19990606_11
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
11
20
true
TCGA_CS_5393_19990606_12
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
12
20
true
TCGA_CS_5393_19990606_13
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
13
20
false
TCGA_CS_5393_19990606_14
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
14
20
false
TCGA_CS_5393_19990606_15
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
15
20
false
TCGA_CS_5393_19990606_16
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
16
20
false
TCGA_CS_5393_19990606_17
TCGA_CS_5393_19990606
TCGA_CS_5393
CS
17
20
false
End of preview. Expand in Data Studio

TCGA-LGG-Mask — LGG Segmentation Dataset (Brain MRI)

Mirror of the LGG Segmentation Dataset ("Brain MRI segmentation"), the canonical release by Mateusz Buda on Kaggle (mateuszbuda/lgg-mri-segmentation), associated with:

Buda M., Saha A., Mazurowski M.A. Association of genomic subtypes of lower-grade gliomas with shape features automatically extracted by a deep learning algorithm. Computers in Biology and Medicine 109:218-225, 2019.

Brain MRI of 110 patients from the TCIA TCGA-LGG (lower-grade glioma) collection, with manual FLAIR-abnormality (tumor) segmentation masks created by the Mazurowski lab (Duke) and radiologist-verified.

⚠️ Naming note

Despite "Mask" in the repository name, this is NOT a masks-only set — it is the full image + mask paired segmentation dataset (3,929 image slices and 3,929 corresponding binary masks).

⚠️ Cross-dataset overlap (evaluation hazard)

These ~110 TCGA-LGG patients overlap with the BraTS family (BraTS 2017+ training data was built from the TCIA TCGA-GBM/LGG collections; ~108 pre-operative TCGA-LGG subjects were folded into BraTS). If you benchmark against any BraTS-derived model or split, exclude the TCGA-LGG intersection first to avoid leakage (same pattern as the documented UCSF-PDGM ⊃ BraTS hazard).

  • Cross-reference key: the tcga_id column (e.g. TCGA_HT_8018). BraTS TCGA mapping files (TCIA / CBICA) link these to BraTS subject IDs.
  • Labels differ: here the mask is a single binary whole-FLAIR-abnormality region; BraTS uses multi-class enhancing / edema / necrosis labels. The masks are therefore not interchangeable even for shared subjects.

Composition

  • Patients (volumes): 110 — sites: DU 45, HT 34, CS 16, FG 14, EZ 1
  • Slices: 3,929 (20-88 per patient, mean 35.7), all 256×256
  • Tumor-containing slices: 1,373 · empty slices: 2,556
  • Image channels: 3-channel RGB TIFF stacking pre-contrast / FLAIR / post-contrast sequences (re-encoded here as lossless PNG)
  • Mask: single tier — manual binary FLAIR-abnormality mask (no multi-rater tiers)

Splits

The LGG dataset has no official train/val/test split (the paper used cross-validation). This release ships a single train split; the EasyMedSeg dataloader maps val/testtrain. patient_id + slice_idx are preserved so the 110 per-patient volumes can be reconstructed for 3D/sequence evaluation.

Schema

Column Type Description
image Image 3-channel slice, RGB = pre-contrast / FLAIR / post-contrast
mask Image Binary FLAIR-abnormality mask (L mode, 0/255)
image_id string Full slice id, e.g. TCGA_HT_8018_19970411_14
patient_id string Source folder (carries acquisition date)
tcga_id string TCGA patient id, e.g. TCGA_HT_8018 — join key + BraTS cross-ref
institution string TCGA site code (CS / DU / EZ / FG / HT)
slice_idx int32 Slice number parsed from the filename
num_slices int32 Total slices for this patient (volume length)
has_tumor bool True iff the mask has any non-zero pixel

Genomic / clinical metadata

data.csv (at the repository root) carries the per-patient genomic-cluster and clinical table from the original release (RNASeq / Methylation / miRNA / CN / RPPA / Oncosign / COC clusters, histological grade, age, etc.). Join it to the parquet rows on tcga_id (its Patient column uses the same TCGA_XX_NNNN key).

Provenance

Raw imaging originates from TCIA's TCGA-LGG collection; the FLAIR-abnormality masks were produced by the Mazurowski lab (Duke) and distributed via Kaggle and GitHub (mateuszbuda/brain-segmentation-pytorch). Patient count (110) matches the paper. This mirror re-encodes the lossless source TIFFs as PNG inside parquet and does not otherwise modify the data.

License

CC BY-NC-SA 4.0 (per the Kaggle release metadata). Research, non-commercial, share-alike with attribution.

Citation

@article{Buda2019LGG,
  title   = {Association of genomic subtypes of lower-grade gliomas with shape
             features automatically extracted by a deep learning algorithm},
  author  = {Buda, Mateusz and Saha, Ashirbani and Mazurowski, Maciej A.},
  journal = {Computers in Biology and Medicine},
  volume  = {109},
  pages   = {218--225},
  year    = {2019},
  doi     = {10.1016/j.compbiomed.2019.05.002}
}
Downloads last month
-