X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fctrec.c;h=fb23af9f456ea3a7fbf9270d790a2d180edd6985;hb=2f71224f911d19adaa941d7553a9462a1aef7293;hp=8b6645957d63c02321806bf77d403ab92217263f;hpb=e5900ffc67707d6a27ec198ed6c1628e7331d2f5;p=ctsim.git diff --git a/src/ctrec.c b/src/ctrec.c index 8b66459..fb23af9 100644 --- a/src/ctrec.c +++ b/src/ctrec.c @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctrec.c,v 1.7 2000/05/03 08:49:50 kevin Exp $ +** $Id: ctrec.c,v 1.8 2000/05/04 18:16:34 kevin Exp $ ** $Log: ctrec.c,v $ +** Revision 1.8 2000/05/04 18:16:34 kevin +** renamed filter definitions +** ** Revision 1.7 2000/05/03 08:49:50 kevin ** Code cleanup ** @@ -144,7 +147,7 @@ main (const int argc, char *const argv[]) int opt_debug = 0; int opt_trace = TRACE_NONE; double opt_filter_param = 1; - int opt_filter = W_A_BANDLIMIT; + int opt_filter = FILTER_ABS_BANDLIMIT; int opt_interp = I_LINEAR; int opt_interp_param = 1; int opt_backproj = O_BPROJ_DIFF2; @@ -242,7 +245,7 @@ main (const int argc, char *const argv[]) nx = strtol(argv[optind + 2], &endptr, 10); ny = strtol(argv[optind + 3], &endptr, 10); - if (opt_filter == W_G_HAMMING || opt_filter == W_AG_HAMMING) + if (opt_filter == FILTER_G_HAMMING || opt_filter == FILTER_ABS_G_HAMMING) sprintf (filt_name, "%s: alpha = %.2f", name_of_filter (opt_filter), opt_filter_param); else