📄 fanbeamreconst.m
字号:
% Image Reconstruction from Fanbeam Projections algorithm
% Varie the D from 1 to 360
clear;
ph = phantom(256);
figure,subplot(121),imshow(ph),title('Original Image');
[F,Fpos,Fangles] = fanbeam(ph,250);
subplot(122),imshow(F,[],'XData',Fangles,'YData',Fpos,'InitialMagnification','fit');
axis normal
xlabel('Rotation Angles (degrees)')
ylabel('Sensor Positions (degrees)')
D=180;
I = ifanbeam(F,D);
figure,imshow(I),title('Reconstructed Image');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -