Skip to content

Commit 276d478

Browse files
committed
adds more clarity on data path preparation in relevant sections of itksnap and setup
1 parent 21f67ff commit 276d478

2 files changed

Lines changed: 84 additions & 21 deletions

File tree

episodes/itksnap.Rmd

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,48 +31,56 @@ We are using CT Ventilation as a Functional Imaging Modality for Lung Cancer Rad
3131
The CT-vs-PET-Ventilation-Imaging collection is distributed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/).
3232
The `CT-vs-PET-Ventilation-Imaging` dataset contains 20 lung cancer patients underwent exhale/inhale breath hold CT (BHCT), free-breathing four-dimensional CT (4DCT) and Galligas PET ventilation scans in a single session on a combined 4DPET/CT scanner.
3333

34-
We recommend using the BHCT scans for participants `CT-PET-VI-02` and `CT-PET-VI-03` showing very little motion between inhale and exhale (for PET scan and accompanying CT scan), and BHCT scans for participants `CT-PET-VI-05` and `CT-PET-VI-07` (the inhale and exhale CT scans), where 05 has a different number of slices between the inhale and exhale:
34+
We recommend using the BHCT scans for participants `CT-PET-VI-02` and `CT-PET-VI-03` showing very little motion between inhale and exhale (for PET scan and accompanying CT scan), and BHCT scans for participants `CT-PET-VI-05` and `CT-PET-VI-07` (the inhale and exhale CT scans), where 05 has a different number of slices between the inhale and exhale.
35+
36+
Data paths contain:
37+
* `inhale_BH_CT` and `exhale_BH_CT` contain CT scans acquired during an inhalation breath hold and exhalation breath hold respectively.
38+
* `PET` contains a PET scan that measures the local lung function,
39+
* `CT_for_PET` contains a CT scan acquired at the same time as the PET scan for attenuation correction of the PET scan and to provide anatomical reference for the PET data.
40+
3541

3642
* CT-PET-VI-02
3743
```bash
38-
CT-PET-VI-02$ tree -d
39-
.
40-
── 05-28-1996-RTRTRespLowBreathRateRNS Adult-05441
41-
├── 3.000000-CT Lung 3.0 B31f-61322
42-
── 4.000000-Galligas Lung-03537
44+
├── CT-PET-VI-02
45+
│   ├── CT_for_PET
46+
│   ├── exhale_BH_CT
47+
│   ├── inhale_BH_CT
48+
│   └── PET
4349
```
4450

4551
* CT-PET-VI-03
4652
```bash
4753
/CT-PET-VI-03$ tree -d
48-
.
49-
├── 06-25-1996-RTRTRespLowBreathRateRNS Adult-43080
50-
│   ├── 3.000000-CT Lung 3.0 B31f-08354
51-
│   └── 4.000000-Galligas Lung-15379
54+
├── CT-PET-VI-03
55+
│   ├── CT_for_PET
56+
│   └── PET
5257
```
5358

5459
* CT-PET-VI-05
5560

5661
```bash
5762
CT-PET-VI-05$ tree -d
5863
.
59-
└── 12-10-1996-RTRTRespLowBreathRateRNS Adult-37585
60-
├── 5.000000-Thorax Insp 2.0 B70f-45546
61-
├── 7.000000-Thorax Exp 2.0 B70f-31579
64+
├── CT-PET-VI-05
65+
│   ├── CT_for_PET
66+
│   ├── exhale_BH_CT
67+
│   ├── inhale_BH_CT
68+
│   └── PET
6269
```
6370

6471
* CT-PET-VI-07
6572
```bash
6673
/CT-PET-VI-07$ tree -d
6774
.
68-
└── 02-14-1997-RTRTRespLowBreathRateRNS Adult-80512
69-
├── 5.000000-Thorax Insp 2.0 B70f-20440
70-
├── 7.000000-Thorax Exp 2.0 B70f-03567
75+
└── CT-PET-VI-07
76+
├── exhale_BH_CT
77+
├── inhale_BH_CT
78+
└── PET
7179
```
7280

73-
Refer to `Summary and Setup` section for further details on CT-vs-PET-Ventilation-Imaging dataset.
81+
Refer to [`Summary and Setup`](https://healthbioscienceideas.github.io/Medical-Image-Registration-Short-Course/#data-sets) section for further details on CT-vs-PET-Ventilation-Imaging dataset.
7482

75-
For examples in this episode, we are going to use DICOM data "CT-PET-VI-02/3.000000-CT Lung 3.0 B31f-61322" but others can be used!
83+
For examples in this episode, we are going to use DICOM data `CT-PET-VI-02/CT_forPET` but others can be used.
7684

7785
![Figure. CT-PET-VI-02 dataset](fig/CT-PET-VI-02.png)
7886

learners/setup.md

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,23 @@ Download the [data zip file](https://example.com/FIXME) and unzip it to your Des
2222

2323
### CT-vs-PET-Ventilation-Imaging
2424
CT Ventilation as a Functional Imaging Modality for Lung Cancer Radiotherapy from [TCIA](https://www.cancerimagingarchive.net/collection/ct-vs-pet-ventilation-imaging/).
25-
We recomend to focus on exhale/inhale breath hold CT (BHCT) Dicoms which belog to:
25+
We recomend to focus on exhale/inhale breath hold CT (BHCT) Dicoms.
26+
Bare in mind that:
2627
* The BHCT scans for CT-PET-VI-02 & CT-PET-VI-03 show very little motion between inhale and exhale
2728
* The BHCT scans for CT-PET-VI-05 have a different number of slices between the inhale and exhale
2829

29-
30-
Data paths look like these:
30+
#### Extracting and renaming data paths
31+
Original data directory paths for this work were renamed for easy interpretability as follows:
32+
```callout
33+
`5.000000-Thorax Insp 2.0 B*` ranamed as `inhale_BH_CT`
34+
`7.000000-Thorax Exp 2.0 B*` renamed as `exhale_BH_CT`
35+
`3.000000-CT Lung 3.0 B*` ranamed as `CT_for_PET`
36+
`4.000000-Galligas Lung-0*` renamed as `PET`
3137
```
38+
39+
See how the original data paths and renamed look like
40+
```bash
41+
#Original directory paths
3242
/CT-PET-VI-02$ tree -d
3343
.
3444
├── 1000.000000-PET SUV Factors-26496 [1 item, with size 42.1 kB]
@@ -37,7 +47,18 @@ Data paths look like these:
3747
├── 5.000000-Thorax Insp 2.0 B70f-29873 [167 items, totalling 88.1 MB]
3848
├── 7.000000-Thorax Exp 2.0 B70f-73355 [167 items, totalling 88.1 MB]
3949
└── 8.000000-RespLow 2.0 B30s 80 Ex - 100 In-44317 [810 items, totalling 426.9 MB]
50+
#Renamed directory paths
51+
.
52+
├── CT-PET-VI-02
53+
│   ├── CT_for_PET
54+
│   ├── exhale_BH_CT
55+
│   ├── inhale_BH_CT
56+
│   └── PET
57+
4058

59+
60+
61+
#Original directory paths
4162
/CT-PET-VI-03$ tree -d
4263
.
4364
├── 06-25-1996-RTRTRespLowBreathRateRNS Adult-43080
@@ -48,7 +69,16 @@ Data paths look like these:
4869
├── 5.000000-Thorax Insp 2.0 B70f-42000
4970
├── 7.000000-Thorax Exp 2.0 B70f-45310
5071
└── 8.000000-RespLow 2.0 B30s 80 Ex - 100 In-54790
72+
#Renamed directory paths for `06-25-1996-RTRTRespLowBreathRateRNS Adult-43080`
73+
├── CT-PET-VI-03
74+
│   ├── CT_for_PET
75+
│   └── PET
76+
77+
5178

79+
80+
81+
#Original directory paths
5282
/CT-PET-VI-05$ tree -d
5383
└── 12-10-1996-RTRTRespLowBreathRateRNS Adult-37585
5484
├── 1000.000000-PET SUV Factors-63910
@@ -57,6 +87,31 @@ Data paths look like these:
5787
├── 5.000000-Thorax Insp 2.0 B70f-45546
5888
├── 7.000000-Thorax Exp 2.0 B70f-31579
5989
└── 8.000000-RespLow 2.0 B30s 80 Ex - 100 In-16454
90+
#Renamed directory paths
91+
├── CT-PET-VI-05
92+
│   ├── CT_for_PET
93+
│   ├── exhale_BH_CT
94+
│   ├── inhale_BH_CT
95+
│   └── PET
96+
97+
98+
99+
100+
101+
#Original directory paths
102+
/CT-PET-VI-07$ tree -d
103+
.
104+
└── 02-14-1997-RTRTRespLowBreathRateRNS Adult-80512
105+
├── 1000.000000-PET SUV Factors-99730
106+
├── 4.000000-Galligas Lung-82849
107+
├── 5.000000-Thorax Insp 2.0 B70f-20440
108+
├── 7.000000-Thorax Exp 2.0 B70f-03567
109+
└── 8.000000-RespLow 2.0 B30s 80 Ex - 100 In-01782
110+
#Renamed directory paths
111+
└── CT-PET-VI-07
112+
├── exhale_BH_CT
113+
├── inhale_BH_CT
114+
└── PET
60115
```
61116

62117

0 commit comments

Comments
 (0)