Code covered by the BSD License  

Highlights from
iradon_speedy

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 10.47 KB File ID: #12852

iradon_speedy

by Jeff Orchard

 

01 Nov 2006 (Updated 02 Nov 2006)

Faster, mex-based version iradon

| Watch this File

File Information
Description

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
02 Nov 2010 Mohamed Soltani

 hiii..plz tell me interval so you used the command
f = phantom (256);
before the Radon transform used in the method of reconstruction retroprojection

02 Nov 2010 Mohamed Soltani

hiii..plz tell me interval so you used the command
f = phantom (256);
before the Radon transform used in the method of reconstruction retroprojection

31 Mar 2011 Jeff Orchard

THIS FILE IS OBSOLETE! It seems that Matlab has incorporated this mex-based speedup into its standard distribution.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
reconstruction Jeff Orchard 22 Oct 2008 08:46:51
iradon Jeff Orchard 22 Oct 2008 08:46:51
ct Jeff Orchard 22 Oct 2008 08:46:51
backprojection Jeff Orchard 22 Oct 2008 08:46:51
radon Jeff Orchard 22 Oct 2008 08:46:51
backprojection Mohamed Soltani 02 Nov 2010 17:46:45

Contact us at files@mathworks.com