Skip to content

Commit daecffe

Browse files
committed
Refine docs
1 parent 410a1b3 commit daecffe

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

docs/lit/examples/07-fdk.jl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,35 @@ oversample = 3
7171
true_image = phantom(axes(ig)..., ob, oversample)
7272
jim(axes(ig), true_image, "True 3D Shepp-Logan phantom image"; clim)
7373

74-
# Define the system geometry:
74+
# Define the system geometry
75+
# (for some explanation use `?CtGeom`):
7576
p = (ns = 130, ds = 0.3cm, nt = 80, dt = 0.4cm, na = 50, dsd = 200cm, dod = 40cm)
7677
cg = CtFanArc( ; p...)
7778

78-
# Examine the geometry to verify the FOV:
79+
# Examine the geometry to verify the FOV
80+
# (this is more interesting when interacting via other Plot backends):
7981
ct_geom_plot3(cg, ig)
8082

8183
#
8284
prompt()
8385

8486

8587
# CBCT projections
88+
# using `Sinogram.rays` and `ImagePhantoms.radon`:
8689
proj_arc = radon(rays(cg), ob)
8790
jim(cg.s, cg.t, proj_arc ;
8891
title="Shepp-Logan projections (arc)", xlabel="s", ylabel="t")
8992

9093

9194
#=
95+
There is no "inverse crime" here
96+
because we compute the projection views
97+
using the analytical phantom geometry,
98+
but then reconstruct
99+
on a discrete grid.
100+
92101
## Image reconstruction via FBP / FDK
102+
93103
We start with a "plan",
94104
which would save work if we were reconstructing many images.
95105
For illustration we include `Hamming` window.

src/geom/type3.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export CtPar, CtFanArc, CtFanFlat
1717
Abstract type for representing ray geometries
1818
for 3D CT imaging.
1919
20+
The projection view coordinates are `(s,t)`
21+
where `s` denotes the transaxial sampling
22+
and `t` denotes the axial direction (along `z`).
23+
2024
# Common fields
2125
2226
* `ns` size of each projection view

0 commit comments

Comments
 (0)