GRD2D and DDSR2D: algorithms for PET and SPECT Reconstruction#1595
GRD2D and DDSR2D: algorithms for PET and SPECT Reconstruction#1595KrisThielemans merged 120 commits intoUCL:masterfrom
Conversation
added a space to have the tests run
|
MacOS job errors in recon_test_pack No idea why yet, but note the |
|
Dear Professor @KrisThielemans, For the Mac issue, it seems as if '_force_zero_view_offset' is applied to the two SPECT algorithms, which is not the case in run_test_simulate_and_recon.sh (only _SPECT suffix applies to them). Could uneven indentation/extra spaces be confusing the code? THANK YOU WHOLEHEARTEDLY FOR YOUR HELP!!! |
|
That didn't help. I guess we need somebody with a Mac to try this. |
Removed ‘|’ in case the macOS version fails to support it.
|
Dear Professor @KrisThielemans, Mac now runs! As there was no issue when SRT2DSPECT run on its own, I tried splitting SRT2DSPECT and DDSR2D into separate IF blocks to remove '|'; it seems the MacOS version cannot support '|'. May I please ask for your guidance and assistance with the pre-commit test as well? I’m afraid I don’t see how to resolve it. THANK YOU WHOLEHEARTELDLY FOR ALL YOUR INVALUABLE HELP!!! |
Temporary: disable OpenMP in SRT2D to avoid sporadic CI failures with clang/OpenMP (see STIR#1626)
Correction of typo and of description
one line with description of input data
|
Dear Professor @KrisThielemans, |
|
Dear Professor @KrisThielemans, The SRT update (parallelization comment etc) are included in this PR. Can you please ask for your help on how to pass the pre-commit check? THANK YOU WHOLEHEARTEDLY |
|
@Dimitra-Kyriakopoulou I've added copyright lines for you, as well as ran pre-commit. Could you please write some brief text on this PR to add to the release notes. Summarise the main contributions (DDSR2D and GRD2D of course), but also note that the modifications you made to SRT2D. I'll enter it into the release notes on your behalf. |
|
Dear Professor @KrisThielemans, I) Copyright
II) Release notes
3b. Now the SRT2D change was commenting out parallelization and creating a physical grid in place of the previous fixed [-1,1] grid. However, isn’t this too technical?
SRT2DSPECT models each projection with cubic splines along the detector (tangential) axis and explicitly GRD2D maps each PET view into Fourier space, interpolates non-uniform samples to a Cartesian DDSR2D reconstructs a 2D activity image from parallel-beam SPECT data with attenuation. Adaptive Wiener and Gamma post-filters were implemented. THANK YOU WHOLEHEARTEDLY FOR ALL YOUR HELP!!! |
you wrote the code, you own the copyright. Mine is owned by UCL. So we're both included.
I've now used dates for SRT2D* from your documentation.
I've merged this with the previously existing text. Please check. |
|
Dear Professor @KrisThielemans , I am really sorry -the dates for copyright are unfortunately complex ... -The SRT2D had this current change of grid (and commented out parallelization); hence would it need 2025? I am really sorry for all the trouble ... |
|
AppVeyor builds time-out. This should be fine once we merge on master. |
|
Dear Professor @KrisThielemans, I am really sorry: SRT2D is the only alg that is from 2012–2016, not 2014–2016. The former was in the .h, so I did not mention it in the last post. I just changed the .cxx and committed. I am really sorry for all the trouble. It stemmed from me wrongly thinking copyright was related only to merging into STIR. |
|
Done! Thanks a lot. A great step forward. |
|
Dear Professor @KrisThielemans , |
Changes in this pull request
Two new analytic reconstruction algorithms added. The run_test_simulate_and_recon.sh file had to also change.
Testing performed
Locally on my pc.
Checklist before requesting a review
documentation/release_XXX.mdhas been updated with any functionality change (if applicable)