File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ X-ray computed tomography (CT) has experienced an explosion of technological dev
20
20
* ![ eq-line-integration] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20p%28t%2C%5Ctheta%29%20%3D%20%5Cint_%7B-%5Cinfty%7D%5E%7B&plus ; %5Cinfty%7Df%27%28t%2Cs%29%20ds )
21
21
22
22
## Filtering
23
- * Filtering operator is implemented based on Ch.3 Equations (3.28 ) & (3.29) & (3.30).
23
+ * Filtering operator is implemented based on Ch.3 Equations (3.21 ) & (3.29) & (3.30).
24
24
25
- * ` Filtering kernel ` is generated by Equation (3.29).
26
- * ![ eq-filtering-kernel] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20h%28n%5Cdelta%29%20%3D%20%5Cleft%5C%7B%5Cbegin%7Bmatrix%7D%20%5Cfrac%7B1%7D%7B4%5Cdelta%5E2%7D%2C%20%26%20n%3D0%2C%7E%7E%7E%5C%5C%200%2C%20%26%20n%3Deven%2C%5C%5C%20-%20%5Cfrac%7B1%7D%7B%28n%5Cpi%5Cdelta%29%5E2%7D%20%2C%20%26%20n%3Dodd.%7E%20%5Cend%7Bmatrix%7D%5Cright. )
25
+ * Ch.3 Equation (3.29): ` Filtering kernel `
26
+ * ![ eq-filtering-kernel] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20h%28n%5Cdelta%29%20%3D%20%5Cleft%5C%7B%5Cbegin%7Bmatrix%7D%20%5Cfrac%7B1%7D%7B4%5Cdelta%5E2%7D%2C%20%26%20n%3D0%2C%7E%7E%7E%5C%5C%200%2C%20%26%20n%3Deven%2C%5C%5C%20-%20%5Cfrac%7B1%7D%7B%28n%5Cpi%5Cdelta%29%5E2%7D%20%2C%20%26%20n%3Dodd.%7E%20%5Cend%7Bmatrix%7D%5Cright. )
27
27
28
- * Filtering is performed by ` convolution ver. ` using Ch.3 Equation (3.30) and ` FFT ver. ` using Equation (3.28 ).
28
+ * Filtering is performed by ` convolution ver. ` using Ch.3 Equation (3.30) and ` FFT ver. ` using Equation (3.21 ).
29
29
* Ch.3 Equation (3.30): ` convolution ver. `
30
30
* ![ eq-convolution] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20f%28x%2Cy%29%3D%5Cint_%7B0%7D%5E%7B%5Cpi%7Dd%5Ctheta%5Cint_%7B-t_%7Bm%7D%7D%5E%7B&plus ; t_%7Bm%7D%7D%7Bp%28t%27%2C%20%5Ctheta%29h%28t-t%27%29dt%27%7D )
31
- * Ch.3 Equation (3.28 ): ` FFT ver. `
32
- * ![ eq-FFT] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20g%28n%5Cdelta% 2C%5Ctheta%29%3D%5Cdelta%5Csum_%7Bk%3D0%7D%5E%7BN-1%7D%7Bh%28n%5Cdelta-k%5Cdelta%29p%28k%5Cdelta% 2C%20% 5Ctheta%29%2C%7D%7E%7En%3D0%2C1%2C%5Ccdots%2CN-1 )
31
+ * Ch.3 Equation (3.21 ): ` FFT ver. `
32
+ * ![ eq-FFT] ( http://latex.codecogs.com/gif.latex?%5Cdpi%7B150%7D%20%5Cbg_white%20%5Cfn_cm%20%5Clarge%20g%28t% 2C%5Ctheta%29%20% 3D%20g%28x%20%5Ccos%28%5Ctheta%29%20 & plus ; %20y%20%5Csin%28%5Ctheta%29%29%20%5C%5C%5C%5C%20%7E%7E%7E%7E%7E%7E%7E%7E%7E%7E%7E%7E%7E%3D%20%5Cint_%7B-%5Cinfty%7D%5E%7B & plus ; %5Cinfty%7DP%28%5Comega% 2C%5Ctheta%29%7C%5Comega%7C%20e%5E%7Bj2%5Cpi%5Comega%28x%5Ccos%28% 5Ctheta%29%20 & plus ; %20y%20%5Csin%28%5Ctheta%29%29%7D%20d%5Comega )
33
33
34
34
## Backprojection
35
35
* Backprojection operator is implemented based on Ch.3 Equation (3.22).
Original file line number Diff line number Diff line change 1
1
% Please read the Ch. 3 Image Reconstruction
2
2
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.21) & (3. 29) & (3.30)
4
4
% Filtering operator is implemented by both convolution and FFT versions.
5
5
function [pdFltY , pdFlt ] = filtering(pdY , param )
6
6
18
18
end
19
19
20
20
case ' fft'
21
- % Ch.3 Equation (3.28 )
21
+ % Ch.3 Equation (3.21 )
22
22
% FFT ver.
23
23
pdFltY_ = zeros(param .nDctX , 1 );
24
24
Original file line number Diff line number Diff line change 1
-
1
+ % Ch.3 Equation (3.29)
2
+ % Generate filter kernel
2
3
function pdFlt = generate_filter(d , n )
3
4
4
5
pdFlt = zeros(2 * n - 1 , 1 );
You can’t perform that action at this time.
0 commit comments