Skip to content

Commit 206e95c

Browse files
author
hanyoseob
committed
Cleaning the files
1 parent d0955a3 commit 206e95c

File tree

11 files changed

+25
-100
lines changed

11 files changed

+25
-100
lines changed

lib/backprojection.m

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

3-
% Implementation for backprojection operator based on Ch. 3 Equation (3.22)
3+
% Implementation for backprojection operator based on Ch.3 Equation (3.22)
44
% Backprojection operator is implemented using pixel-driven method
55
function pdX = backprojection(pdY, param, bfig)
66

@@ -15,7 +15,7 @@
1515
pdX = zeros(param.nImgY, param.nImgX, 'like', pdY);
1616
dCurX = zeros(param.nImgY, param.nImgX, 'like', pdY);
1717

18-
% Ch. 3 Equation (3.22)
18+
% Ch.3 Equation (3.22)
1919
% Backprojection operator
2020
for iview = 0:param.nView-1
2121

lib/filterProjections.m

Lines changed: 0 additions & 81 deletions
This file was deleted.

lib/filtering.m

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

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

lib/id2pos.m

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/pos2id.m

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/projection.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
pdY = zeros(param.nDctX, param.nView, 'like', pdX);
2525

26-
% Ch. 3 Equation (3.6)
26+
% Ch.3 Equation (3.6)
2727
% Projection operator
2828
for iview = 0:param.nView-1
2929

@@ -55,7 +55,7 @@
5555
dCurY = 0;
5656

5757

58-
% Ch. 3 Equation (3.6)
58+
% Ch.3 Equation (3.6)
5959
% Line Integration along the s-axis
6060
for ismp = 0:nSample-1
6161

lib/convolution1d.m renamed to util/convolution1d.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
y(i+1) = y(i+1) + ker(((n-1) + i+1) - (j+1) + 1)*x(j+1);
88
end
99
end
10+
1011
end

util/id2pos.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
% Transform from Index in [0, nDct] to Position in [-(dDct*nDct)/2, +(dDct*nDct)/2]
2+
function pos = id2pos(id, d, n)
3+
4+
pos = (id - (n - 1)/2)*d;
5+
6+
end

lib/interpolation1d.m renamed to util/interpolation1d.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
% Reference
2+
% Bilinear Interpolation
3+
% https://en.wikipedia.org/wiki/Bilinear_interpolation
14
function dst = interpolation1d(src, curid)
25

36
preid = floor(curid);

lib/interpolation2d.m renamed to util/interpolation2d.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1+
% Reference
2+
% Linear Interpolation
3+
% https://en.wikipedia.org/wiki/Linear_interpolation
24
function dst = interpolation2d(src, curidy, curidx)
35

46
preidy = floor(curidy);

0 commit comments

Comments
 (0)