This is a mex-accelerated implementation of iradon. It is a small modifidation to the standard iradon.m file, calling a mex-implemented routine that takes care of the most time-consuming part of the process, the backprojection. The C-code for the mex file is included, and is easily compiled at the Matlab command prompt using
>> mex Backproject.c
While iradon_speedy.m contains all the same options as the original iradon.m, the mex function is only used when iradon_speedy is called with either the nearest-neighbour or linear interpolation options (just because I didn't implement any of the other interpolation options).
Here is an example run:
>> f = phantom(256);
>> R = radon(f, 0:179);
>> f = iradon_speedy(R, 0:179, 'linear', 'Ram-Lak', 1, 256);
Simple as that. Speed-up factors range from 1.7 to 6.4, depending on the reconstruction scenario, and the compiler used.
Cite As
Jeff Orchard (2024). iradon_speedy (https://www.mathworks.com/matlabcentral/fileexchange/12852-iradon_speedy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: CTrecon-an improved parallel data image reconstruct function
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
iradon_speedy/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |