5 # Generate phantom image
7 ${bin}phm2sdf sample-phm.sdf 256 256 --nsample 2
8 ${bin}sdf2img sample-phm.sdf sample-phm.png --format png
10 # Simulate CT data collection and generate raysum sinugram for display
11 ${bin}phm2rs sample-rs.rs 367 320 --nray 2
12 ${bin}rs2sdf sample-rs.rs sample-rs.sdf
13 ${bin}sdf2img sample-rs.sdf sample-rs.png --format png
15 # Reconstruct raysums and generate image for display
16 ${bin}ctrec sample-rs.rs sample-rec.sdf 256 256
17 ${bin}sdf2img sample-rec.sdf sample-rec.png --format png
19 # Files sample-phm.png, sample-rs.png, and sample-rec.png are ready for display