Skip to content

Commit 2094682

Browse files
Merge pull request #12 from ChristianHinge/main
docs/data-background.md
2 parents fbcf8b2 + 21a1145 commit 2094682

2 files changed

Lines changed: 32 additions & 109 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Note that no PET reconstruction experience is needed to participate in the chall
4343
| Guide | Description |
4444
|-------|-------------|
4545
| [Rules](docs/rules.md) | All rules for participating teams including training data policy, and pretraining policy |
46-
| [PET Background](docs/pet-background.md) | PET physics and attenuation correction — start here if you're new to PET |
46+
| [Data Background](docs/data-background.md) | Details dat acquisition, preprocessing, and alignment of modalities |
4747
| [Reconstruction Pipeline](docs/reconstruction.md) | How the pseudo-CT is turned into an AC-PET image; how to run it locally |
4848
| [Submission Guide](docs/submission-guide.md) | Validation, dry-run, and final submission phases explained |
4949
| [Docker Packaging](docs/docker-packaging.md) | How to containerize your model, with baseline as a worked example |

docs/data-background.md

Lines changed: 31 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,45 @@
1-
[WIP]
1+
# Data Background
22

3-
# PET Imaging Background
3+
Understanding how the input features were acquired — and crucially, *when* — helps you reason about their alignment with the ground-truth CT and each other. All participants are healthy controls.
44

5-
This guide is for participants who are familiar with medical imaging (MRI, CT) but have not worked extensively with PET. It covers the concepts you need to understand the challenge task, the data, and the evaluation metrics.
5+
## Acquisition timeline
66

7-
---
7+
All data was acquired on two scanners at Rigshospitalet, Copenhagen:
88

9-
## What is PET?
9+
- **PET/CT scanner**: Siemens Biograph Vision Quadra (long axial field-of-view)
10+
- **MRI scanner**: Siemens MAGNETOM Vida 3T (separate room, different scanner)
1011

11-
**Positron Emission Tomography (PET)** is a functional imaging modality. Unlike CT or MRI, which image anatomy, PET images *metabolic activity*: how actively tissues are taking up a radiotracer.
12+
A typical session ran as follows:
1213

13-
The most common radiotracer is **FDG** (fluorodeoxyglucose), a glucose analogue. Tissues with high metabolic activity (tumors, brain, heart) accumulate more FDG. The radiotracer emits positrons, which annihilate with electrons to produce two 511 keV gamma rays traveling in opposite directions. Coincident detection of these pairs is what forms the signal.
14+
```
15+
t = -2 min Topogram (2D scout X-ray, ~2 min before CT, duration ~7s)
16+
t = 0 min Low-dose CT acquisition (duration ~7s)
17+
t = 2 min 18F-FDG injection
18+
t = 2-72 min Dynamic PET acquisition (70 minutes continuous)
19+
└─ NAC-PET and PET reconstructed from t = 50–70 min window
20+
(same day) MRI on a separate scanner (duration ~25s per chunk)
21+
```
1422

15-
The raw detector data — called a **sinogram** — captures projection counts at different angles and offsets, analogous to a CT sinogram. From this, an image is reconstructed (usually with iterative algorithms like **OSEM**).
23+
## Feature modalities and alignment
1624

17-
---
25+
The four input modalities span a spectrum from *well-aligned but low-quality* to *high-quality but poorly aligned* relative to the ground-truth CT:
1826

19-
## The Attenuation Problem
27+
### Topogram (`topogram.nii.gz`)
28+
A 2D sagittal scout X-ray acquired roughly 2 minutes before the CT. It is the most temporally and spatially aligned feature, but has very limited anatomical detail — it is a single 2D projection with coarse resolution. The topogram and CT share the same bed position and scanner table.
2029

21-
511 keV photons passing through tissue are attenuated (absorbed or scattered). Without correcting for this, tissues deep inside the body appear artificially dim — the reconstructed image would be quantitatively wrong.
30+
### NAC-PET (`nacpet.nii.gz`)
31+
The non-attenuation-corrected PET, reconstructed from the **50–70 minute** window of the dynamic scan. This is the same scanner as the CT, so bed positioning is roughly preserved, but ~50 minutes elapsed between the CT and the PET window. Over this time, gross body position is stable, but peripheral structures (arms, fingers, legs) may have shifted a bit. NAC-PET encodes useful soft-tissue contrast and body shape, and has the same matrix and affine as the ground-truth CT.
2232

23-
**Attenuation correction (AC)** compensates for this by estimating how much signal was lost along each line of response. The correction factor for each line depends on the total attenuation integral through the body along that path.
33+
### MRI (`mri_chunk_*` / `mri_combined_*`)
34+
Whole-body DIXON MRI acquired on a **separate scanner** the same day as the PET/CT (for 95/99 participants; 4 were scanned 9–89 days later). The MRI provides excellent soft-tissue contrast and anatomical detail, but it is not inherently aligned to PET/CT space. The DIXON MRI sequence used is designed specifically to capture anatomical informing relevant for attenuation correction. **The whole-body image was acquired in four sequential scans of 25s coressponding to four body chunks**. Prior to each acquisition the participant was asked to take a deep breath and hold still. Since participants were not asked to hold their breath during Topogram, CT or PET acquisition, the lung volume is often larger on the MRI. Participants were placed head first supine with arms down the side in both PET/CT and MRI, but the use of coils, different beds and raisable head rests makes the MRI-to-PET/CT alignment poor. A rigid translation (no rotation) was applied to bring the MRI into approximate PET/CT alignment. Whether to incorporate additional registration as a preprocessing step is left to the participant.
2435

25-
In clinical **PET/CT** scanners, a CT scan acquired immediately before the PET scan provides the attenuation map:
36+
### Summary
2637

27-
1. Convert CT Hounsfield units → **linear attenuation coefficients at 511 keV** (the μ-map)
28-
2. Forward-project the μ-map to compute the **Attenuation Correction Factor (ACF)** sinogram
29-
3. Apply the ACF to the raw PET sinogram before reconstruction
38+
| Feature | Alignment to CT | Anatomical quality |
39+
|---|---|---|
40+
| Topogram | Excellent (same scan, ~2 min prior) | Low (2D projection) |
41+
| NAC-PET | Good (same scanner, ~50 min later) | Moderate |
42+
| MRI | Approximate (rigid translation only) | High |
3043

31-
CT is the primary source of radiation dose in a PET/CT exam. Eliminating it by predicting a pseudo-CT from non-ionizing inputs (NAC-PET, MRI) is particularly important for radiation-sensitive populations: children, pregnant patients, and patients requiring frequent follow-up scans.
32-
33-
---
34-
35-
## HU → μ Conversion
36-
37-
Hounsfield units (HU) encode X-ray attenuation relative to water (water = 0 HU, air = −1000 HU). The conversion to linear attenuation coefficients at 511 keV follows a **bilinear model** (Carney et al. 2006):
38-
39-
| Tissue | HU range | Formula |
40-
|--------|----------|---------|
41-
| Air / soft tissue | HU ≤ 0 | μ = 9.6 × 10⁻⁵ × (HU + 1000) |
42-
| Bone | HU > 0 | μ = 9.6 × 10⁻⁵ × 1000 + bone_slope × HU |
43-
44-
The bone slope depends on X-ray tube voltage (kVp). This challenge uses 120 kVp (bone_slope = 5.10 × 10⁻⁵ cm⁻¹/HU).
45-
46-
The resulting μ-map has units of cm⁻¹ and is used directly in the reconstruction pipeline.
47-
48-
---
49-
50-
## What is a Sinogram?
51-
52-
A sinogram stores the raw measured (or corrected) projection data from the PET detector ring. Each row corresponds to a different angular view; each column to a different radial offset. Together they encode the line-integral of activity along every line of response sampled by the detector.
53-
54-
The challenge dataset provides three sinograms per subject (under `recon/`):
55-
56-
| File | Contents |
57-
|------|---------|
58-
| `prompts_rd85.*` | Raw prompt coincidences (signal + background) |
59-
| `mult_nac_rd85.*` | Multiplicative corrections (normalization, detector efficiency, decay) |
60-
| `add_nac_rd85.*` | Additive background estimate (scatter + randoms) |
61-
62-
You do **not** need to work with sinograms directly — the reconstruction pipeline (`src/recon/`) handles everything. But understanding that your pseudo-CT affects the ACF, which is applied to these sinograms before reconstruction, explains why CT accuracy matters for PET quality.
63-
64-
---
65-
66-
## Standardized Uptake Value (SUV)
67-
68-
Raw PET voxel values are proportional to activity concentration (MBq/mL) but vary with injected dose and patient weight — making cross-patient comparisons difficult. **SUV** normalizes for this:
69-
70-
$$\text{SUV} = \frac{\text{voxel activity concentration [kBq/mL]}}{\text{injected dose [kBq] / body weight [g]}}$$
71-
72-
In this challenge, injected dose metadata is not available. Instead, SUV is estimated using the total PET signal and the body mask volume as a weight proxy — consistent across all comparisons.
73-
74-
A perfect pseudo-CT that introduces no attenuation error would produce the same SUV distribution as the ground-truth CT-AC PET. Errors in the μ-map cause regional SUV biases, which the evaluation metrics quantify.
75-
76-
---
77-
78-
## Why MRI + Topogram?
79-
80-
Predicting a CT-quality attenuation map from PET alone is difficult — the NAC-PET has poor tissue contrast and geometric distortion from attenuation effects. MRI and the topogram add complementary anatomical information:
81-
82-
- **DIXON MRI**: A fat/water separation sequence. The in-phase and out-of-phase images allow segmentation of fat vs. soft tissue, which is critical for accurate μ values in adipose-rich regions. Four bed positions (chunks) cover the whole body.
83-
- **Topogram (scout)**: A 2D projection radiograph (like a low-dose planar X-ray) acquired before the main CT. It shows the patient silhouette and bone structure from one projection angle.
84-
85-
Participants are expected to incorporate all available modalities. The baseline model uses NAC-PET only and serves as a lower bound.
86-
87-
---
88-
89-
## The Scanner Setup
90-
91-
Subjects in this challenge were scanned on:
92-
93-
- **Siemens Biograph Vision Quadra** (PET/CT): A long axial field of view (LAFOV) PET scanner with a 106 cm detector ring — it can image the full body in a single bed position but uses multiple bed positions for optimal sensitivity. Ring spacing: 3.29114 mm.
94-
- **Siemens MAGNETOM Vida** (3T MRI): Standard clinical 3T scanner. The DIXON sequence acquires four echoes per TR, enabling fat/water separation from the phase difference of in-phase and out-of-phase images.
95-
96-
Both scanners produce images in the same physical coordinate frame after registration. All data in the dataset has been resampled to the CT grid for consistency.
97-
98-
---
99-
100-
## Summary: What You Are Predicting
101-
102-
Your model receives (per subject):
103-
104-
- `features/nacpet.nii.gz` — NAC-PET volume (low tissue contrast, correlated with uptake)
105-
- `features/mri_chunk_*_*.nii.gz` — DIXON MRI bed positions (good soft tissue contrast)
106-
- `features/mri_combined_*.nii.gz` — Stitched whole-body DIXON
107-
- `features/topogram.nii.gz` — 2D scout image
108-
- `features/metadata.json` — sex, age, height, weight
109-
110-
And must output:
111-
112-
- `ct.nii.gz` — pseudo-CT in Hounsfield units, same shape and affine as the input NAC-PET
113-
114-
This pseudo-CT is then fed into the reconstruction pipeline, which produces an AC-corrected PET image. Both the CT and PET outputs are evaluated against ground truth.
115-
116-
---
117-
118-
## Further Reading
119-
120-
- Carney et al. (2006) — *"Method for Transforming CT Images for Attenuation Correction in PET/CT Scanners"*, Medical Physics. The bilinear HU→μ model used in this challenge.
121-
- Townsend (2008) — *"Multimodality Imaging of Structure and Function"*, Physics in Medicine and Biology. Good clinical PET/CT overview.
122-
- Thielemans et al. (2012) — *"STIR: Software for Tomographic Image Reconstruction Release 2"*, Physics in Medicine and Biology. The reconstruction library used in this challenge.
44+
> [!NOTE]
45+
> All features under `features/` have been resampled to the CT grid (512×512×531). The topogram is 2D and stored as (512×1×531). Despite sharing the same matrix, this does not mean they are perfectly registered — resampling preserves the grid, not the alignment.

0 commit comments

Comments
 (0)