# IDC FDG-PET-CT-Lesions: Lymphoma, Melanoma, Non-small Cell Lung Cancer CT, PET (900 patients)

## Facts

- Provider: NCI Imaging Data Commons; FDG-PET-CT-Lesions contributors; tables and sample by Scigantic
- License: Per series (series.parquet license_short_name): CC BY 4.0 3,042. Cite the source DOI(s) and the IDC.
- Size: 6 parquet tables plus 244 sample DICOM files (83 MB)
- Records: 900 patients, 1,014 studies, 3,042 series; 409.13 GB in IDC
- Stored at: Amazon S3, s3://scigantic-idc-open/fdg_pet_ct_lesions (us-east-1)
- Access: public, readable without an account
- DOI: https://doi.org/10.7937/gkr0-xv29
- Category: Health & Biomedical
- Source: https://portal.imaging.datacommons.cancer.gov/explore/filters/?collection_id=fdg_pet_ct_lesions
- Page: https://scigantic.com/archive/c90ac470-bebc-5dd4-b0ce-523636c2b89a
- Keywords: Health & Biomedical, CT, image segmentation, AWS Open Data

## About

FDG-PET-CT-Lesions on the NCI Imaging Data Commons (IDC v25): 900 patients, 1,014 studies, 3,042 DICOM series, 409.13 GB; segmentations of Tissue. Cancer type: Lymphoma, Melanoma, Non-small Cell Lung Cancer; location: lung, lymph node, skin of body. Modalities: CT 1,014 series, PT 1,014 series, SEG 1,014 series. Segmentations (1,014 SEG series; manual 1,014) cover, by number of series: Tissue (1,014). This Scigantic archive is the collection's complete series-, study- and patient-level metadata as parquet (from idc-index, IDC v25), 1 IDC clinical table(s) with a column dictionary, and a real sample of the images: one PT series, complete (79 MB, CC BY 4.0); one SEG series, complete (4 MB, CC BY 4.0). Every series row carries its public S3 location (s3://idc-open-data/ /), so any series can be pulled on demand with anonymous boto3; the collection itself is not copied. License: CC BY 4.0 (3,042 series). IDC's description: 1,014 whole-body FDG-PET/CT studies from 900 patients, acquired at University Hospital Tübingen (2014-2018) on a single Siemens Biograph mCT: 501 studies of patients with malignant lymphoma, melanoma or non-small cell lung cancer (NSCLC), and 513 negative controls without PET-positive malignant lesions. All FDG-avid malignant lesions were manually segmented on the PET images and are provided as DICOM SEG. The dataset was used in the autoPET MICCAI 2022 (https://autopet.grand-challenge.org/) challenge. IDC hosts the defaced version of the images, which TCIA released under CC BY 4.0; the original images remain TCIA Restricted.

## Load the data

```python
# FDG-PET-CT-Lesions: what is in the collection, and one real PT series from the sample folder
import os, glob, pandas as pd, numpy as np
M = os.environ.get('SCIGANTIC_MOUNT_PATH', '/mnt/archive')
series = pd.read_parquet(f'{M}/series.parquet')
print(series.groupby('Modality').agg(series=('SeriesInstanceUID', 'count'), patients=('PatientID', 'nunique'), GB=('series_size_MB', lambda s: round(s.sum() / 1024, 1))))
import pydicom
files = sorted(glob.glob(f'{M}/sample/PT_1.3.6.1.4.1.14519.5.2.1.269817471495327477714083258815666184166/*.dcm'))
ds = pydicom.dcmread(files[0])
print(len(files), 'files;', ds.Modality, ds.get('Rows'), 'x', ds.get('Columns'), ds.get('ImageType'))
```

Written for a Scigantic notebook, where /mnt/archive (SCIGANTIC_MOUNT_PATH) is the mounted dataset.

## Data structure

| Field | Type |
| --- | --- |
| `collection_id` | str |
| `PatientID` | str |
| `SeriesInstanceUID` | str |
| `StudyInstanceUID` | str |
| `source_DOI` | str |
| `PatientAge` | str |
| `PatientSex` | str |
| `StudyDate` | str |
| `BodyPartExamined` | str |
| `Modality` | str |
| `Manufacturer` | str |
| `SeriesDescription` | str |
| `instanceCount` | Int64 |
| `license_short_name` | str |
| `aws_bucket` | str |
| `crdc_series_uuid` | str |
| `series_aws_url` | str |
| `series_size_MB` | float64 |

Files:

```text
clinical/dictionary.parquet  22 x 4
clinical/fdg_pet_ct_lesions_clinical.parquet  3,042 x 22
patients.parquet  900 x 7
samples.parquet  2 x 13
series.parquet  3,042 x 31
studies.parquet  1,014 x 9
sample/PT_1.3.6.1.4.1.14519.5.2.1.269817471495327477714083258815666184166/  243 .dcm (78.9 MB, CC BY 4.0)
sample/SEG_1.3.6.1.4.1.14519.5.2.1.307310350378268960217419474630983173839/  1 .dcm (4.1 MB, CC BY 4.0)
```

Example file: `series.parquet row: PatientID PETCT_0011f3deaf, Modality CT, 391 instances, 206.5 MB, s3://idc-open-data/fddb1857-7a7a-438c-b3b4-7257fd4ecf3d/*`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/c90ac470-bebc-5dd4-b0ce-523636c2b89a
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/c90ac470-bebc-5dd4-b0ce-523636c2b89a
- Over MCP: `get_schema_card` with id `c90ac470-bebc-5dd4-b0ce-523636c2b89a` at https://api.scigantic.com/mcp

## Related topics

- [Image segmentation datasets](https://scigantic.com/topics/image-segmentation)
- [Health & Biomedical datasets](https://scigantic.com/topics/health-and-biomedical)
- [CT datasets](https://scigantic.com/topics/ct)
