** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: projections.cpp,v 1.4 2000/06/22 10:17:28 kevin Exp $
+** $Id: projections.cpp,v 1.5 2000/06/25 17:32:24 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 filterMax = detlen;
SignalFilter filter (filterName, filterBW, filterMin, filterMax, n_vec_filter, filt_param, "spatial", 0);
- if (filter.fail())
- return false;
+ if (filter.fail()) {
+ sys_error (ERR_SEVERE, "%s [Projections::reconstruct]", filter.failMessage().c_str());
+ return false;
+ }
if (trace)
cout << "Reconstruct: filter="<<filterName<< ", interp="<<interpName<<", backproject="<<backprojectName<<endl;
#endif //HAVE_SGP
Backprojector bj (*this, im, backprojectName, interpName);
- if (bj.fail())
+ if (bj.fail()) {
+ sys_error (ERR_SEVERE, "%s [Projections::reconstruct]", bj.failMessage().c_str());
return false;
+ }
for (int iview = 0; iview < m_nView; iview++) {
if (trace >= TRACE_TEXT)