]> Creatis software - gdcm.git/commitdiff
update Changelog
authorjpr <jpr>
Fri, 7 Nov 2003 14:37:12 +0000 (14:37 +0000)
committerjpr <jpr>
Fri, 7 Nov 2003 14:37:12 +0000 (14:37 +0000)
ChangeLog
src/gdcmFile.cxx

index a1129a7a4876aa4b5639f048bfe195c172b82a80..6f16f213f6f32823d19e275ca5156fda1effc19f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2003-11-07 Jean-Pierre Roux
+     *FIX misstyping in Transfert Syntax name table
+     *ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
+          when they have an actual length (not 0000 nor FFFFF)
+         (Nobody should care of it, but DICOMDIR explorers)
+
+2003-11-06  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
+     *ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
+
+2003-11-05  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
+     *ENH: vtkGdcmReader now supports LUT ! 
+          (vtkgdcmViewer for now is not able to use them though)
+           
+2003-11-05 Jean-Pierre Roux
+     * in testSuite.py : new files names for checking the package
+     * Fix : Forgot to commit gdcmFile::GetImageDataSizeRaw();
+             that returns the pixel area size to the *aware* (vtk) user
+             that DOESN'T want to turn the PALETTE COLOR image into an RGB image
+     
+2003-11-05 Benoit Regrain
+     * in testSuite.py : Modify the rules for checking the paths
+                       : Explicit error messages
+     * in __init__.py  : Related modif
+
 2003-11-03 Jean-Pierre Roux
      * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
            to be used by aware (vtk) users that want to manage
index 1a57bb6d74116bd34dad2a44e8c51b4217587f4c..4b22d148d7ec4823f52bdf2e5f1ae1fbc130241a 100644 (file)
@@ -374,7 +374,7 @@ size_t gdcmFile::GetImageDataIntoVector (void* destination, size_t MaxSize) {
    unsigned char * a       = (unsigned char *)destination;      
    unsigned char * lutRGBA = (unsigned char *)GetLUTRGBA();
    if (lutRGBA) {          
-      int l = lgrTotale/3;
+      int l = lgrTotaleRaw;
       memmove(newDest, destination, l);// move Gray pixels to temp area            
       int j;    
       for (int i=0;i<l; i++) {         // Build RGB Pixels
@@ -416,8 +416,7 @@ size_t gdcmFile::GetImageDataIntoVector (void* destination, size_t MaxSize) {
                   
    }   
         
-        // TODO : Drop Palette Color out of the Header? 
-            
+   // TODO : Drop Palette Color out of the Header?          
    return lgrTotale; 
 }
 
@@ -579,10 +578,15 @@ size_t gdcmFile::GetImageDataIntoVectorRaw (void* destination, size_t MaxSize) {
          if (str_PhotometricInterpretation == "YBR_FULL") { 
         
         // Warning : YBR_FULL_422 acts as RGB
-         //       need to make RGB Pixels from Planes Y,cB,cR
+         //         : we need to make RGB Pixels from Planes Y,cB,cR
          // see http://lestourtereaux.free.fr/papers/data/yuvrgb.pdf
          // for code optimisation
-
+        
+        // to see the tricks about YBR_FULL, YBR_FULL_422, 
+         // YBR_PARTIAL_422, YBR_ICT, YBR_RCT have a look at :
+        //   ftp://medical.nema.org/medical/dicom/final/sup61_ft.pdf
+        // and be *very* affraid
+        //
             int l = GetXSize()*GetYSize();
             int nbFrames = GetZSize();