]> Creatis software - gdcm.git/blobdiff - Example/PcpdenseToDicom.cxx
use GDCM_NAME_SPACE:: instead of gdcm::, even in Examples ...
[gdcm.git] / Example / PcpdenseToDicom.cxx
index 359ad62e1398e98a6b15571b6a591ce154165926..b00c2091956d0b3238265f0f028ce56849d7338b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PcpdenseToDicom.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/09/04 14:10:44 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/09/15 15:49:20 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -333,7 +333,7 @@ int main(int argc, char *argv[])
 
   }
 
-   delete []image;      
+   delete []image;
    return 1;            
 }
 
@@ -368,7 +368,7 @@ XY Dimensions           47          50
      for( i=0;i<NY;i++)
         for(j=0;j<NX;j++) {
            from >> pixelValue;
-           image[i*NX+j] = (unsigned short int)(pixelValue * 1000.)
+           image[i*NX+j] = (unsigned short int)(pixelValue * 1000.);
         }
 }