projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r7930: fixes for backproject and pjrec
[ctsim.git]
/
tools
/
ifinfo.cpp
diff --git
a/tools/ifinfo.cpp
b/tools/ifinfo.cpp
index f423460765779356433ad95ec00530fa20e3871a..0b0a119e3ee2eef1565620fac3b51ab00a3066f1 100644
(file)
--- a/
tools/ifinfo.cpp
+++ b/
tools/ifinfo.cpp
@@
-9,7
+9,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
: ifinfo.cpp,v 1.5 2000/12/17 23:30:48 kevin Exp
$
+** $Id$
**
** 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
@@
-46,7
+46,7
@@
static struct option my_options[] =
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id
: ifinfo.cpp,v 1.5 2000/12/17 23:30:48 kevin Exp
$";
+static const char* g_szIdStr = "$Id$";
void
void
@@
-139,6
+139,12
@@
ifinfo_main (int argc, char *const argv[])
if (opt_stats) {
std::cout << "Size: (" << im->nx() << "," << im->ny() << ")\n";
if (opt_stats) {
std::cout << "Size: (" << im->nx() << "," << im->ny() << ")\n";
+ std::cout << "Data type: ";
+ if (im->dataType() == Array2dFile::DATA_TYPE_COMPLEX)
+ std::cout << "Complex\n";
+ else
+ std::cout << "Real\n";
+
im->printStatistics (std::cout);
}
im->printStatistics (std::cout);
}