r23: *** empty log message ***
[ctsim.git] / src / phm2sdf.c
index aafb9b27fda012a662e778b08dda17133de9c0e8..814951af0543789f1b30a4566d6a647447d01d96 100644 (file)
@@ -2,8 +2,18 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: phm2sdf.c,v 1.2 2000/04/28 13:50:45 kevin Exp $
+**  $Id: phm2sdf.c,v 1.5 2000/04/30 19:17:54 kevin Exp $
 **  $Log: phm2sdf.c,v $
+**  Revision 1.5  2000/04/30 19:17:54  kevin
+**  *** empty log message ***
+**
+**  Revision 1.4  2000/04/30 04:06:13  kevin
+**  Update Raysum i/o routines
+**  Fix MPI bug in ctrec (scatter_raysum) that referenced rs_global
+**
+**  Revision 1.3  2000/04/28 18:19:01  kevin
+**  removed unused files
+**
 **  Revision 1.2  2000/04/28 13:50:45  kevin
 **  Removed Makefile Makefile.in that are automatically generated by autoconf
 **
@@ -128,16 +138,16 @@ main (const int argc, char *const argv[])
   int opt_picnum = -1;
   int opt_filter = -1;
   int opt_filter_domain = D_SPATIAL;
-  char *opt_outfile;
+  char *opt_outfile = NULL;
   int opt_debug = 0;
   char str[256];
   char opt_desc[256], opt_picfilename[256];
   char *endstr, *endptr;
-  double opt_filter_param;
+  double opt_filter_param = 1;
   double opt_filter_bw = 1.;
   int opt_trace = TRACE_NONE;
   int opt_verbose = 0;
-  double time_start, time_end;
+  double time_start=0, time_end=0;
 #ifdef MPI_CT
   IMAGE *im_local = NULL;
   int mpi_argc = argc;
@@ -424,7 +434,6 @@ main (const int argc, char *const argv[])
       //      image_paint (CRTDEV, im_global, 0, 0, nx, ny, dmin, dmax, 0);
       WAITKEY();
 
-      crt_set_palette (0, crt_calc_color (0., 0., 2.));
       crt_put_stra ("Finished", 8 + C_WHITE);
       crt_set_cpos (1, 2);
     }