in the following code I can only generate alaising artificats which can be produced by undersampling the angle. but for the matal like artifacts, I can't see kow this can be produced thought in papers they do it easly????
Thanks for your help.
% A simple example for Radon and inverse radon transform using Matlab phantom image. this code is to generate artifacts
clc;
clear;
close all;
%Create a Shepp-Logan head phantom image.
%P = phantom(256);%phanto(n) s : the size of the phantom image.
P = phantom('Modified Shepp-Logan',200);
imshow(P)
%Compute the Radon transform of the phantom brain for three different sets of theta values. R1 has 18 projections, R2 has 36 projections, and R3 has 90 projections.
theta1 = 0:10:170; [R1,xp] = radon(P,theta1);
theta2 = 0:5:175; [R2,xp] = radon(P,theta2);
theta3 = 0:2:178; [R3,xp] = radon(P,theta3);
%Display a plot of one of the Radon transforms of the Shepp-Logan head phantom. The following figure shows R3, the transform with 90 projections.
figure, imagesc(theta3,xp,R3); colormap(hot); colorbar
xlabel('\theta'); ylabel('x\prime');
%Reconstruct the head phantom image from the projection data created in step 2 and display the results.
I1 = iradon(R1,10);
I2 = iradon(R2,5);
I3 = iradon(R3,2);
% I1 = iradon(R1,theta1);
% I2 = iradon(R2,theta2);
% I3 = iradon(R3,theta3);
max_IR = max(I3);
min_IR = min(I3);
max_IRR = max(max_IR)
min_IRR = min(min_IR)
figure, imshow(I1)
figure, imshow(I2)
figure, imshow(I3)