]> Creatis software - gdcm.git/blobdiff - Example/ToMRIregister.cxx
upgrades for 4DSplitter
[gdcm.git] / Example / ToMRIregister.cxx
index fd65238e38e80e9ee0bc0f4e73888eebfb8666da..7ebc8f002e6fe78cfd61e41600a94a99043a1083 100755 (executable)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: ToMRIregister.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/05/23 14:18:04 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2011/03/29 07:35:58 $
+  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
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
    "\n ToMriregister :\n                                                      ",
    " - Converts the Siemens Sonata MRI '*tfl2d1'                              ",
    " to be processable by MriRegister software                                ",
-   " - May be used as a template for GDCM_NAME_SPACE::SerieHelper use.                   ",
+   " - May be used as a template for GDCM_NAME_SPACE::SerieHelper use.        ",
    "                                                                          ",
    "usage: ToMriRegister dirin=inputDirectoryName                             ",
    "                     dirout=outputDirectoryName                           ",
@@ -234,7 +234,7 @@ int main(int argc, char *argv[])
     
          //int sliceNumber = 0; 
          
-         float position =0.0;
+         double position =0.0;
          char charPosition[10];
          
          for (GDCM_NAME_SPACE::XCoherentFileSetmap::iterator i = xcm.begin();