Program: gdcm
Module: $RCSfile: PhilipsToBrucker2.cxx,v $
Language: C++
- Date: $Date: 2006/01/18 10:21:37 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2006/01/25 11:08:18 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
" 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] ",
}
char *extent = am->ArgMgrGetString("extent",".DCM");
-
+
// if unused Param we give up
if ( am->ArgMgrPrintUnusedLabels() )
{
previousPhaseEncodingDirection = "";
previousTriggerTime = "";
- int sliceIndex = 1;
+ int sliceIndex = 0; // Is incremented *at the beginning* of processing
int frameIndex = 1;
int flag = 0;
{
std::cout << "Fail to write :[" << fullWriteFilename << "]"
<< std::endl;
- }
- fh->gdcm::FileHelper::Delete();
+ }
+ fh->Delete();
}
}