sensitivity calculation with ProjData can do unnecessary forward projections
KrisThielemans opened this issue · 0 comments
KrisThielemans commented
We currently set the forward projector in the call
which will do
STIR/src/recon_buildblock/distributable.cxx
Line 408 in 208fd3c
However, for Parallelproj and NiftyPET projectors, this means that the projection is done, even though it is never used.
There are 2 ways to prevent this:
- pass a 0 pointer as forward projector and adapt
distributable_computation
- change Parallelproj forward projector to only do the projection if at least one projection of a
related_viewgrams
(or whatever) is called.
The first options is easiest...