]> Creatis software - gdcm.git/commit
Add a comment about a patch to be able to reda wrong images, wher UN length is
authorjpr <jpr>
Wed, 11 Jul 2007 12:21:01 +0000 (12:21 +0000)
committerjpr <jpr>
Wed, 11 Jul 2007 12:21:01 +0000 (12:21 +0000)
commitbef512a69f6a9c53b2d1e6eef1c54babe4daa19e
treeae4bfddfdfe33642f740e1bcbe907e7af9864a1a
parent64989a874c28cea9b6c4a7a16d55d0bff269ff10
Add a comment about a patch to be able to reda wrong images, wher UN length is
coded on 2 bytes.
   // WARNING :
   //
   // For some images, length of UN elements is coded on 2 bytes (instead of 4)
   // There are *not* readable !
   // You can make a quick and dirty patch, commenting out
   //| vr == "UN"
   // in the following line.
   // (the 'straight' images will no longer be readable ...)

      if ( vr == "OB" || vr == "OW" || vr == "SQ" || vr == "UT"
                                                          || vr == "UN" || changeFromUN == true)
      {
src/gdcmDocument.cxx