X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicomSimple.cxx;h=84d98a928ee611c6a79938c46b77bd4342d4c4c5;hb=2b320cf0cf4f79fda840939bf205503a9cbb59be;hp=03ae9b3c65866c0413a32333e998c33c3560da5b;hpb=3e82e8b67eddf5d4b95b6aa2a2e2615aced4c452;p=gdcm.git diff --git a/Example/WriteDicomSimple.cxx b/Example/WriteDicomSimple.cxx index 03ae9b3c..84d98a92 100644 --- a/Example/WriteDicomSimple.cxx +++ b/Example/WriteDicomSimple.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicomSimple.cxx,v $ Language: C++ - Date: $Date: 2005/02/02 10:06:32 $ - Version: $Revision: 1.11 $ + Date: $Date: 2005/07/08 12:02:02 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -24,7 +24,7 @@ */ #include "gdcmFile.h" #include "gdcmFileHelper.h" - + #include #include @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) header->InsertValEntry(str.str(),0x0028,0x0101); // Bits Stored str.str(""); - str << COMPONENT_SIZE * 8 - 1; + str << ( COMPONENT_SIZE * 8 ) - 1; header->InsertValEntry(str.str(),0x0028,0x0102); // High Bit // Set the pixel representation @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) { for(int c=0;c