Skip to content

Commit 7e306b5

Browse files
author
hanyoseob
committed
update
1 parent 1df3eb1 commit 7e306b5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

demo_parallelbeam_ct.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
param.dAngle = 360; % degree
1515
param.nView = 360; % # of unit
1616
param.dView = param.dAngle/param.nView; % degree
17-
param.pdView = linspace(0, param.dAngle - param.dAngle/param.nView, param.nView);
1817
param.DSO = 400 ; % mm
1918
param.DSD = 800; % mm
2019

@@ -45,7 +44,7 @@
4544
param.nImgX = 256; % # of elements
4645

4746
param.dOffsetImgY = 0; % # of elements
48-
param.dOffsetImgX = 0; % # of elements
47+
param.dOffsetImgX = 0; % # of elements4
4948

5049
%% Load image
5150
load('XCAT512.mat');
@@ -59,7 +58,7 @@
5958
prj = projection(input, param);
6059
toc;
6160

62-
disp ('filtering - implementation of Ch.3 Equation (3.29) & (3.30)');
61+
disp ('filtering - implementation of Ch.3 Equation (3.28) & (3.29) & (3.30)');
6362
tic;
6463
prj_flt = filtering(prj, param);
6564
toc;

lib/filtering.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Please read the Ch. 3 Image Reconstruction
22

3-
% Implementation for filtering operator based on Ch. 3 Equation (3.29) & (3.30)
3+
% Implementation for filtering operator based on Ch. 3 Equation (3.28) & (3.29) & (3.30)
44
% Filtering operator is implemented by both convolution and FFT versions.
55
function [pdFltY, pdFlt] = filtering(pdY, param)
66

0 commit comments

Comments
 (0)