]> Creatis software - gdcm.git/commitdiff
Comments
authorjpr <jpr>
Sat, 30 Jul 2005 18:17:08 +0000 (18:17 +0000)
committerjpr <jpr>
Sat, 30 Jul 2005 18:17:08 +0000 (18:17 +0000)
src/gdcmDocument.h
src/gdcmFile.cxx

index d032a38859e42591cb6dad1aec99268f7939b050..c7c6fc71222b7940df5476736b617ecf78f80750 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.h,v $
   Language:  C++
-  Date:      $Date: 2005/07/17 04:28:55 $
-  Version:   $Revision: 1.117 $
+  Date:      $Date: 2005/07/30 18:19:44 $
+  Version:   $Revision: 1.118 $
  
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -30,7 +30,8 @@
 
 #define NO_SEQ        0x00000001  // Don't load odd groups
 #define NO_SHADOW     0x00000002  // Don't load Sequences
-#define NO_SHADOWSEQ  0x00000004  // Don't load Sequences if they belong to odd group
+#define NO_SHADOWSEQ  0x00000004  // Don't load Sequences if they belong 
+                                  // to an odd group
                                   // (*exclusive* from NO_SEQ and NO_SHADOW)
 namespace gdcm 
 {
@@ -113,7 +114,7 @@ typedef std::list<Element> ListElements;
  * @param   mode Load mode to be used    
  */
    void SetLoadMode (int mode) { if (LoadMode != mode) 
-                                     LoadMode = mode, IsDocumentModified = true; }
+                                     LoadMode=mode, IsDocumentModified = true; }
 
 protected:
 // Methods
index e1c6c35f9a851e74691bb9b53b8afc7de22ee219..f79b64e7c8618eb8cc8f574c93ef064f13daf54e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/07/24 02:34:41 $
-  Version:   $Revision: 1.263 $
+  Date:      $Date: 2005/07/30 18:17:08 $
+  Version:   $Revision: 1.264 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -785,8 +785,8 @@ int File::GetBitsStored()
 
 /**
  * \brief   Retrieve the number of Bits Allocated
- *          (8, 12 -compacted ACR-NEMA files-, 16, ...)
- * @return  The encountered number of Bits Allocated, 0 by default.
+ *          (8, 12 -compacted ACR-NEMA files-, 16, 24 -old RGB ACR-NEMA files-,)
+ * @return  The encountered Number of Bits Allocated, 0 by default.
  *          0 means the file is NOT USABLE. The caller has to check it !
  */
 int File::GetBitsAllocated()
@@ -920,8 +920,8 @@ std::string File::GetPixelType()
    }
    else if ( bitsAlloc == "24" )
    {
-      // (in order no to be messed up
-      bitsAlloc = "8";  // by old RGB images)
+      // (in order no to be messed up by old RGB images)
+      bitsAlloc = "8";
    }
 
    std::string sign = GetEntryValue(0x0028, 0x0103);//"Pixel Representation"