]> Creatis software - gdcm.git/blobdiff - Example/PcpdenseToDicom.cxx
comments
[gdcm.git] / Example / PcpdenseToDicom.cxx
index b06a457d3df75dc11eb3582f966557b16e4d44c6..a31c050bc51e6a34a3b91da865010e5bf60f9832 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PcpdenseToDicom.cxx,v $
   Language:  C++
-  Date:      $Date: 2010/08/26 12:46:12 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2011/03/29 07:35:57 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -48,10 +48,10 @@ bool verbose;
 int main(int argc, char *argv[])
 {
    START_USAGE(usage)
-   " \n pcpdenseToDicom :\n                                                  ",
+   " \n pcpdenseToDicom :\n                                                   ",
    "        Converts the '.txt' files into 16 bits Dicom Files,               ",
    " usage:                                                                   ",
-   " pcpdenseToDicom rootfilename=...                                        ",
+   " pcpdenseToDicom rootfilename=...                                         ",
    "                 (e.g.. :   meas_MID380_DENSE_stacked_slices_aif_FID81637)",
    "                 numberOfSlices =  (default : 3)                          ",
    "                 X2 : multiply x 2 image size                             ",
@@ -154,9 +154,9 @@ int main(int argc, char *argv[])
    // === Ecc ===
    
    strSerieUID =  GDCM_NAME_SPACE::Util::CreateUniqueUID();
-   
+
    serieDescr = "Ecc";
-   
+
    if (!multiframe) {
              
      for (int i=0; i<numberOfSlices; i++)
@@ -219,9 +219,8 @@ int main(int argc, char *argv[])
 // === perf ===
 
    strSerieUID =  GDCM_NAME_SPACE::Util::CreateUniqueUID();
-   
+
    serieDescr = "perf";
-   
    if (!multiframe) {    
      for (int i=0; i<numberOfSlices; i++)
      {      
@@ -282,8 +281,8 @@ int main(int argc, char *argv[])
 
 
    strSerieUID =  GDCM_NAME_SPACE::Util::CreateUniqueUID();
-   
-   serieDescr = "WashoutTc";   
+
+   serieDescr = "WashoutTc";
    
    if (multiframe) {    
      for (int i=0; i<numberOfSlices; i++)