4
// Copyright (c) 1998-2006 by The VoxBo Development Team
6
// VoxBo is free software: you can redistribute it and/or modify it
7
// under the terms of the GNU General Public License as published by
8
// the Free Software Foundation, either version 3 of the License, or
9
// (at your option) any later version.
11
// VoxBo is distributed in the hope that it will be useful, but
12
// WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
// General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with VoxBo. If not, see <http://www.gnu.org/licenses/>.
19
// For general information on VoxBo, including the latest complete
20
// source code and binary distributions, manual, and associated files,
21
// see the VoxBo home page at: http://www.voxbo.org/
23
// original version written by Dan Kimberg
28
#include <sys/types.h>
43
void dicominfo_help();
44
void dicominfo_version();
47
main(int argc,char **argv)
50
args.Transfer(argc-1,argv+1);
65
for (int i=0; i<args.size(); i++)
66
print_dicom_header(args[i]);
74
printf("\nVoxBo dicominfo (v%s)\n",vbversion.c_str());
76
printf(" dump raw dicom fields in human-readable form\n");
78
printf(" dicominfo <file>\n");
85
printf("VoxBo dicominfo (v%s)\n",vbversion.c_str());