Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRT2D repository: SRT 2D PET and SPECT algorithms #1420

Merged
merged 231 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 225 commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
d147324
Initial version of SRT2D for PET
Dimitra-Kyriakopoulou Feb 24, 2016
0c1e961
BUGFIX in handling 3D data
KrisThielemans Feb 24, 2016
8192c3a
fix scaling factor and allow xy voxel size change
Dimitra-Kyriakopoulou Feb 24, 2016
a83394c
zoom
Dimitra-Kyriakopoulou Mar 29, 2016
45f175c
PARALLEL
Dimitra-Kyriakopoulou Mar 29, 2016
3fe73a9
Input data read as viewgram, instead of as sinogram. Compact form of …
Dimitra-Kyriakopoulou Mar 29, 2016
b32bb29
SPECT: PARALLEL - input read as viewgram - attenuation read from file…
Dimitra-Kyriakopoulou Mar 29, 2016
9b24ca8
Revert "SPECT: PARALLEL - input read as viewgram - attenuation read f…
Dimitra-Kyriakopoulou Nov 22, 2016
e14dfb5
Create SRT2DS.cxx
Dimitra-Kyriakopoulou May 4, 2024
acd7acd
Update and rename SRT2DS.cxx to SRT2DSPECT.cxx
Dimitra-Kyriakopoulou May 4, 2024
4c58205
Update SRT2DSPECT.cxx
Dimitra-Kyriakopoulou May 4, 2024
2d5eb9b
Update SRT2DSPECT.cxx
Dimitra-Kyriakopoulou May 10, 2024
89efa7a
Create SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 10, 2024
cbe698b
Create SRT2DSPECT
Dimitra-Kyriakopoulou May 10, 2024
834e036
Update SRT2DSPECT
Dimitra-Kyriakopoulou May 10, 2024
1df497f
Rename SRT2DSPECT to test
Dimitra-Kyriakopoulou May 10, 2024
0181e1e
Create SRT2DSPECTReconstruction.h
Dimitra-Kyriakopoulou May 10, 2024
08c4bac
Update stir_dirs.cmake
Dimitra-Kyriakopoulou May 10, 2024
376cffb
Update SRT2DReconstruction.h
Dimitra-Kyriakopoulou May 10, 2024
2b760a8
Update SRT2D.cxx
Dimitra-Kyriakopoulou May 10, 2024
44035f5
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 10, 2024
a1f7309
Update CMakeLists.txt
Dimitra-Kyriakopoulou May 10, 2024
5d575e1
Update CMakeLists.txt
Dimitra-Kyriakopoulou May 10, 2024
112a5e3
Create CMakeLists.txt
Dimitra-Kyriakopoulou May 10, 2024
94f6877
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 10, 2024
f45dcba
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 10, 2024
7288ab1
Update and rename stir_dirs.mk to commented.stir_dirs.txt
Dimitra-Kyriakopoulou May 11, 2024
874f3ed
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 11, 2024
58c6faa
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 11, 2024
46a2a71
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 11, 2024
cc4071a
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 11, 2024
a079a9d
Update stir_dirs.cmake
Dimitra-Kyriakopoulou May 11, 2024
871207c
Update stir_dirs.cmake
Dimitra-Kyriakopoulou May 11, 2024
409e6ef
Update stir_dirs.cmake
Dimitra-Kyriakopoulou May 11, 2024
a4a2ff6
Merge branch 'master' into SRT2D
Dimitra-Kyriakopoulou May 11, 2024
848f9c0
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 11, 2024
60f16f1
Update SRT2DReconstruction.h
Dimitra-Kyriakopoulou May 11, 2024
cff1715
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 12, 2024
db93596
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 12, 2024
dd73c46
Update SRT2DReconstruction.h
Dimitra-Kyriakopoulou May 12, 2024
7b0196a
Update SRT2DSPECTReconstruction.h
Dimitra-Kyriakopoulou May 12, 2024
e966da7
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 12, 2024
d3d2f32
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 13, 2024
846009d
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
bc228dd
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
b5bf965
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
484e57b
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
e203536
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
ac82333
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
c1103bb
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
f6fad9f
Merge branch 'UCL:master' into SRT2D
Dimitra-Kyriakopoulou May 14, 2024
cfda124
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
3ad0ed9
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
ffbc17b
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
6727d69
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
ba64bda
Update pre-commit-check.yml
Dimitra-Kyriakopoulou May 14, 2024
05ff09a
Merge branch 'UCL:master' into SRT2D
Dimitra-Kyriakopoulou May 15, 2024
4afbc3e
Update SRT2DSPECTReconstruction.h
Dimitra-Kyriakopoulou May 15, 2024
b40623f
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 15, 2024
1307f6c
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 15, 2024
0bfe282
Update SRT2DReconstruction.h
Dimitra-Kyriakopoulou May 15, 2024
afe8fab
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou May 15, 2024
6bb5391
Delete src/analytic/SRT2D/exe.mk
Dimitra-Kyriakopoulou May 16, 2024
549bda4
Delete src/analytic/SRT2D/lib.mk
Dimitra-Kyriakopoulou May 16, 2024
9507ebb
Delete src/include/stir/analytic/test
Dimitra-Kyriakopoulou May 16, 2024
6a1d923
Delete src/commented.stir_dirs.txt
Dimitra-Kyriakopoulou May 16, 2024
b6aad24
Update SRT2DReconstruction.h
Dimitra-Kyriakopoulou May 16, 2024
189eef9
Update SRT2DSPECTReconstruction.h
Dimitra-Kyriakopoulou May 16, 2024
3579d94
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
972c4e2
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
800762c
Update SRT2D.cxx
Dimitra-Kyriakopoulou May 16, 2024
b533b73
Update SRT2DSPECT.cxx [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
e95665a
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
d9da410
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
9721dca
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
769ef12
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
88f9e39
Update pre-commit-check.yml [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
7b8c823
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
12839c1
Update SRT2D.par [ci skip]
Dimitra-Kyriakopoulou May 16, 2024
30804fb
Create SRT2DSPECT.par
Dimitra-Kyriakopoulou May 16, 2024
6d0afb1
run clang-format
Dimitra-Kyriakopoulou May 20, 2024
1e3d739
add recon_test_pack test for SRT2D
KrisThielemans May 20, 2024
23149d8
fix SRT2D bug when using arc-correction
KrisThielemans May 20, 2024
23e8a5a
Merge pull request #1 from KrisThielemans/SRT2Dfixes
Dimitra-Kyriakopoulou May 20, 2024
238d705
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou May 26, 2024
f868c9b
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou May 26, 2024
c16f8da
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 26, 2024
243b3bb
Merge branch 'master' into SRT2D
Dimitra-Kyriakopoulou May 26, 2024
2c51419
Update pre-commit-check.yml [ci skip]
Dimitra-Kyriakopoulou May 27, 2024
7f16acf
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou May 27, 2024
1527624
Update and rename simulate_PET_data_for_tests.sh to simulate_PET_and_…
Dimitra-Kyriakopoulou Jul 6, 2024
667591d
Update simulate_data.sh [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
eefafa9
Update run_test_simulate_and_recon.sh [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
56f96a8
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
787ceb1
Create SPECT_test_Interfile_header.s [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
647f852
Create SPECT_test_Interfile_header.sh [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
e376357
Update simulate_PET_and_SPECT_data_for_tests.sh [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
47246e0
Create SRT2DSPECT_test_sim.par [ci skip]
Dimitra-Kyriakopoulou Jul 6, 2024
5a0be72
Create generate_atten_cylinder_SPECT.par
Dimitra-Kyriakopoulou Jul 6, 2024
7b3aa1f
Rename SPECT_test_Interfile_header.sh to SPECT_test_Interfile_header.…
Dimitra-Kyriakopoulou Jul 6, 2024
2182a40
Update and rename simulate_PET_and_SPECT_data_for_tests.sh to simulat…
Dimitra-Kyriakopoulou Jul 6, 2024
9fbdb07
Update simulate_data.sh
Dimitra-Kyriakopoulou Jul 6, 2024
0b90467
Merge branch 'master' into SRT2D
Dimitra-Kyriakopoulou Jul 7, 2024
ef0fe29
Update build-test.yml [ci skip]
Dimitra-Kyriakopoulou Jul 7, 2024
f78e201
Update build-test.yml
Dimitra-Kyriakopoulou Jul 7, 2024
95642c4
Update SRT2DSPECT.cxx
Dimitra-Kyriakopoulou Jul 7, 2024
2af6590
Update build-test.yml
Dimitra-Kyriakopoulou Jul 7, 2024
2a1ec3a
Update SRT2DSPECT.cxx
Dimitra-Kyriakopoulou Jul 7, 2024
9031138
Merge branch 'master' into SRT2D
Dimitra-Kyriakopoulou Jul 8, 2024
3d6b487
Update simulate_PET_data_for_tests.sh[ci skip]
Dimitra-Kyriakopoulou Jul 14, 2024
b348bf6
Update run_test_simulate_and_recon.sh
Dimitra-Kyriakopoulou Jul 14, 2024
85ff299
[ci skip]
Dimitra-Kyriakopoulou Jul 15, 2024
67cfd7b
Update simulate_data.sh
Dimitra-Kyriakopoulou Jul 15, 2024
1a96633
Update SPECT_test_Interfile_header.hs
Dimitra-Kyriakopoulou Jul 16, 2024
ace942f
Update simulate_data.sh
Dimitra-Kyriakopoulou Jul 17, 2024
657ff1e
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Jul 17, 2024
9872372
[ci skip]
Dimitra-Kyriakopoulou Nov 11, 2024
534f30e
[ci skip]
Dimitra-Kyriakopoulou Nov 11, 2024
fb0d5e4
[ci skip]
Dimitra-Kyriakopoulou Nov 11, 2024
04a64cd
[ci skip]
Dimitra-Kyriakopoulou Nov 11, 2024
967fe93
Update CMakeLists.txt [ci skip]
Dimitra-Kyriakopoulou Nov 11, 2024
c8bb499
Update src/include/stir/analytic/SRT2DSPECT/SRT2DSPECTReconstruction.…
Dimitra-Kyriakopoulou Nov 12, 2024
a5577e2
Update src/include/stir/analytic/SRT2DSPECT/SRT2DSPECTReconstruction.…
Dimitra-Kyriakopoulou Nov 12, 2024
597a304
Update src/include/stir/analytic/SRT2D/SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 12, 2024
6510732
Update build-test.yml [ci skip]
Dimitra-Kyriakopoulou Nov 12, 2024
85c2996
Rename forward_project.par to forward_project_SPECTUB.par [ci skip]
Dimitra-Kyriakopoulou Nov 12, 2024
f8b6831
Update src/include/stir/analytic/SRT2D/SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
5dff97b
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
a1bce0e
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
3ded246
[ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
ef274de
[ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
ac43c43
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
fbe26dd
Update run_test_simulate_and_recon.sh [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
13ec8de
Update run_test_simulate_and_recon.sh [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
d43eb82
[ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
44a427a
[ck]
Dimitra-Kyriakopoulou Nov 13, 2024
dfbce7d
[ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
b9d3362
[ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
d4b7d86
Delete src/buildblock/GammaAutImageFilter2D.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
f7b932a
Delete src/buildblock/MedianAutImageFilter2D.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
82aeee3
Delete src/buildblock/WienerAutImageFilter2D.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
fe29266
Update CMakeLists.txt [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
055dd10
Update buildblock_registries.cxx
Dimitra-Kyriakopoulou Nov 13, 2024
f0e3994
Delete src/include/stir/WienerAutImageFilter2D.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
6731a00
Delete src/include/stir/GammaAutImageFilter2D.h [ci skip]
Dimitra-Kyriakopoulou Nov 13, 2024
a18fd6e
Delete src/include/stir/MedianAutImageFilter2D.h
Dimitra-Kyriakopoulou Nov 13, 2024
35d488d
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 13, 2024
1dae826
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
ed1de8f
Update pre-commit-check.yml [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
8476063
Add files via upload
Dimitra-Kyriakopoulou Nov 14, 2024
be145d2
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
48a1a37
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 14, 2024
a24e76c
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
ea6ac80
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
33eb3f8
Update simulate_data.sh
Dimitra-Kyriakopoulou Nov 14, 2024
8579509
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
817b5c8
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 14, 2024
7e483be
Update SRT2DSPECTReconstruction.h[ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
49e3b05
Update forward_project_SPECTUB.par [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
667c4ca
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 14, 2024
1eeeae2
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 14, 2024
90a209a
Update build-test.yml
Dimitra-Kyriakopoulou Nov 14, 2024
c9f172d
Merge branch 'UCL:master' into SRT2D
Dimitra-Kyriakopoulou Nov 14, 2024
22f1ca0
Update build-test.yml [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
3fcef59
Update build-test.yml [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
761ecd9
Add files via upload
Dimitra-Kyriakopoulou Nov 14, 2024
4f630a4
[ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
6857234
[ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
b4a8c4d
[ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
5f3f218
Add files via upload
Dimitra-Kyriakopoulou Nov 14, 2024
7aca4e3
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
783e208
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
245b77c
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
9e87be7
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
f95d1af
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
11a00b8
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
9ce831a
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 14, 2024
c732756
Update build-test.yml [ci skip]
Dimitra-Kyriakopoulou Nov 14, 2024
1900ab9
Update build-test.yml
Dimitra-Kyriakopoulou Nov 14, 2024
39106bf
Update build-test.yml
Dimitra-Kyriakopoulou Nov 14, 2024
46de82c
Update SRT2D.par [ci skip]
Dimitra-Kyriakopoulou Nov 16, 2024
b401132
Update SRT2DSPECT.par [ci skip]
Dimitra-Kyriakopoulou Nov 16, 2024
ef20fc2
[ci skip]
Dimitra-Kyriakopoulou Nov 16, 2024
8c236da
Add files via upload
Dimitra-Kyriakopoulou Nov 16, 2024
8264019
Update build-test.yml
Dimitra-Kyriakopoulou Nov 16, 2024
2737733
Update build-test.yml
Dimitra-Kyriakopoulou Nov 16, 2024
7bf8732
Add files via upload
Dimitra-Kyriakopoulou Nov 16, 2024
74ad210
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 16, 2024
17449f7
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 16, 2024
de6fbd3
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 16, 2024
8018e1d
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
2ae9c8d
Update pre-commit-check.yml [ci skip]
Dimitra-Kyriakopoulou Nov 16, 2024
a0bc306
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
e58e595
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
f8fc3e9
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
3f57201
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
0254ed0
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
e4c2914
Update pre-commit-check.yml
Dimitra-Kyriakopoulou Nov 16, 2024
668b24d
Update SRT2DReconstruction.cxx
Dimitra-Kyriakopoulou Nov 16, 2024
1d103e4
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 18, 2024
49d1303
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 18, 2024
9631ebb
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 18, 2024
8a4d077
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 18, 2024
2eb23c2
Update WienerArrayFilter2D.h [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
56cc2fd
Update recon_test_pack/simulate_PET_data_for_tests.sh [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
50a4940
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
833c85e
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
9d76eed
Update SRT2DSPECT.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
c6eca3e
Update SRT2D.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
0e1b34e
Update SRT2DReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
c7a0fee
Update SRT2DReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
6401e42
Update SRT2DSPECTReconstruction.h [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
eac29fd
Rename simulate_PET_data_for_tests.sh to simulate_data_for_tests.sh
Dimitra-Kyriakopoulou Nov 19, 2024
46ad5c9
Update simulate_data_for_tests.sh
Dimitra-Kyriakopoulou Nov 19, 2024
2b559b9
Update run_test_simulate_and_recon.sh
Dimitra-Kyriakopoulou Nov 19, 2024
e54413f
Update run_scatter_tests.sh
Dimitra-Kyriakopoulou Nov 19, 2024
b9c5540
Update SRT2DSPECT_test_sim.par [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
557f1b6
Update SRT2D_test_sim.par [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
7ae4ed6
Update SRT2DSPECTReconstruction.cxx [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
746256b
Update SRT2DSPECT.par [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
824dc88
Update SRT2DSPECT.par [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
5e073ca
Update simulate_data.sh [ci skip]
Dimitra-Kyriakopoulou Nov 19, 2024
758d573
Update SRT2DSPECTReconstruction.h
Dimitra-Kyriakopoulou Nov 20, 2024
580848d
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 20, 2024
cfe96fd
Update SRT2DSPECTReconstruction.cxx
Dimitra-Kyriakopoulou Nov 20, 2024
c3b66a1
move SRT doxygen comments to class definitions
KrisThielemans Nov 20, 2024
37dfda3
[CI] remove duplicate pip install pytest
KrisThielemans Nov 20, 2024
ccdfac4
use listmode time frame for output frame definition if all events are…
danieldeidda Nov 19, 2024
dfccd43
run clang-format
Dimitra-Kyriakopoulou Nov 20, 2024
d7a52d8
add SRT to release notes
KrisThielemans Nov 20, 2024
69e63a7
added Dimitra's thesis title [ci skip]
KrisThielemans Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ jobs:
# brew install openblas
# export OPENBLAS=$(brew --prefix openblas)
#python -m pip install --no-cache-dir --no-binary numpy numpy # avoid the cached .whl!
python -m pip install numpy
python -m pip install numpy pytest
;;
(*)
python -m pip install numpy
python -m pip install numpy pytest
;;
esac
python -m pip install pytest
Expand Down
18 changes: 18 additions & 0 deletions examples/samples/SRT2D.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
SRT2DParameters :=
input file := sino_hof_no_noise.hs

xy output image size (in pixels) := -1
z output image size (in pixels) := -1
zoom := 1

;post-filter type := Wiener
;Wiener Filter Parameters :=
;End Wiener Filter Parameters :=

;post-filter type := Gamma
;Gamma Filter Parameters :=
;End Gamma Filter Parameters :=

output filename prefix := SRT2D

END :=
20 changes: 20 additions & 0 deletions examples/samples/SRT2DSPECT.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SRT2DSPECTParameters :=

;SRT2DSPECT receives as input the forward projection of the attenuation image (attensino.hs) and the measured emission sinogram (sino.hs).
input file := sino.hs
attenuation projection filename := attensino.hs

xy output image size (in pixels) := -1

;post-filter type := Wiener
;Wiener Filter Parameters :=
;End Wiener Filter Parameters :=

;post-filter type := Gamma
;Gamma Filter Parameters :=
;End Gamma Filter Parameters :=

output filename prefix := srt_recon


end:=
62 changes: 62 additions & 0 deletions recon_test_pack/SPECT_test_Interfile_header.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
!INTERFILE :=
; This is a sample minimal header for SPECT tomographic data
; The format is as per the 3.3 Interfile standard (aside from time frame info)

!imaging modality := nucmed

; name of file with binary data
name of data file := SPECT_test_Interfile_header.s

!version of keys := 3.3
!GENERAL DATA :=
!GENERAL IMAGE DATA :=
!type of data := Tomographic

; optional keywords specifying patient position
; patient rotation := prone
; patient orientation := feet_in

imagedata byte order := LITTLEENDIAN

number of energy windows:=1
energy window lower level[1]:=120
energy window upper level[1]:=160

!SPECT STUDY (General) :=
; specify how the data are stored on disk
; here given as "single-precision float" (you could have "unsigned integer" data instead)
!number format := float
!number of bytes per pixel := 4
!number of projections := 120
; total rotation (or coverage) angle (in degrees)
!extent of rotation := 360
process status := acquired
!SPECT STUDY (acquired data):=
; rotation info (e.g. clock-wise or counter-clock wise)
!direction of rotation := CW
start angle := 180

; Orbit definition
orbit := Circular
; radius in mm
Radius := 166.5
; or
; orbit := Non-circular
; give a list of "radii", one for every position
; Radii := {150, 151, 153, ....}

; pixel sizes in the acquired data, first in "transverse" direction, then in "axial" direction
!matrix size [1] := 111
!scaling factor (mm/pixel) [1] := 3
!matrix size [2] := 47
!scaling factor (mm/pixel) [2] := 3.27

; optional keywords specifying frame duration etc
; These are not according to the Interfile 3.3 specification
; Currently only useful in STIR for dynamic applications
; (but a "time frame" is considered to be all projections acquired at the same time)
;number of time frames := 1
;image duration (sec)[1] := 0
;image relative start time (sec)[1] := 0

!END OF INTERFILE :=
1 change: 1 addition & 0 deletions recon_test_pack/SPECT_test_Interfile_header.s
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

20 changes: 20 additions & 0 deletions recon_test_pack/SRT2DSPECT_test_sim.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SRT2DSPECTParameters :=
; test file for SRT2DSPECT
input file := my_sino${suffix}.hs
attenuation projection filename := my_attenuation_sino${suffix}.hs

xy output image size (in pixels) := 91
zoom := 0.5

;post-filter type := Wiener
;Wiener Filter Parameters :=
;End Wiener Filter Parameters :=

;post-filter type := Gamma
;Gamma Filter Parameters :=
;End Gamma Filter Parameters :=

output filename prefix := my_test_sim_image_SRT2DSPECT


end:=
19 changes: 19 additions & 0 deletions recon_test_pack/SRT2D_test_sim.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
SRT2DParameters :=
; test file for SRT2D
input file := my_precorrected_sino${suffix}.hs

xy output image size (in pixels) := 91
zoom := .5

;post-filter type := Wiener
;Wiener Filter Parameters :=
;End Wiener Filter Parameters :=

;post-filter type := Gamma
;Gamma Filter Parameters :=
;End Gamma Filter Parameters :=

output filename prefix := my_test_sim_image_SRT2D


end:=
35 changes: 35 additions & 0 deletions recon_test_pack/forward_project_SPECTUB.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Forward Projector parameters:=
; example par file for specifying the forward projector for e.g. fwdtest
type:=Matrix
Forward Projector Using Matrix Parameters :=

Matrix type := SPECT UB
Projection Matrix By Bin SPECT UB Parameters:=
; same parameters as used in the OSMAPOSL_osem_SPECT.par file

psf type:= Geometrical

;psf type:= 2D
;maximum number of sigmas:= 2.0
;; sigma_at_depth = collimator_slope * depth_in_cm + collimator sigma 0(cm)
;collimator slope := 0.0163
;collimator sigma 0(cm) := 0.1466

;Attenuation correction { Simple // Full // No }
;attenuation type := No
;attenuation type := Simple
;Values in attenuation map in cm-1 (float file)
;attenuation map := attenuation.hv
attenuation map := my_atten_image_SPECT_modified.hv

;Mask properties { Cylinder // Attenuation Map // Explicit Mask // No}
;mask type := Attenuation Map
mask type := No

End Projection Matrix By Bin SPECT UB Parameters:=

End Forward Projector Using Matrix Parameters :=
end:=



24 changes: 24 additions & 0 deletions recon_test_pack/generate_atten_cylinder_SPECT.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
generate_image Parameters :=
output filename:=my_atten_image_SPECT
X output image size (in pixels):=111
Y output image size (in pixels):=111
Z output image size (in pixels):=47
X voxel size (in mm):= 3
Y voxel size (in mm):= 3
Z voxel size (in mm) :=3.27

Z number of samples to take per voxel := 1
Y number of samples to take per voxel := 1
X number of samples to take per voxel := 1

shape type:= ellipsoidal cylinder
Ellipsoidal Cylinder Parameters:=
radius-x (in mm):=100
radius-y (in mm):=100
length-z (in mm):=110
origin (in mm):={70,10,-20}
;{70,10,-20}
END:=
value := 0.096

END:=
2 changes: 1 addition & 1 deletion recon_test_pack/run_scatter_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ examples_dir=`stir_config --examples-dir`
scatter_pardir="$examples_dir/samples/scatter_estimation_par_files"
echo "Using scatter parameter files from $scatter_pardir"

./simulate_PET_data_for_tests.sh
./simulate_data_for_tests.sh
if [ $? -ne 0 ]; then
echo "Error running simulation"
exit 1
Expand Down
62 changes: 40 additions & 22 deletions recon_test_pack/run_test_simulate_and_recon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
# SPDX-License-Identifier: Apache-2.0
#
# See STIR/LICENSE.txt for details
#
#
# Author Kris Thielemans
#
# Author Dimitra Kyriakopoulou

echo This script should work with STIR version 6.2. If you have
echo a later version, you might have to update your test pack.
Expand Down Expand Up @@ -58,27 +58,37 @@ fi
echo "Using `command -v OSMAPOSL`"
echo "Using `command -v OSSPS`"
echo "Using `command -v FBP2D`"
echo "Using `command -v FBP3DRP`"
echo "Using `command -v SRT2D`"
echo "Using `command -v SRT2DSPECT`"

# first need to set this to the C locale, as this is what the STIR utilities use
# otherwise, awk might interpret floating point numbers incorrectly
LC_ALL=C
export LC_ALL

./simulate_PET_data_for_tests.sh
./simulate_data_for_tests.sh
if [ $? -ne 0 ]; then
echo "Error running simulation"
exit 1
fi
# need to repeat with zero-offset now as FBP doesn't support it
zero_view_suffix=_force_zero_view_offset
./simulate_PET_data_for_tests.sh --force_zero_view_offset --suffix $zero_view_suffix
./simulate_data_for_tests.sh --force_zero_view_offset --suffix $zero_view_suffix
if [ $? -ne 0 ]; then
echo "Error running simulation with zero view offset"
exit 1
fi
## TOF data
TOF_suffix=_TOF
./simulate_PET_data_for_tests.sh --TOF --suffix "$TOF_suffix"
./simulate_data_for_tests.sh --TOF --suffix "$TOF_suffix"
if [ $? -ne 0 ]; then
echo "Error running simulation"
exit 1
fi
## SPECT data
SPECT_suffix=_SPECT
./simulate_data_for_tests.sh --SPECT --suffix "$SPECT_suffix"
if [ $? -ne 0 ]; then
echo "Error running simulation"
exit 1
Expand All @@ -96,7 +106,7 @@ input_ROI_mean=`awk 'NR>2 {print $2}' ${input_image}.roistats`
# warning: currently OSMAPOSL needs to be run before OSSPS as
# the OSSPS par file uses an OSMAPOSL result as initial image
# and reuses its subset sensitivities
for recon in FBP2D FBP3DRP OSMAPOSL OSSPS; do
for recon in FBP2D FBP3DRP SRT2D SRT2DSPECT OSMAPOSL OSSPS ; do
echo "========== Testing `command -v ${recon}`"
# Check if we have CUDA code and parallelproj.
# If so, check for test files in CUDA/*
Expand All @@ -118,22 +128,31 @@ for recon in FBP2D FBP3DRP OSMAPOSL OSSPS; do
for dataSuffix in "" "$TOF_suffix"; do
echo "===== data suffix: \"$dataSuffix\""
# test first if analytic reconstruction and if so, run pre-correction
isFBP=0
is_analytic=0
if expr "$recon" : FBP > /dev/null; then
if expr "$dataSuffix" : '.*TOF.*' > /dev/null; then
echo "Skipping TOF as not yet supported for FBP"
break
fi
isFBP=1
suffix=$zero_view_suffix
export suffix
echo "Running precorrection"
correct_projdata correct_projdata_simulation.par > my_correct_projdata_simulation.log 2>&1
if [ $? -ne 0 ]; then
echo "Error running precorrection. CHECK my_correct_projdata_simulation.log"
error_log_files="${error_log_files} my_correct_projdata_simulation.log"
is_analytic=1
elif expr "$recon" : SRT > /dev/null; then
is_analytic=1
fi
if [ $is_analytic = 1 ]; then
if expr "$dataSuffix" : '.*TOF.*' > /dev/null; then
echo "Skipping TOF as not yet supported for FBP and SRT"
break
fi
fi
if expr "$recon" : SRT2DSPECT > /dev/null; then
suffix=$SPECT_suffix
export suffix
else
suffix=$zero_view_suffix
export suffix
echo "Running precorrection"
correct_projdata correct_projdata_simulation.par > my_correct_projdata_simulation.log 2>&1
if [ $? -ne 0 ]; then
echo "Error running precorrection. CHECK my_correct_projdata_simulation.log"
error_log_files="${error_log_files} my_correct_projdata_simulation.log"
break
fi
fi
else
suffix="$dataSuffix"
export suffix
Expand All @@ -160,7 +179,7 @@ for recon in FBP2D FBP3DRP OSMAPOSL OSSPS; do
output_filename=`awk -F':=' '/output[ _]*filename[ _]*prefix/ { value=$2;gsub(/[ \t]/, "", value); printf("%s", value) }' "$parfile"`
# substitute env variables (e.g. to fill in suffix)
output_filename=`eval echo "${output_filename}"`
if [ ${isFBP} -eq 0 ]; then
if [ ${is_analytic} -eq 0 ]; then
# iterative algorithm, so we need to append the num_subiterations
num_subiterations=`awk -F':=' '/number[ _]*of[ _]*subiterations/ { value=$2;gsub(/[ \t]/, "", value); printf("%s", value) }' ${parfile}`
output_filename=${output_filename}_${num_subiterations}
Expand Down Expand Up @@ -202,4 +221,3 @@ else
tail ${error_log_files}
exit 1
fi

Loading
Loading