How to generate a sinogram for rotation clockwise?
5 views (last 30 days)
Show older comments
I have this code: figure; phantomData = phantom('Modified Shepp-Logan', 256); imshow(phantomData); title('Shepp-Logan Phantom Display');
figure; theta = 0:5:175; R = radon(phantomData, theta); P = iradon(R, 5); imshow(P); title('X-Ray Attenuation');
freq = 2; thetas = 0:1/freq:180-1/freq;
figure; R = radon(phantomData, thetas); P = iradon(R, freq); imshow(P); title('Shepp-Logan Rotated');
figure; theta = 0:5:175; R = radon(P, theta); P = iradon(R, 5); imshow(P); title('X-Ray Attenuation for Shepp-Logan Rotated');
figure sinogram = radon(P, thetas); imshow(sinogram); title('Sinogram');
How would I... generate a sinogram for rotation clockwise? Create a backprojection algorithm assuming rotation clockwise and reconstruct both sinograms
1 Comment
ANKUR KUMAR
on 28 Sep 2018
I could not understand your question completely. Up to I understand your problem, I am giving the comments. Just repeat the same process after rotating clockwise your data. Use circshift to rotate.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!