multi-CoR: fix wrong reconstruction image size when using hafl-tomo
About
This MR fixes nabu-multicor
which yields incorrect reconstruction size when halftomo is used.
Close #481 (closed)
To do
-
Re-initialize FBP instance when halftomo is used -
(Bonus) Make sure GPU memory is released -
End-to-end reconstruction test
Notes
Re-building the Backprojector
instance for each CoR is not elegant, but it's the only way since the slice shape depends on CoR when using halftomo (roughly n_x = 2 * CoR). Changing the arrays sizes is a quite tedious process when GPU is involved.
For now, reconstructing within a sub-region will not be supported (start_xy and end_xy different from 0/-1).
Edited by Pierre Paleo