[Dcmlib] Recap resultat test Jpeg Lib

Jean-Pierre Roux jpr at creatis.insa-lyon.fr
Mon Nov 8 21:54:44 CET 2004


Bonsoir.

==> Avec la version actuelle de gdcm, TestReadWriteReadCompare affiche, 
pour les images 'classiques' de gdcmData, quelques messages de warning 
lors de la decompression, mais les images s'affichent correctement avec 
vtkgdcmViewer :
 
==============================================================================================

Testing: /home/jpr/junk3/gdcmData/PHILIPS_Integris_H-8-MONO2-Multiframe.dcm
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: 1 extraneous bytes before marker 0xd9
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: 2 extraneous bytes before marker 0xd9
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer : OK

Testing: 
/home/jpr/junk3/gdcmData/MARCONI_MxTWin-12-MONO2-JpegLossless-ZeroLengthSQ.dcm
Must downscale data from 16 bits to 12
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer : OK

Testing: 
/home/jpr/junk3/gdcmData/PHILIPS_Gyroscan-12-MONO2-Jpeg_Lossless.dcm
Must downscale data from 16 bits to 12
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer OK

Testing: /home/jpr/junk3/gdcmData/gdcm-JPEG-LossLessThoravision.dcm
Corrupt JPEG data: bad Huffman code
Empty input file

--> image blanche

=========================================================================================

Les 'grosses' images (4663 x 3063) du data set Compression de D. Clunie 
montrent qu'il doit encore y avoir des fuites mémoire :-(

Testing: /home/jpr/junk3/gdcmData/MG1_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...4...OK.

--> pete vtkgdcmViewer apres 8 mn de memory swap
--> image 4663 x 3063 ; devrait tenir en mémoire meme avec 256 Mo RAM, non ?
--> image visualisable, mais cassée sur une machine 1 Go RAM
--> Ca sent le mem leak, ca ....

Testing: /home/jpr/junk3/gdcmData/MG1_JPLL.dcm
Corrupt JPEG data: bad Huffman code
Not a JPEG file: starts with 0x81 0x27
           step 1 ...2...3...
        Pixel differ (as expanded in memory).  

-> pete vtkgdcmViewer apres 8 mn de memory swap
--> image 4663 x 3063 ; devrait tenir en mémoire meme avec 256 Mo RAM, non ?
--> image visualisable, mais cassée sur une machine 1 Go RAM
--> Ca sent le mem leak, ca ....


=========================================================================================

De tres nombreuses autres s'affichent, soit noires, soit blanches, soit 
cassées ...

Testing: /home/jpr/junk3/gdcmData/XA1_JPLL.dcm
Corrupt JPEG data: 25 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image cassée par un rectangle blanc

Testing: /home/jpr/junk3/gdcmData/RG2_JPLL.dcm
Corrupt JPEG data: bad Huffman code
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image entierement blanche

Testing: /home/jpr/junk3/gdcmData/SC1_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...4...OK.

--> image entierement blanche


Testing: /home/jpr/junk3/gdcmData/NM1_JPLL.dcm
Corrupt JPEG data: 1 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...4...OK.

--> image cassée en 2

Testing: /home/jpr/junk3/gdcmData/MR2_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...4...OK.

--> image cassée en 2

Testing: /home/jpr/junk3/gdcmData/SC1_JPLL.dcm
Corrupt JPEG data: bad Huffman code
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory). 

--> image blanche

Testing: /home/jpr/junk3/gdcmData/MR1_JPLL.dcm
Corrupt JPEG data: 11 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...4...OK.

--> image cassée

Testing: /home/jpr/junk3/gdcmData/RG1_JPLL.dcm
Corrupt JPEG data: 459 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image noire


Testing: /home/jpr/junk3/gdcmData/MR4_JPLL.dcm
Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image cassee

   Testing: /home/jpr/junk3/gdcmData/CT2_JPLL.dcm
Corrupt JPEG data: bad Huffman code
Empty input file
           step 1 ...2...3...4...OK.

--> image cassee

   Testing: /home/jpr/junk3/gdcmData/RG3_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image cassée

   Testing: /home/jpr/junk3/gdcmData/CT1_JPLL.dcm
Corrupt JPEG data: 10 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...4...OK.

--> image cassée

   Testing: /home/jpr/junk3/gdcmData/MR3_JPLL.dcm
Corrupt JPEG data: 5 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...4...OK.

--> image cassée


Testing: /home/jpr/junk3/gdcmData/MR2_JPLL.dcm
Corrupt JPEG data: 40 extraneous bytes before marker 0xd9
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image cassée

Testing: /home/jpr/junk3/gdcmData/RG3_JPLL.dcm
Corrupt JPEG data: bad Huffman code
Empty input file
           step 1 ...2...3...
        Pixel differ (as expanded in memory).

--> image casée

===================================================

Quelques autres 'passent', malgre des Warning ...

Testing: /home/jpr/junk3/gdcmData/MR4_JPLY.dcm
Invalid SOS parameters for sequential JPEG
           step 1 ...2...3...4...OK.

--> image presque sans dynamique


Testing: /home/jpr/junk3/gdcmData/MR3_JPLY.dcm
Invalid SOS parameters for sequential JPEG
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer OK

 Testing: /home/jpr/junk3/gdcmData/XA1_JPLY.dcm
Invalid SOS parameters for sequential JPEG
           step 1 ...2...3...4...OK.  

--> vtkgdcmViewer OK

Testing: /home/jpr/junk3/gdcmData/RG2_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer OK

Testing: /home/jpr/junk3/gdcmData/MR1_JPLY.dcm
Invalid SOS parameters for sequential JPEG
Empty input file
           step 1 ...2...3...4...OK.

--> vtkgdcmViewer : OK



























More information about the Dcmlib mailing list