r85: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 7 Jun 2000 07:52:35 +0000 (07:52 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 7 Jun 2000 07:52:35 +0000 (07:52 +0000)
src/sample-ctrec.sh.in

index f1485da8a6c6d9be53b843a6fa387e8426e8916c..3d2568cfff639c23171083cc5a583ea5ea4a9b00 100755 (executable)
@@ -8,27 +8,27 @@ fi
 
 # Generate phantom image
 
-${bin}phm2sdf sample-phm.sdf 256 256 --nsample 2 --phantom herman
-if [ -f sample-phm.sdf ] ; then
-  ${bin}sdf2img sample-phm.sdf sample-phm.png --format png
-  ${bin}sdf2img sample-phm.sdf sample-phm16.png --format png16
+${bin}phm2if sample-phm.if 256 256 --nsample 2 --phantom herman
+if [ -f sample-phm.if ] ; then
+  ${bin}if2img sample-phm.if sample-phm.png --format png
+  ${bin}if2img sample-phm.if sample-phm16.png --format png16
 fi
 
 # Simulate CT data collection and generate raysum sinugram for display
 ${bin}phm2rs  sample-rs.rs 367 320 --nray 2  --phantom herman
 if [ -f sample-rs.rs ]; then
-  ${bin}rs2sdf  sample-rs.rs sample-rs.sdf
+  ${bin}rs2if  sample-rs.rs sample-rs.if
 fi
-if [ -f sample-rs.sdf ]; then
-  ${bin}sdf2img sample-rs.sdf sample-rs.png --format png
-  ${bin}sdf2img sample-rs.sdf sample-rs16.png --format png16
+if [ -f sample-rs.if ]; then
+  ${bin}if2img sample-rs.if sample-rs.png --format png
+  ${bin}if2img sample-rs.if sample-rs16.png --format png16
 fi
 
 # Reconstruct raysums and generate image for display
-${bin}ctrec   sample-rs.rs sample-rec.sdf 256 256 
-if [ -f sample-rec.sdf ]; then 
-  ${bin}sdf2img sample-rec.sdf sample-rec.png --format png
-  ${bin}sdf2img sample-rec.sdf sample-rec16.png --format png16
+${bin}ctrec   sample-rs.rs sample-rec.if 256 256 
+if [ -f sample-rec.if ]; then 
+  ${bin}if2img sample-rec.if sample-rec.png --format png
+  ${bin}if2img sample-rec.if sample-rec16.png --format png16
 fi
 
 # Files sample-phm.png, sample-rs.png, and sample-rec.png are ready for display