資源簡介
采用平行束采集,利用ART算法進行重建,其中有詳細的注釋,希望對從事CT圖像重建的人員有幫助
代碼片段和文件信息
clear?all
clc
L?=?256;%phantom?size
I?=?phantom(L);%create?a?phantom
x0?=?ones(L)*0.2;%the?first?iterative?array
factor?=?1.0;%relaxation?factor
ray_num?=?L/2*90;%the?number?of?rays?in?total
ite_num?=?0;%iteration?number
while(ite_num?10)
????for?theta?=?0:2:180
????????for?ii=1:L/2
????????????Ori?=?zeros(L);
????????????Ori(:(2*ii-1):2*ii)?=?1;%ray?length?is?2?pixels
????????????proj?=?imrotate(Ori?theta?‘crop‘
- 上一篇:數字圖像處理matlab版m文件
- 下一篇:人工神經網絡的matlab實現
評論
共有 條評論