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 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Gefragt:

am 27 Sep. 2018

Kommentiert:

am 28 Sep. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by