4 # We just write XDCM Files and AFFIM them
5 # to be sure the writting was OK
7 # Sebastien Barre's files have no interest here, since the header is
8 # a *very clean* ACR-NEMA
9 # Our pb come from DICOM V3, with SQ, shadow groups, etc.
11 # --> EVERYWHERE, with XMEDCOM :
12 # --> warning: Incorrect OB value representation (fixed)
13 # --> to be fixed in the WRITER ...
17 testWrite mr176621.dcm x;
18 PrintHeader mr176621.dcm.XDCM 2; .
19 v mr176621.dcm.XDCM; # OK
20 xmedcon mr176621.dcm.XDCM; #breaks because 'DICM" without group 0000
21 # Write DCM needs 'CheckFileHeaderConsistency' method
28 # ------------------------------------------- BIG SOUCY !!
29 affimdcm filein=cr172241.dcm zoom=-4;
30 xmedcon cr172241.dcm; # OK
32 testWrite cr172241.dcm r;
33 affim filein=cr172241.dcm.RAW nbit=16 DIMX=1792 DIMY=2392;
34 PrintHeader cr172241.dcm 2; #OK
36 v cr172241.dcm; # breaks (white image) WHITE IMAGE ?!?
37 # Doesn't break DaVaW ...
38 testWrite cr172241.dcm x;
39 PrintHeader cr172241.dcm.XDCM 2; #OK
40 xmedcon cr172241.dcm.XDCM; # OK Incorrect OB value representation (fixed)
41 affimdcm filein=cr172241.dcm.XDCM; # OK
42 v cr172241.dcm.XDCM; # breaks ?!? White image !
45 testWrite cr_45031.dcm x;
46 v cr_45031.dcm.XDCM; #OK
47 xmedcon cr_45031.dcm.XDCM; #OK
49 testWrite CR-MONO1-10-chest.dcm x;
50 PrintHeader CR-MONO1-10-chest.dcm.XDCM 2; #OK
51 v CR-MONO1-10-chest.dcm.XDCM; #OK
52 xmedcon CR-MONO1-10-chest.dcm.XDCM; #OK Incorrect OB value representation (fixed)
54 testWrite CT-MONO2-12-lomb-an2.acr2 x;
55 PrintHeader CT-MONO2-12-lomb-an2.acr2.XDCM 2; # OK
56 v CT-MONO2-12-lomb-an2.acr2.XDCM; #OK
57 xmedcon CT-MONO2-12-lomb-an2.acr2.XDCM; #OK Incorrect OB value representation (fixed)
59 xmedcon gdcm-MR-SIEMENS-16.acr1; # Original OK
60 PrintHeader gdcm-MR-SIEMENS-16.acr1; #OK
61 testWrite gdcm-MR-SIEMENS-16.acr1 x;
62 PrintHeader gdcm-MR-SIEMENS-16.acr1.XDCM 2;
63 v gdcm-MR-SIEMENS-16.acr1.XDCM;
64 xmedcon gdcm-MR-SIEMENS-16.acr1.XDCM; #breaks error: No images found
66 xmedcon gdcm-MR-SIEMENS-16.acr2 #original OK
67 testWrite gdcm-MR-SIEMENS-16.acr2 x;
68 PrintHeader gdcm-MR-SIEMENS-16.acr2.XDCM 2;
69 v gdcm-MR-SIEMENS-16.acr2.XDCM; #OK
70 xmedcon gdcm-MR-SIEMENS-16.acr2.XDCM; #breaks
71 # --> TODO fix group length for odd groups
72 #Feb 03 18:50:24 log[4419]: warning: No transfer syntax found
73 #Feb 03 18:50:24 log[4419]: warning: Tag with uneven length
74 #Feb 03 18:50:24 log[4419]: error: No images found
76 testWrite MR-MONO2-12-an2.acr2 x;
77 PrintHeader newACR1000.nema.XDCM 2;
78 v MR-MONO2-12-an2.acr2.XDCM;
79 xmedcon MR-MONO2-12-an2.acr2.XDCM; # OK warning: Incorrect OB value representation
81 testWrite newACR1000.nema x; # == gdcmMR-SIEMENS-16.acr2
82 PrintHeader newACR1000.nema.XDCM; #OK
83 v newACR1000.nema.XDCM; #OK
84 xmedcon newACR1000.nema.XDCM; # breaks : no image found
86 testWrite oldACR00001.ima x; # == gdcm-MR-SIEMENS.16.acr1
87 PrintHeader oldACR00001.ima.XDCM; # OK
88 v oldACR00001.ima.XDCM; #OK
89 xmedcon oldACR00001.ima.XDCM; # breaks : no image found
91 testWrite OT-MONO2-8-a7.dcm x;
92 v OT-MONO2-8-a7.dcm.XDCM; #OK
93 xmedcon OT-MONO2-8-a7.dcm.XDCM ; #OK
97 testWrite gdcm-CR-DCMTK-16-NonSamplePerPix.dcm x;
98 affim filein=gdcm-CR-DCMTK-16-NonSamplePerPix.dcm;
99 PrintHeader gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM 2; # OK
100 v gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM; #OK
101 xmedcon gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM #OK
103 #Unnormalized Rectangular LibIDO format image
104 #--------------------------------------------
105 testWrite gdcm-ACR-LibIDO.acr x;
106 v gdcm-ACR-LibIDO.acr.XDCM; # OK
107 xmedcon gdcm-ACR-LibIDO.acr.XDCM; #inverts x and y (of course)
109 #Bits Allocated =12, Bits Stored=12
110 #----------------------------------
111 #MR Philips (once upon a time in Lyon-Sud)
112 testWrite MR-MONO2-12-angio-an1.acr1 x;
113 v MR-MONO2-12-angio-an1.acr1.XDCM; # shitty image
114 xmedcon MR-MONO2-12-angio-an1.acr1.XDCM; # pas mieux : warning: Incorrect PixelData length
118 testWrite US.3405.1.dcm x;
119 echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0";
120 echo " PhotometricInterpretation=RGB";
121 v US.3405.1.dcm.XDCM; #OK
122 xmedcon US.3405.1.dcm.XDCM; #OK
124 # ------------------------------------------- KING SIZE SOUCY !!
126 testWrite OT-PAL-8-face.dcm x;
127 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1";
128 echo " PhotometricInterpretation=PALETTE COLOR";
129 PrintHeaderOT-PAL-8-face.dcm.XDCM; OK
130 affimdcm filein=OT-PAL-8-face.dcm.XDCM; #OK
131 v OT-PAL-8-face.dcm.XDCM; # seg fault .!?
132 xmedcon OT-PAL-8-face.dcm.XDCM; #OK
134 testWrite 8BitsUncompressedColor.dcm x;
135 v 8BitsUncompressedColor.dcm.XDCM; # seg fault .!?
136 xmedcon 8BitsUncompressedColor.dcm.XDCM ; #OK
138 # Implicit VR - Little Endian
139 #-----------------------------
141 testWrite CT-MONO2-16-ankle.dcm x;
142 xmedcon CT-MONO2-16-ankle.dcm.XDCM; #ok
143 v CT-MONO2-16-ankle.dcm.XDCM; #ok
144 PrintHeader CT-MONO2-16-ankle.dcm 2; #ok
146 testWrite CT-MONO2-16-ort.dcm x;
147 v CT-MONO2-16-ort.dcm.XDCM; #OK
148 xmedcon CT-MONO2-16-ort.dcm.XDCM; #OK
151 testWrite CT-MONO2-8-abdo.dcm x;
152 v CT-MONO2-8-abdo.dcm.XDCM; #OK
153 xmedcon CT-MONO2-8-abdo.dcm.XDCM; #OK
155 testWrite gdcm-MR-PHILIPS-16.dcm x;
156 PrintHeader gdcm-MR-PHILIPS-16.dcm.XDCM 2; #OK
157 v gdcm-MR-PHILIPS-16.dcm.XDCM; # OK
158 xmedcon gdcm-MR-PHILIPS-16.dcm.XDCM; # error: No images found
159 xmedcon gdcm-MR-PHILIPS-16.dcm; # OK with original image
161 testWrite MR-MONO2-16-head.dcm x;
162 v MR-MONO2-16-head.dcm.XDCM; #OK
163 xmedcon MR-MONO2-16-head.dcm.XDCM; #OK
165 testWrite multiframe1Integris.dcm x;
166 PrintHeader CT-MONO2-8-abdo.dcm.XDCM 2; #OK
167 v multiframe1Integris.dcm.XDCM; #OK
168 xmedcon multiframe1Integris.dcm.XDCM; #breaks No images found
169 xmedcon multiframe1Integris.dcm;
171 testWrite multiframe2GE.dcm x;
172 v multiframe2GE.dcm.XDCM; #OK
174 xmedcon multiframe2GE.dcm.XDCM; #breaks No images found
177 testWrite irmPhlipsNew1.dcm x; # == gdcm-MR-PHILIPS-16.dcm
178 v irmPhlipsNew1.dcm.XDCM; #OK
179 xmedcon irmPhlipsNew1.dcm.XDCM; #breaks : No images found
181 #avec imagette (icone)
184 PrintHeader icone.dcm 2 | grep fffe;
185 echo "so many 0xfffe ! (274)"
187 testWrite icone.dcm x;
188 PrintHeader icone.dcm.XDCM 2;
189 #PrintHeader OK; v OK; breaks xmedcom
190 v icone.dcm.XDCM; # shitty image --> TODO : FIX (once again)icon pb
191 xmedcon icone.dcm.XDCM; #breaks
199 #Explicit VR - Little Endian
200 #----------------------------
201 testWrite CT-MONO2-16-brain.dcm x;
202 v CT-MONO2-16-brain.dcm.XDCM; #OK
203 xmedcon CT-MONO2-16-brain.dcm.XDCM; #OK
205 PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2;
206 xmedcon gdcm-MR-PHILIPS-16-Multi-Seq.dcm #OK :Skip PHILIPS premature item bug
207 v gdcm-MR-PHILIPS-16-Multi-Seq.dcm; #OK
208 testWrite gdcm-MR-PHILIPS-16-Multi-Seq.dcm x;
209 PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM 2; #pixel group missing??!?
210 #v gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM; #shitty image, ofcourse
211 xmedcon gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM; # works ?!?
212 v gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM;
215 testWrite gdcm-MR-PHILIPS-16-NonRectPix.dcm x;
216 v gdcm-MR-PHILIPS-16-NonRectPix.dcm.XDCM; #OK
217 xmedcon gdcm-MR-PHILIPS-16-NonRectPix.dcm.XDCM; #OK warning: Incorrect sequence length
219 testWrite MR-MONO2-8-16x-heart.dcm x; #multiframe # equals to ???
220 v MR-MONO2-8-16x-heart.dcm.XDCM; #OK
221 xmedcon MR-MONO2-8-16x-heart.dcm.XDCM; #OK
223 testWrite NM-MONO2-16-13x-heart.dcm x; #multiframe
224 v NM-MONO2-16-13x-heart.dcm.XDCM; #OK
225 xmedcon NM-MONO2-16-13x-heart.dcm.XDCM; #OK
227 testWrite sonataMonaco.dcm x;
228 v sonataMonaco.dcm.XDCM; #OK
229 xmedcon sonataMonaco.dcm.XDCM; #OK
232 testWrite US-MONO2-8-8x-execho.dcm x;
233 PrintHeader US-MONO2-8-8x-execho.dcm.XDCM;
234 v US-MONO2-8-8x-execho.dcm.XDCM; # OK
235 xmedcon US-MONO2-8-8x-execho.dcm.XDCM; #OK
239 testWrite US-RGB-8-epicard.dcm x;
240 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1";
241 echo " PhotometricInterpretation=RGB";
242 v US-RGB-8-epicard.dcm.XDCM; #OK
243 xmedcon US-RGB-8-epicard.dcm.XDCM; #OK
245 testWrite US-RGB-8-esopecho.dcm x;
246 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0";
247 echo " PhotometricInterpretation=RGB",
248 xmedcon US-RGB-8-esopecho.dcm.XDCM; #OK
250 # Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
251 #--------------------------------------------------------------------------
254 testWrite CT-MONO2-16-chest.dcm x;
255 v CT-MONO2-16-chest.dcm.XDCM; #OK
256 xmedcon CT-MONO2-16-chest.dcm.XDCM; #OK
258 testWrite 012345.002.050.dcm x;
259 v 012345.002.050.dcm.XDCM; #OK
260 xmedcon 012345.002.050.dcm.XDCM; #OK
262 testWrite gdcm-JPEG-LossLess3a.dcm x;
263 v gdcm-JPEG-LossLess3a.dcm.XDCM ; #OK
264 xmedcon gdcm-JPEG-LossLess3a.dcm.XDCM; #OK
266 testWrite XA-MONO2-8-12x-catheter.dcm x;
267 v XA-MONO2-8-12x-catheter.dcm.XDCM; #OK
268 PrintHeader XA-MONO2-8-12x-catheter.dcm.XDCM 2;
269 xmedcon XA-MONO2-8-12x-catheter.dcm.XDCM; #OK
271 testWrite xa_integris.dcm x;
272 echo "a lot of fragments expected here";
273 v xa_integris.dcm.XDCM #OK
274 xmedcon xa_integris.dcm.XDCM #OK
276 testWrite 16BitsJpegLosslessGrayScale.dcm x;
277 v 16BitsJpegLosslessGrayScale.dcm.XDCM #OK
278 xmedcon 16BitsJpegLosslessGrayScale.dcm.XDCM #OK
280 #comming from GE dlx via VTServer
282 testWrite I9000001.dcm x;
283 PrintHeader I9000001.dcm.XDCM 2; # pixel group NOT FOUND ??!??
287 xmedcon I9000001.dcm.XDCM;
289 #JPEG Extended (Process 2 & 4) // 16 bits
290 #-----------------------------
291 testWrite gdcm-JPEG-Extended.dcm x;
292 v gdcm-JPEG-Extended.dcm.XDCM; #OK
293 xmedcon gdcm-JPEG-Extended.dcm.XDCM; #OK
295 testWrite jpeglossy1.dcm x;
296 v jpeglossy1.dcm.XDCM #OK
297 xmedcon jpeglossy1.dcm.XDCM #OK
299 #JPEG Baseline (Process 14)
300 #--------------------------
301 testWrite MR-MONO2-12-shoulder.dcm x;
302 v MR-MONO2-12-shoulder.dcm.XDCM; #OK
303 xmedcon MR-MONO2-12-shoulder.dcm.XDCM; #OK
306 #fichier format ecat.
307 #testWrite imageEcat.ecat r
311 #JPEG Baseline (Process 1)
312 #-------------------------
314 testWrite US.1.2.dcm x;
315 echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)";
316 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0";
317 echo " PhotometricInterpretation=YBR_FULL_422";
318 v US.1.2.dcm.XDCM; #OK
319 xmedcon US.1.2.dcm.XDCM; #OK
322 testWrite CLIP0001-Sequoia-U11.dcm x;
323 v CLIP0001-Sequoia-U11.dcm.XDCM; #OK
324 xmedcon CLIP0001-Sequoia-U11.dcm.XDCM; #OK
328 testWrite canadaAloka.dcm x;
329 echo "expected pixelType=8U SamplesPerPixel=1";
330 echo " PlanarConfiguration=0 PhotometricInterpretation=MONOCHROME2";
331 echo " nb Frames (DIMZ) : 1";
332 v canadaAloka.dcm.XDCM; # OK
333 xmedcon canadaAloka.dcm.XDCM; #OK
335 testWrite jpeglossy1.dcm x; # equal to ???
336 v jpeglossy1.dcm.XDCM; #OK
337 xmedcon jpeglossy1.dcm.XDCM; #OK
339 testWrite FMAG0001.dcm x;
340 echo "expected pixelType=8U SamplesPerPixel=3";
341 echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL";
342 echo " nb Frames (DIMZ) : 1";
343 v FMAG0001.dcm.XDCM; #OK
344 xmedcon FMAG0001.dcm.XDCM; #OK
347 xmedcon QMAG0001.dcm; #original breaks xmedcon
348 #warning: Unknown PhotometricInterpretation
349 testWrite QMAG0001.dcm x;
350 echo "expected pixelType=8U SamplesPerPixel=3";
351 echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL";
352 v QMAG0001.dcm.XDCM; #OK
353 xmedcon QMAG0001.dcm.XDCM; #OK
355 testWrite US-PAL-8-10x-echo.dcm x;
356 echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0";
357 echo " PhotometricInterpretation=PALETTE COLOR";
358 echo " nb Frames (DIMZ): 10";
359 echo "expected : Parsing 10 'single fragment' Segments";
360 echo " Reading 10 'single fragment' Segments (ouf!)";
361 v US-PAL-8-10x-echo.dcm.XDCM; # SEG FAULT
362 xmedcon US-PAL-8-10x-echo.dcm.XDCM; #OK
364 testWrite 8BitsRunLengthGrayScale.dcm x;
365 echo "expected : correct Gray image";
366 v 8BitsRunLengthGrayScale.dcm.XDCM; #OK
367 xmedcon 8BitsRunLengthGrayScale.dcm.XDCM; #OK
369 testWrite 8BitsRunLengthColor.dcm x;
370 echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2";
371 echo " PhotometricInterpretation=PALETTE COLOR";
372 v 8BitsRunLengthColor.dcm.XDCM; # SEG FAULT
373 echo "WAS expected correct color image";
374 xmedcon 8BitsRunLengthColor.dcm.XDCM; #OK
376 #RLE 16 bits --> Try to find some more images
378 testWrite 16BitsRunLengthGrayScale.dcm x;
379 echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0";
380 echo " PhotometricInterpretation=MONOCHROME2";
381 v 16BitsRunLengthGrayScale.dcm.XDCM;
382 xmedcon 16BitsRunLengthGrayScale.dcm.XDCM; #OK
384 #Were supposed to be bugged
385 #--------------------------
387 xmedcon 00191113.dcm; #No images found
388 testWrite 00191113.dcm x;
389 v 00191113.dcm.XDCM; #OK
390 xmedcon 00191113.dcm.XDCM; #OK
392 xmedcon DermaColorLossLess.dcm; #breaks xmedcon : No images found
393 testWrite DermaColorLossLess.dcm x;
394 xmedcon DermaColorLossLess.dcm.XDCM; #breaks xmedcon
395 #Feb 02 19:33:16 log[2619]: warning: Tag with uneven length
396 #Feb 02 19:33:16 log[2619]: warning: No transfer syntax found
397 #Feb 02 19:33:16 log[2619]: error: No images found
398 v DermaColorLossLess.dcm.XDCM #OK
400 #Original breaks xmedcon, affimdcm complian ?!
401 affimdcm filein=RadBWLossLess.dcm; #OK
402 v RadBWLossLess.dcm; #OK
403 xmedcon RadBWLossLess.dcm; # breaks :error: No images found
404 testWrite RadBWLossLess.dcm x;
405 v RadBWLossLess.dcm.XDCM; #OK
406 xmedcon RadBWLossLess.dcm.XDCM; #error: No images found
411 #Rectangular old 24 Bits image
412 v gdcm-RGB-LibIDORect.acr; # OK
413 testWrite gdcm-RGB-LibIDORect.acr x;
414 v gdcm-RGB-LibIDORect.acr.XDCM;
415 xmedcon gdcm-RGB-LibIDORect.acr.XDCM; # breaks : large Bit Allocated (24)
416 #TODO transform '24 bit images' into 8 bits + samples per pixel = 3
418 #MR GE GENESIS_SIGNA Palo Alto
419 testWrite DicomSampleNastyGEImage.dcm x;
420 echo " expected : warning uneven length (13) for 0008|103e";
421 v DicomSampleNastyGEImage.dcm.XDCM; #OK
422 xmedcon DicomSampleNastyGEImage.dcm.XDCM; #OK
424 #MR Philips NTSCAN Hop. Neuro Lyon
425 PrintHeader philipsMR-lossy.ima #OK
426 xmedcon philipsMR-lossy.ima; #original breaks xmedcon
427 v philipsMR-lossy.ima; #Original OK
428 testWrite philipsMR-lossy.ima x;
429 echo "WAS expected : 'Bogus Huffman table definition' on philipsMR-lossy.ima";
430 echo "IS expected : 'JERR_BAD_HUFF_TABLE sym 16 (>15)' but the show goes on";
431 v philipsMR-lossy.ima.XDCM; # BLACK IMAGE
432 xmedcon philipsMR-lossy.ima.XDCM; #OK
434 #CT Siemens Hop. Salengro Lille
435 testWrite gdcm-JPEG-LossLess3a.dcm x;
436 echo "expected : wrong sequence delimiter (b00c,0eb6) at end of pixels";
437 echo "xmedcon says 'error: Unexpected end of file'";
438 vtkgdcmViewer gdcm-JPEG-LossLess3a.dcm.XDCM; #OK; needs 'R' for display
439 xmedcon gdcm-JPEG-LossLess3a.dcm.XDCM; #OK
441 #CR Philips Thoravision Hop Cardio Lyon
442 affimdcm filein=gdcm-JPEG-LossLessThoravision.dcm; # OK, wrong image as usual
443 xmedcon gdcm-JPEG-LossLessThoravision.dcm; #original seg faults xmedcon
444 testWrite gdcm-JPEG-LossLessThoravision.dcm x; #breaks ;
445 echo "expected : 147 fragments,length : 29860 + 145*32760 + 14416";
446 echo "breaks xmedcom, breaks e-film";
447 echo "WAS expected : hashed image -with jLBJpeg-";
448 echo "IS expected : Seg Fault";
449 xmedcon gdcm-JPEG-LossLessThoravision.dcm.XDCM; # NOT CHECKED
451 #MR Picker ST. ANTHONY HOSPITAL
452 testWrite MR.6799.1.dcm x; #equal to ???
453 echo "OK; DICOM Image with NO Preamble";
454 v MR.6799.1.dcm.XDCM; #OK
455 xmedcon MR.6799.1.dcm.XDCM; #OK
457 #Segmented Palette Color LUT Data
458 xmedcon gdcm-US-ALOKA-16.dcm; #breaks # Missing CLUT
459 vtkgdcmViewer gdcm-US-ALOKA-16.dcm3; #OK
460 testWrite gdcm-US-ALOKA-16.dcm x;
461 echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0";
462 echo " PhotometricInterpretation=PALETTE COLOR";
463 echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account";
464 echo "neither e-film nor DicomWorks deals with the color"
465 echo "breaks xmedcom";
466 echo "breaks vtkgdcmViewer (bad result : 24 bits expected; 16 found in Pixels area)";
467 vtkgdcmViewer gdcm-US-ALOKA-16.dcm.XDCM; #OK
468 xmedcon gdcm-US-ALOKA-16.dcm.XDCM; #breaks
469 #Feb 03 13:40:19 log[26999]: error: Missing CLUT
470 #Feb 03 13:40:19 log[26999]: error: No images found
472 # bugged Siemens 'Leonardo' image
473 testWrite 8078283Leonardo.dcm x;
474 xmedcon 8078283Leonardo.dcm.XDCM; #OK
476 #CT McTwin Elscint C.H.R.U LILLE C.HURIEZ
477 xmedcon MxTwinLossLess.dcm; #breaks No images found
478 v MxTwinLossLess.dcm; #OK
479 testWrite MxTwinLossLess.dcm x;
480 v MxTwinLossLess.dcm.XDCM; #OK
481 xmedcon MxTwinLossLess.dcm.XDCM #breaks
483 # MRI image from VPRO burned CD
484 v mriThruVPRO.dcm; # Tasteless SHIT
485 xmedcon mriThruVPRO.dcm; # pas mieux
486 testWrite mriThruVPRO.dcm x;
487 v mriThruVPRO.dcm.XDCM;
488 echo "expected : tasteless SHIT !"
489 echo "breaks Siemens Leonardo viewer . JPEG encoding is bugged?"
491 # gdcm made Theralys image
492 # due to H table, a SeQuence is tagged with 0 length
493 # when using gdcmFile::WriteDcmXXX
494 xmedcon fromTheralys.dcm; # Original breaks xmedcon
495 testWrite fromTheralys.dcm x;
496 v fromTheralys.dcm.XDCM; # OK
497 xmedcon fromTheralys.dcm.XDCM; # OK