** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.58 2001/01/12 03:49:07 kevin Exp $
+** $Id: views.cpp,v 1.61 2001/01/13 02:55:14 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
s += rIF.labelGet(iL).getLabelString();
rPlotFile.addDescription (s.c_str());
}
- for (iL = 0; iL < rIF.nLabels(); iL++) {
+ for (iL = 0; iL < rCompareIF.nLabels(); iL++) {
std::string s = pCompareDoc->GetFirstView()->GetFrame()->GetTitle().c_str();
s += ": ";
s += rCompareIF.labelGet(iL).getLabelString();
s += rIF.labelGet(iL).getLabelString();
rPlotFile.addDescription (s.c_str());
}
- for (iL = 0; iL < rIF.nLabels(); iL++) {
+ for (iL = 0; iL < rCompareIF.nLabels(); iL++) {
std::string s = pCompareDoc->GetFirstView()->GetFrame()->GetTitle().c_str();
s += ": ";
s += rCompareIF.labelGet(iL).getLabelString();
m_dDefaultFilterParam = 1.;
#if HAVE_FFTW
m_iDefaultFilterMethod = ProcessSignal::FILTER_METHOD_RFFTW;
- m_iDefaultFilterGeneration = ProcessSignal::FILTER_GENERATION_DIRECT;
+ m_iDefaultFilterGeneration = ProcessSignal::FILTER_GENERATION_INVERSE_FOURIER;
#else
m_iDefaultFilterMethod = ProcessSignal::FILTER_METHOD_CONVOLUTION;
m_iDefaultFilterGeneration = ProcessSignal::FILTER_GENERATION_DIRECT;
const Projections& rProj = GetDocument()->getProjections();
imageFile.setArraySize (m_iDefaultNX, m_iDefaultNY);
- if (m_iDefaultFilterMethod != ProcessSignal::FILTER_METHOD_CONVOLUTION &&
- m_iDefaultFilterGeneration == ProcessSignal::FILTER_GENERATION_INVERSE_FOURIER &&
- rProj.geometry() == Scanner::GEOMETRY_EQUIANGULAR) {
- wxMessageBox ("Sorry!\nCurrently, frequency-based filtering with inverse_fourier filter generation is not supported equiangular geometry.\nAborting command.", "Not Supported", wxOK | wxICON_WARNING, m_frame);
- // return;
- }
-
Reconstructor* pReconstruct = new Reconstructor (rProj, imageFile, optFilterName.c_str(), m_dDefaultFilterParam, optFilterMethodName.c_str(), m_iDefaultZeropad, optFilterGenerationName.c_str(), optInterpName.c_str(), m_iDefaultInterpParam, optBackprojectName.c_str(), m_iDefaultTrace);
Timer timerRecon;