fanbeamreconst.m

来自「Matlab code to reconstruct using back pr」· M 代码 · 共 15 行

M
15
字号
% 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 + =
减小字号Ctrl + -
显示快捷键?