Friday, August 3, 2012

Learning Tomography: Improving our BackProj script



A small post to see how the IJ script can be improved to avoid the stack of intermediate back-projections which is very memory consuming.




The only improvement comes from the last step (step #4) where the copy/paste is replaced by an addition between the rec2D and the temporary back-projection (image tmp).
Moreover, to avoid problem of number limitation (8-bit image allows numbers comprised between 0 and 255), the rec2D is defined as a 32-bit (floating point numbers).

The improved version of the backProj script is now ...

+++ IJ snippet +++ +++ End of IJ snippet +++

That's it today.

Other crazybiocomputing posts

Further readings are available in ...
  • Learning Tomography Series  [Link]
  • Image Processing TOC [Link]

No comments:

Post a Comment