X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPcpdenseToDicom.cxx;h=f9a818cf1983853e5b0ed8f1b34d45563b2a48cc;hb=9d461db5c5d954548cd07d1fa095e9bad43a0cac;hp=359ad62e1398e98a6b15571b6a591ce154165926;hpb=7807e926c2319c5adfc037665992307222bc8f27;p=gdcm.git diff --git a/Example/PcpdenseToDicom.cxx b/Example/PcpdenseToDicom.cxx index 359ad62e..f9a818cf 100644 --- a/Example/PcpdenseToDicom.cxx +++ b/Example/PcpdenseToDicom.cxx @@ -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/08 08:10:33 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -368,7 +368,7 @@ XY Dimensions 47 50 for( i=0;i> pixelValue; - image[i*NX+j] = (unsigned short int)(pixelValue * 1000.) + image[i*NX+j] = (unsigned short int)(pixelValue * 1000.); } }