projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r38: renamed filter definitions
[ctsim.git]
/
src
/
ctrec.c
diff --git
a/src/ctrec.c
b/src/ctrec.c
index 8b6645957d63c02321806bf77d403ab92217263f..fb23af9f456ea3a7fbf9270d790a2d180edd6985 100644
(file)
--- 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
**
** 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 $
** $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
**
** 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_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;
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);
nx = strtol(argv[optind + 2], &endptr, 10);
ny = strtol(argv[optind + 3], &endptr, 10);
- if (opt_filter ==
W_G_HAMMING || opt_filter == W_A
G_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
sprintf (filt_name, "%s: alpha = %.2f",
name_of_filter (opt_filter), opt_filter_param);
else