]> Creatis software - gdcm.git/commitdiff
Fix internal name for :
authorjpr <jpr>
Tue, 18 Oct 2005 10:43:31 +0000 (10:43 +0000)
committerjpr <jpr>
Tue, 18 Oct 2005 10:43:31 +0000 (10:43 +0000)
1.2.840.113619.5.2 : Implicit VR Big Endian DLX (G.E Private)
as ImplicitVRBigEndianPrivateGE

src/gdcmDocument.cxx
src/gdcmPixelReadConvert.cxx
src/gdcmTS.h

index 876a5095f6865e16d89bfa6960c87e2f7e98c0f2..693d425e6ecf27530982d04c4e9ef331138f98fa 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/18 09:17:08 $
-  Version:   $Revision: 1.290 $
+  Date:      $Date: 2005/10/18 10:43:31 $
+  Version:   $Revision: 1.291 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -2073,7 +2073,7 @@ void Document::HandleOutOfGroup0002(uint16_t &group, uint16_t &elem)
          return;
       }
 
-      // Group 0002 is always 'Explicit ...' enven when Transfer Syntax says 'Implicit ..." 
+      // Group 0002 is always 'Explicit ...' even when Transfer Syntax says 'Implicit ..." 
 
       if ( Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRLittleEndian )
          {
@@ -2081,7 +2081,10 @@ void Document::HandleOutOfGroup0002(uint16_t &group, uint16_t &elem)
          }
        
       // FIXME Strangely, this works with 
-      //'Implicit VR Transfer Syntax (GE Private)
+      //'Implicit VR BigEndian Transfer Syntax (GE Private)
+      //
+      // --> Probabely normal, since we considered we never have to trust manufacturers.
+      // (we find very often 'Implicit VR' tag, even when Transfer Syntax tells us it's Explicit ...
       if ( Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ExplicitVRBigEndian )
       {
          gdcmWarningMacro("Transfer Syntax Name = [" 
index 689ab46cf157c75fc2c231cb7e940efc5539c72e..e79c3d4a2a3fa9d1a8991348299d61bfd4ec21d4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelReadConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/18 08:35:50 $
-  Version:   $Revision: 1.79 $
+  Date:      $Date: 2005/10/18 10:43:31 $
+  Version:   $Revision: 1.80 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -118,7 +118,7 @@ void PixelReadConvert::GrabInformationsFromFile( File *file )
    IsRaw =
         ( ! file->IsDicomV3() )
      || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRLittleEndian
-     || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRLittleEndianDLXGE
+     || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRBigEndianPrivateGE
      || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ExplicitVRLittleEndian
      || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ExplicitVRBigEndian
      || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::DeflatedExplicitVRLittleEndian;
index 04666918a37e4ef0514c9e720e3bccb8cd6e8032..d89e4d5e2508612624996a8d162e92e7fe58d213 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmTS.h,v $
   Language:  C++
-  Date:      $Date: 2005/04/22 13:37:57 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2005/10/18 10:43:32 $
+  Version:   $Revision: 1.21 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -43,7 +43,7 @@ class GDCM_EXPORT TS
 public:
 enum SpecialType {
   ImplicitVRLittleEndian = 0,
-  ImplicitVRLittleEndianDLXGE,
+  ImplicitVRBigEndianPrivateGE,
   ExplicitVRLittleEndian,
   DeflatedExplicitVRLittleEndian,
   ExplicitVRBigEndian,