** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: imagefile.cpp,v 1.1 2000/06/19 02:59:34 kevin Exp $
+** $Id: imagefile.cpp,v 1.2 2000/06/20 17:54:51 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
double r = sqrt(i * i + j * j);
if (domain == D_SPATIAL)
- v[i+hx][j+hy] = filter_spatial_response_analytic (filt_type, r, bw, filt_param);
+ v[i+hx][j+hy] = SignalFilter::spatialResponseAnalytic (filt_type, bw, r, filt_param);
else
- v[i+hx][j+hy] = filter_frequency_response (filt_type, r, bw, filt_param);
+ v[i+hx][j+hy] = SignalFilter::frequencyResponse (filt_type, bw, r, filt_param);
if (opt_trace >= TRACE_PHM)
printf ("r=%8.4f, v=%8.4f\n", r, v[i+hx][j+hy]);
}