projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
acd157c
)
r359: no message
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 7 Jan 2001 23:03:28 +0000
(23:03 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 7 Jan 2001 23:03:28 +0000
(23:03 +0000)
libctsim/projections.cpp
patch
|
blob
|
history
diff --git
a/libctsim/projections.cpp
b/libctsim/projections.cpp
index 3c4f956e891c6f0ab2a644703df81a84e3f74a8d..4d78cd7e4b68d8e314ec10f8af3d9e7c22eda019 100644
(file)
--- a/
libctsim/projections.cpp
+++ b/
libctsim/projections.cpp
@@
-8,7
+8,7
@@
** 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: projections.cpp,v 1.
39 2001/01/07 22:53:36
kevin Exp $
+** $Id: projections.cpp,v 1.
40 2001/01/07 23:03:28
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
**
** 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
@@
-710,6
+710,9
@@
Projections::convertFFTPolar (ImageFile& rIF, int iInterpolationID, int iZeropad
if (! v || nx == 0 || ny == 0)
return false;
if (! v || nx == 0 || ny == 0)
return false;
+#ifndef HAVE_FFT
+ return false;
+#else
Array2d<double> adView (nx, ny);
Array2d<double> adDet (nx, ny);
double** ppdView = adView.getArray();
Array2d<double> adView (nx, ny);
Array2d<double> adDet (nx, ny);
double** ppdView = adView.getArray();
@@
-746,6
+749,7
@@
Projections::convertFFTPolar (ImageFile& rIF, int iInterpolationID, int iZeropad
delete [] ppcDetValue;
return true;
delete [] ppcDetValue;
return true;
+#endif
}
}