Radon transform in matlab

13 views (last 30 days)
Alan AF
Alan AF on 29 May 2014
Edited: Matt J on 3 Jun 2014
Hi Everyone, Is there any numerically efficient package to compute the Radon transform and the back projection, probably using the non-uniform forier transform!
actually what I am looking for is a forward and inverse projector for tomography problem. I tried the Matlab Radon function but I noticed that if you apply it iteratively(as in the code below) the Image will be bleared! are there any solution for this problem?
x = phantom('Modified Shepp-Logan',256);
[Sinogram,xp] = radon(x,1:0.1:180);
for i=1:10
I = iradon(Sinogram, 1:0.1:180);
[Sinogram,xp] = radon(I,1:0.1:180);
end
imtool(I);

Answers (2)

Matt J
Matt J on 29 May 2014
Edited: Matt J on 29 May 2014
but I noticed that if you apply it iteratively(as in the code below) the Image will be bleared!
Reconstruction is always lossy because all the projection and DSP operations involved are discretized, rather than occuring in ideal, continuous space. If you iteratively project and reconstruct, the loss accumulates.
  8 Comments
Alan AF
Alan AF on 29 May 2014
Yes, I have tried the Matlab radon function as below, and the result was a blurred image, however the NUFFT code results was a blank image with vertical lines?! would you plz have a look on NUFFT code that I wrote ( download )
x = phantom('Modified Shepp-Logan',256);
[Sinogram,xp] = radon(x,1:0.1:180);
for i=1:30
I = iradon(Sinogram, 1:0.1:180,'linear','Ram-Lak');
[Sinogram,xp] = radon(I,1:0.1:180);
end
imtool(I);
Matt J
Matt J on 29 May 2014
It won't mean anything to me. I've never worked with NUFFT projectors.

Sign in to comment.


Bjorn Gustavsson
Bjorn Gustavsson on 29 May 2014
Why would you want to repeat the process in the first place? If you have data for every 0.1 degree (according to your calculation of the sinogram) then the iradon function calculates the proper inverse (you might select different filters for the transform and such), therefore you'll only enhance the problems with the inverse (blurring, pixeling, aliasing and possibly noise amplification if you have noise in your real data and whatnot), put an image display inside the loop together with a drawnow and see how things evolve...
If you want to look at some iterative algorithm you have to explain what you want to study.
HTH,
  6 Comments
Alan AF
Alan AF on 3 Jun 2014
Hi Matt would you elaborate more about the scaling for the physical sizes, do you mean resolution?
Matt J
Matt J on 3 Jun 2014
Edited: Matt J on 3 Jun 2014
The radon transform is a line integral through the image. Roughly, it works by finding the intersection lengths of projection rays with pixels and multiplies by the length of intersection. But to compute the length of intersection, you have to know the pixel dimensions, e.g., in millimeters. Matlab's RADON command just assumes the pixels dimensions are 1x1 unitless. You would have to scale the result by the pixel lengths to get things in real units. I don't know whether you are doing that currently
But the Fessler NUFFT code might be drawing pixel dimension information from somewhere already, e.g., input you gave it.

Sign in to comment.

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!