dynamic display of radon transform

3 visualizzazioni (ultimi 30 giorni)
LORENZO D'AMICO
LORENZO D'AMICO il 23 Apr 2021
Commentato: LORENZO D'AMICO il 24 Apr 2021
Hi everyone I have a problem: I'm trying to do a dynamic display of a ct-reconstruction. Basically what I'd like to do is to display on the same image the iradon for different angles. My problem is the following:
im = imread('image');
p = radon(im,[0:180]);
imshow(iradon(p,[0:180],'none')
this displays all the projection in one figure and this projection are at different rotation. But I'd like to display them first the one at 0 then on the same image, keeping the ones at 0 and adding also the one at 1 degree and so one. I tried with the following code but I got a single figure for each angle:
figure,
for theta = 0:180
p = radon(im,theta);
imshow(iradon(p,theta,'non'),[]);
end
  2 Commenti
Rik
Rik il 24 Apr 2021
So you want to animate the backprojection? I believe iradon has optimizations making it impossible to see intermediate steps (similar to how conv works). You can implement something yourself.
LORENZO D'AMICO
LORENZO D'AMICO il 24 Apr 2021
I solved the problem something like this:
theta = []
figure,
for i = 0:20:180
theta = [theta,i]
p = radon (im,theta)
imshow(iradon(p,theta,'none'))
end

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by