How to generate a sinogram for rotation clockwise?

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

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.

Sign in to comment.

Answers (0)

Products

Asked:

on 27 Sep 2018

Commented:

on 28 Sep 2018

Community Treasure Hunt

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

Start Hunting!