]> Creatis software - gdcm.git/commitdiff
ENH: Adding support for GE Private Transfer Syntax where file is in little endian...
authormalaterre <malaterre>
Wed, 17 Nov 2004 19:49:13 +0000 (19:49 +0000)
committermalaterre <malaterre>
Wed, 17 Nov 2004 19:49:13 +0000 (19:49 +0000)
src/gdcmDocument.cxx
src/gdcmDocument.h
src/gdcmPixelConvert.cxx

index 854e6db28d1193494b02061ea6219ec690e3aed7..62f5b9d211c61ca98c97cdf0fe3583977dee59f6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/17 10:20:07 $
-  Version:   $Revision: 1.133 $
+  Date:      $Date: 2004/11/17 19:49:13 $
+  Version:   $Revision: 1.134 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,6 +39,8 @@ namespace gdcm
 static const char *TransferSyntaxStrings[] =  {
   // Implicit VR Little Endian
   "1.2.840.10008.1.2",
+  // Implicit VR Little Endian DLX G.E?
+  "1.2.840.113619.5.2",
   // Explicit VR Little Endian
   "1.2.840.10008.1.2.1",
   // Deflated Explicit VR Little Endian
@@ -2609,6 +2611,7 @@ bool Document::CheckSwap()
 }
 
 
+
 /**
  * \brief Restore the unproperly loaded values i.e. the group, the element
  *        and the dictionary entry depending on them. 
@@ -3100,7 +3103,7 @@ void Document::BuildFlatHashTableRecurse( TagDocEntryHT& builtHT,
  *        Document.
  *
  *        The structure used by a Document (through \ref ElementSet),
- *        in order to old the parsed entries of a Dicom header, is a recursive
+ *        in order to hold the parsed entries of a Dicom header, is a recursive
  *        one. This is due to the fact that the sequences (when present)
  *        can be nested. Additionaly, the sequence items (represented in
  *        gdcm as \ref SQItem) add an extra complexity to the data
index 68126078783d7b8072efc1d33c08f939e2e89a28..1ad9350d4b8aed916efefa0fc8c21d2e6f4618cd 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.h,v $
   Language:  C++
-  Date:      $Date: 2004/11/16 10:25:53 $
-  Version:   $Revision: 1.60 $
+  Date:      $Date: 2004/11/17 19:49:13 $
+  Version:   $Revision: 1.61 $
  
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -43,6 +43,7 @@ namespace gdcm
 
 enum TransferSyntaxType {
   ImplicitVRLittleEndian = 0,
+  ImplicitVRLittleEndianDLXGE,
   ExplicitVRLittleEndian,
   DeflatedExplicitVRLittleEndian,
   ExplicitVRBigEndian,
index 2721f2b4d81471e8d26e3eec6112d4c1b4d0db2d..9da6c400fc5a9fce11be3ed5903ee4ac73da8f0d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/16 11:19:51 $
-  Version:   $Revision: 1.30 $
+  Date:      $Date: 2004/11/17 19:49:13 $
+  Version:   $Revision: 1.31 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -813,6 +813,7 @@ void PixelConvert::GrabInformationsFromHeader( Header* header )
    IsDecompressed =
         ( ! header->IsDicomV3() )
      || ts == ImplicitVRLittleEndian
+     || ts == ImplicitVRLittleEndianDLXGE
      || ts == ExplicitVRLittleEndian
      || ts == ExplicitVRBigEndian
      || ts == DeflatedExplicitVRLittleEndian;