RTKConsortium / RTK

Reconstruction Toolkit
Apache License 2.0
241 stars 143 forks source link

ENH: Add superior and inferior clip images for Joseph-based forward projector #543

Closed arobert01 closed 1 year ago

arobert01 commented 1 year ago

The superior and inferior clip images define for each pixel of the projections the value of the superior and inferior clip of the ray emitted from that pixel. Each ray is clipped from source+inferior_clip(pixel-source) to source+superior_clip(pixel-source) with inferior_clip and superior_clip equal 0 and 1 by default.

arobert01 commented 1 year ago

Thanks! Closely looking at this, I think that all iterative applications can set the attenuation, PSF and clip image parameters in existing methods SetForwardProjectionFromGgo and SetBackProjectionFromGgo. This would mean moving the projectors code in rtkosem to these functions. What do you think? Should we change this in this PR or do it in a subsequent PR?

Yes you're right ! I can do it and amend the last commit I did.