From 124a85e1eb04cf5a874f06c7dc937ee9609f67b7 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 19 Jan 2006 11:43:48 +0000 Subject: [PATCH] Add 'input' param to PhilipsToBrucker2 --- Example/PhilipsToBrucker2.cxx | 9 ++++++--- Example/PrintFile.cxx | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Example/PhilipsToBrucker2.cxx b/Example/PhilipsToBrucker2.cxx index a01221c0..7f33f507 100755 --- a/Example/PhilipsToBrucker2.cxx +++ b/Example/PhilipsToBrucker2.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PhilipsToBrucker2.cxx,v $ Language: C++ - Date: $Date: 2006/01/18 15:45:21 $ - Version: $Revision: 1.3 $ + Date: $Date: 2006/01/19 11:43:48 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -73,6 +73,7 @@ int main(int argc, char *argv[]) " dirout=outputDirectoryName ", " { [keep= list of seriesNumber to process] ", " | [drop= list of seriesNumber to ignore] } ", + " [input = {ACR|DCM}] ", " [extent=image suffix (.IMA, .NEMA, .DCM, ...)] ", " [listonly] [split] ", " [noshadowseq][noshadow][noseq] [verbose] [debug] ", @@ -146,7 +147,9 @@ int main(int argc, char *argv[]) } char *extent = am->ArgMgrGetString("extent",".DCM"); - + + char *input = am->ArgMgrGetString("input","DCM"); + // if unused Param we give up if ( am->ArgMgrPrintUnusedLabels() ) { diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index 1a6f11f3..f3b9da41 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2006/01/18 15:45:21 $ - Version: $Revision: 1.77 $ + Date: $Date: 2006/01/19 11:43:48 $ + Version: $Revision: 1.78 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -544,7 +544,7 @@ errno = 0; if ( strPatientOrientation != gdcm::GDCM_UNFOUND && strPatientOrientation != "") std::cout << "PatientOrientation (0x0020,0x0020)= [" - << strPatientOrientation << "]" << std::endl; + << strPatientOrientation << "]" << std::endl; std::string strImageOrientationPatient = f->GetEntryString(0x0020,0x0037); -- 2.46.1