src/PET/phantom_slice.md

Fri, 03 May 2024 14:37:45 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 03 May 2024 14:37:45 -0500
changeset 61
d10ea0811650
parent 49
56cc16c66b39
permissions
-rw-r--r--

Proper quote marks in README

49
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1 # About the phantom slice
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
2
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 The file `phantom_slice.mat` is generated from the file `phantom_atlas_density_cls.mat` of
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 * Belzunce, M. A. (2018). High-Resolution Heterogeneous Digital PET [18F]FDG Brain Phantom based on the BigBrain Atlas (1.0) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.1190598
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 The following Matlab code does the extraction:
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 ```matlab
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10 load('phantom_atlas_density_cls.mat')
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 fdgPhantom = phantom_atlas_density_cls.phantom;
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12 slice = 280;
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 data = fdgPhantom(:,:,slice);
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14 imwrite(data, 'phantom_slice.png');
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 save 'phantom_slice.mat' data;
56cc16c66b39 data sources
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 ```

mercurial