]> Creatis software - gdcmData.git/blob - checkRead.sh
- oldACR00001.ima renamed to SIEMENS_GBS_III-16-ACR_NEMA_1.acr
[gdcmData.git] / checkRead.sh
1 # Check gdcmRead
2 # ==============
3 #
4 # This script :
5 #
6 #   - gdcmreads the images of gdcmData
7 #   - fwrite the pixels (an nothing more), into a '.RAW' file
8 #   - affim them (you may replace affim by any 'Raw File' viewer) 
9 #
10 #   just to verify the ability of gdcm to 'extract' the pixels 
11 #                  out of a DICOM File
12 #
13 #No Swap Info
14 #------------
15 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite   mr176621.dcm r;
16 affim filein=mr176621.dcm.RAW DIMX=512 DIMY=512 nbit=16
17
18 # No Transfert Syntax
19 #--------------------
20 #Big Endian
21 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  cr172241.dcm r;
22 affim filein=cr172241.dcm.RAW DIMX=1792 DIMY=2392 nbit=16 zoom=-4
23 #0008,0200 (image location) wrongly stored 
24 #0028,3006 (LUT Data) has a CTX VR
25
26 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  cr_45031.dcm r;                                   
27 affim filein=cr_45031.dcm.RAW  DIMX=1670 DIMY=2010 nbit=16 zoom=-4
28
29 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CR-MONO1-10-chest.dcm r;
30 affim filein=CR-MONO1-10-chest.dcm.RAW  DIMX=440 DIMY=440 nbit=16
31
32 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-12-lomb-an2.acr2 r;
33 affim filein=CT-MONO2-12-lomb-an2.acr2.RAW DIM=512 nbit=16
34
35 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-MR-SIEMENS-16-1.acr r;
36 affim filein=gdcm-MR-SIEMENS-16-1.acr.RAW DIMX=256 DIMY=256 nbit=16
37
38 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-MR-SIEMENS-16-2.acr r;
39 affim filein=gdcm-MR-SIEMENS-16-2.acr.RAW  DIMX=512 DIMY=512 nbit=16
40
41 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MR-MONO2-12-an2.acr r;
42 affim filein=MR-MONO2-12-an2.acr.RAW DIMX=256 DIMY=256 nbit=16
43
44 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  newACR1000.nema r;          # == gdcmMR-SIEMENS-16.acr2
45 affim filein=newACR1000.nema.RAW DIMX=512 DIMY=512 nbit=16
46
47 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  oldACR00001.ima r;          # == gdcm-MR-SIEMENS.16.acr1
48 affim filein=oldACR00001.ima.RAW DIMX=256 DIMY=256 nbit=16
49
50 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  OT-MONO2-8-a7.dcm r;
51 affim filein=OT-MONO2-8-a7.dcm.RAW  DIMX=512 DIMY=512
52
53 #No Samples Per Pixel
54 #--------------------
55 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-CR-DCMTK-16-NonSamplePerPix.dcm r;
56 affim filein=gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.RAW dim=750 nbit=8
57
58 #Unnormalized Rectangular LibIDO format image
59 #--------------------------------------------
60 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-ACR-LibIDO.acr r;
61 affim filein=gdcm-ACR-LibIDO.acr.RAW dimx=512 dimy=301
62
63 #Bits Allocated =12, Bits Stored=12
64 #----------------------------------
65 #MR Philips (once upon a time in Lyon-Sud)
66 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite   MR-MONO2-12-angio-an1.acr1 r;
67 affim filein=MR-MONO2-12-angio-an1.acr1.RAW dim=256 nbit=16
68
69 #RGB
70 #---
71 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US.3405.1.dcm r;                    
72 echo "expected  pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
73 echo "          PhotometricInterpretation=RGB"
74 affim filein=US.3405.1.dcm.RAW DIMX=768 DIMY=576 nbit=24
75
76 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  OT-PAL-8-face.dcm r;
77 echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
78 echo "          PhotometricInterpretation=PALETTE COLOR"
79 affim filein=OT-PAL-8-face.dcm.RAW dimx=640 dimy=480 nbit=24
80
81 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  8BitsUncompressedColor.dcm r;
82 affim filein=8BitsUncompressedColor.dcm.RAW dimx=800 dimy=535 nbit=24
83
84 # Implicit VR - Little Endian
85 #-----------------------------
86
87 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-16-ankle.dcm r;
88  affim filein=CT-MONO2-16-ankle.dcm.RAW DIMX=512 DIMY=512 nbit=16 signe=o
89
90 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-16-ort.dcm r;
91 affim filein=CT-MONO2-16-ort.dcm.RAW DIMX=512 DIMY=512 nbit=16 signe=o
92
93 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-8-abdo.dcm r;
94 affim filein=CT-MONO2-8-abdo.dcm.RAW DIMX=512 DIMY=512
95
96 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MR-MONO2-16-head.dcm r;
97 affim filein=MR-MONO2-16-head.dcm.RAW dim=256 nbit=16 signe=o
98
99 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  multiframe1Integris.dcm r;
100 affim filein=multiframe1Integris.dcm.RAW dim=1024 nbit=16 zoom=-2
101 affim filein=multiframe1Integris.dcm.RAW dim=1024 nbit=16 offset=31457280 zoom=-2
102
103 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  multiframe2GE.dcm r;
104 affim filein=multiframe2GE.dcm.RAW dim=512
105 affim filein=multiframe2GE.dcm.RAW dim=512 offset=14417920
106
107 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  irmPhlipsNew1.dcm r; # == gdcm-MR-PHILIPS-16.dcm
108 affim DIMX=256 DIMY=256 filein=irmPhlipsNew1.dcm.RAW nbit=16
109
110 #avec imagette (icone)
111
112 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  icone.dcm r;
113 affim filein=icone.dcm bypassacr=1 dim=512 nbit=16 offset=18240
114 affim filein=icone.dcm dim=64 offset=13984 bypassacr=1
115 affim filein=icone.dcm.RAW dim=512 nbit=16
116
117 #Palette
118
119 # ???
120 # 8 Bits  ?
121 # 16 Bits ?
122
123 #Explicit VR - Little Endian
124 #----------------------------
125 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-16-brain.dcm r;
126 affim filein=CT-MONO2-16-brain.dcm.RAW  DIMX=512 DIMY=512 nbit=16 signe=o
127
128 # 7 'first level' SeQuences , 140 'second level' SeQuences ?!?
129 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-MR-PHILIPS-16-Multi-Seq.dcm r;
130 affim filein=gdcm-MR-PHILIPS-16-Multi-Seq.dcm.RAW  DIMX=128 DIMY=128 nbit=16
131 PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2
132
133 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-MR-PHILIPS-16-NonRectPix.dcm r;
134 affim filein=gdcm-MR-PHILIPS-16-NonRectPix.dcm.RAW DIMX=160 DIMY=64 nbit=16
135
136 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MR-MONO2-8-16x-heart.dcm r;
137 affim filein=MR-MONO2-8-16x-heart.dcm.RAW DIMX=256 DIMY=256
138
139 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  NM-MONO2-16-13x-heart.dcm r;
140 affim filein=NM-MONO2-16-13x-heart.dcm.RAW  DIMX=64 DIMY=64 nbit=16
141 affim filein=NM-MONO2-16-13x-heart.dcm.RAW  DIMX=64 DIMY=64 nbit=16 offset=98304
142
143 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  sonataMonaco.dcm r;
144 affim filein=sonataMonaco.dcm.RAW DIMX=256 DIMY=208 nbit=16
145
146 #MultiFrame
147 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US-MONO2-8-8x-execho.dcm r;
148 affim filein=US-MONO2-8-8x-execho.dcm.RAW  DIMX=128 DIMY=120 
149 affim filein=US-MONO2-8-8x-execho.dcm.RAW  DIMX=128 DIMY=120 offset=92160
150
151 #RGB
152
153 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US-RGB-8-epicard.dcm r;
154 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
155 echo "         PhotometricInterpretation=RGB"
156 affim filein=US-RGB-8-epicard.dcm.RAW  dimx=640 dimy=480 nbit=24
157
158 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US-RGB-8-esopecho.dcm r;
159 echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
160 echo "         PhotometricInterpretation=RGB"
161 affim filein=US-RGB-8-esopecho.dcm.RAW dimx=256 dimy=120 nbit=24
162
163 # Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
164 #--------------------------------------------------------------------------
165 # (JPEG Lossless)
166
167 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CT-MONO2-16-chest.dcm r;
168 affim filein=CT-MONO2-16-chest.dcm.RAW dimx=512 dimy=400 nbit=16 signe=o
169
170 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  012345.002.050.dcm r;
171 affim filein=012345.002.050.dcm.RAW dim=256 nbit=16
172
173 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-JPEG-LossLess3a.dcm r;
174 affim filein=gdcm-JPEG-LossLess3a.dcm.RAW dim=512 nbit=16
175
176 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  XA-MONO2-8-12x-catheter.dcm r;
177 affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512;
178 affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512 offset=262144
179 affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512 offset=2883584
180
181 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  xa_integris.dcm r;
182 echo "a lot of fragments expected here"
183 affim filein=xa_integris.dcm.RAW dim=512
184 affim filein=xa_integris.dcm.RAW dim=512 offset=13107200
185 affim filein=xa_integris.dcm.RAW dim=512 offset=19660800
186
187 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  16BitsJpegLosslessGrayScale.dcm r;
188 affim filein=16BitsJpegLosslessGrayScale.dcm.RAW DIMX=800 DIMY=535 nbit=16
189
190 #comming from GE dlx via VTServer
191 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  I9000001.dcm r;
192 affim filein=I9000001.dcm.RAW dim=512 
193 affim filein=I9000001.dcm.RAW dim=512 offset=7864320
194
195 #JPEG Extended (Process 2 & 4) // 16 bits
196 #-----------------------------
197 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-JPEG-Extended.dcm r;
198 affim filein=gdcm-JPEG-Extended.dcm.RAW  dim=512 nbit=16
199
200 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  jpeglossy1.dcm r;
201 affim filein=jpeglossy1.dcm.RAW dim=512 nbit=16
202
203 #JPEG Baseline (Process 14)
204 #--------------------------
205 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MR-MONO2-12-shoulder.dcm r;  
206 affim filein=MR-MONO2-12-shoulder.dcm.RAW DIMX=1024 DIMY=1024 nbit=16
207
208
209 #fichier format ecat.
210 #/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  imageEcat.ecat r
211
212 #JPEG Lossy 8 bits 
213 #=================
214 #JPEG Baseline (Process 1)
215 #-------------------------
216 # Bracco Files
217 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US.1.2.dcm r;
218 echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)"
219 echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
220 echo "          PhotometricInterpretation=YBR_FULL_422"
221 affim filein=US.1.2.dcm.RAW  DIMX=768 DIMY=576  nbit=24
222 affim filein=US.1.2.dcm.RAW  DIMX=768 DIMY=576  nbit=24 offset=13271040
223 affim filein=US.1.2.dcm.RAW  DIMX=768 DIMY=576  nbit=24 offset=39813120
224
225 #Sequoia Acusson U11
226 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  CLIP0001-Sequoia-U11.dcm r;
227 echo "Troubles with 0018|6022[SL][Reference Pixel Y(0)] [4294967177] x(7fffffff)"
228
229 affim filein=CLIP0001-Sequoia-U11.dcm.RAW  DIMX=768 DIMY=576  nbit=24
230 affim filein=CLIP0001-Sequoia-U11.dcm.RAW  DIMX=768 DIMY=576  nbit=24 offset=1327104
231 affim filein=CLIP0001-Sequoia-U11.dcm.RAW  DIMX=768 DIMY=576  nbit=24 offset=13271040
232 affim filein=CLIP0001-Sequoia-U11.dcm.RAW  DIMX=768 DIMY=576  nbit=24 offset=26542080
233
234 #RLE Lossless
235 #-------------
236 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  canadaAloka.dcm r;
237 echo "expected pixelType=8U SamplesPerPixel=1"
238 echo "         PlanarConfiguration=0 PhotometricInterpretation=MONOCHROME2"
239 echo "         nb Frames (DIMZ) : 1"
240 affim filein=canadaAloka.dcm.RAW DIMX=608 DIMY=420
241
242 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  FMAG0001.dcm r; 
243 echo "expected pixelType=8U SamplesPerPixel=3"
244 echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
245 echo "         nb Frames (DIMZ) : 1"
246 affim filein=FMAG0001.dcm.RAW DIMX=768 DIMY=576 nbit=24
247
248 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  QMAG0001.dcm r; 
249 echo "expected pixelType=8U SamplesPerPixel=3"
250 echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
251 affim filein=QMAG0001.dcm.RAW DIMX=384 DIMY=288 nbit=24;
252
253 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  US-PAL-8-10x-echo.dcm r;
254 echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
255 echo "         PhotometricInterpretation=PALETTE COLOR"
256 echo "         nb Frames (DIMZ): 10"
257 echo "expected : Parsing 10 'single fragment' Segments"
258 echo "           Reading 10 'single fragment' Segments (ouf!)"
259 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24
260 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=774000
261 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=1548000
262 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=6966000
263
264 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  8BitsRunLengthGrayScale.dcm r;
265 echo "expected : correct Gray image"
266 affim filein=8BitsRunLengthGrayScale.dcm.RAW DIMX=800 DIMY=535
267
268 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  8BitsRunLengthColor.dcm r;
269 echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2"
270 echo "         PhotometricInterpretation=PALETTE COLOR"
271 echo "expected correct color image"
272 affim filein=8BitsRunLengthColor.dcm.RAW DIMX=800 DIMY=535 nbit=24
273
274 #RLE 16 bits --> Try to find some more images
275
276 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  16BitsRunLengthGrayScale.dcm r;
277 echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0"
278 echo "         PhotometricInterpretation=MONOCHROME2"
279 affim filein=16BitsRunLengthGrayScale.dcm.RAW  DIMX=800 DIMY=535 nbit=16
280
281 #Were supposed to be bugged
282 #--------------------------
283 #(break xmedcon)
284
285 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  00191113.dcm r;
286 affim filein=00191113.dcm.RAW DIMX=512 DIMY=512 
287 affim filein=00191113.dcm.RAW DIMX=512 DIMY=512 offset=786432
288
289 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  DermaColorLossLess.dcm r;
290 affim filein=DermaColorLossLess.dcm.RAW DIMX=117 DIMY=181 nbit=24
291
292 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  RadBWLossLess.dcm r;
293 affim filein=RadBWLossLess.dcm.RAW  DIMX=136 DIMY=92 nbit=16
294
295 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  Wrist.pap r
296 affim filein=Wrist.pap.RAW nbit=16 dimx=720 dimy=360
297
298 #Known as BUGGED !
299 #----------------
300
301 #Rectangular old 24 Bits image
302 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-RGB-LibIDORect.acr r;
303 affim filein=gdcm-RGB-LibIDORect.acr.RAW  DIMX=400 DIMY=100 nbit=24
304
305 #MR GE GENESIS_SIGNA Palo Alto
306 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  DicomSampleNastyGEImage.dcm r;
307 echo "WAS expected : wrong lenth (13) for 0008|103e"
308 affim filein=DicomSampleNastyGEImage.dcm.RAW DIMX=256 DIMY=256 nbit=16 
309
310 #MR Philips NTSCAN Hop. Neuro Lyon
311 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  philipsMR-lossy.ima r;
312 echo "WAS expected : 'Bogus Huffman table definition' on philipsMR-lossy.ima"
313 echo "IS  expected : 'JERR_BAD_HUFF_TABLE sym 16 (>15)' but the show goes on"
314 echo "breaks xmedcon"
315 affim filein=philipsMR-lossy.ima.RAW dim=512 nbit=16
316
317 #CT Siemens Hop. Salengro Lille
318 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-JPEG-LossLess3a.dcm r;
319 echo "expected : wrong sequence delimiter (b00c,0eb6) at end of pixels";
320 echo "xmedcon says 'error: Unexpected end of file'"
321 affim filein=gdcm-JPEG-LossLess3a.dcm.RAW dim=512 nbit=16
322 vtkgdcmViewer gdcm-JPEG-LossLess3a.dcm    
323
324 #CR Philips Thoravision Hop Cardio Lyon
325 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-JPEG-LossLessThoravision.dcm r;
326 echo "expected : 147 fragments,length : 29860 + 145*32760 + 14416"
327 echo "breaks xmedcom, breaks e-film"
328 echo "WAS expected : hashed image -with jLBJpeg-"
329 echo "IS  expected : Seg Fault"
330 affim filein=gdcm-JPEG-LossLessThoravision.dcm.RAW DIMX=1876 DIMY=2076 nbit=16
331
332 #MR Picker ST. ANTHONY HOSPITAL
333 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MR.6799.1.dcm r;
334 echo "OK; DICOM Image with NO Preamble"
335 affim filein=MR.6799.1.dcm.RAW dim=512 nbit=16
336
337 #Segmented Palette Color LUT Data
338 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  gdcm-US-ALOKA-16.dcm r;                             
339 echo "expected  pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0"
340 echo "          PhotometricInterpretation=PALETTE COLOR"
341 echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account"
342 echo "neither e-film nor DicomWorks deals with the color"
343 echo "breaks xmedcom"
344 echo "breaks vtkgdcmViewer (bad result : 24 bits expected; 16 found in Pixels area)"
345 vtkgdcmViewer gdcm-US-ALOKA-16.dcm
346 affim dimx=640 dimy=480 filein=gdcm-US-ALOKA-16.dcm.RAW nbit=16
347
348 # bugged Siemens 'Leonardo' image
349 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  8078283Leonardo.dcm r;
350 affim filein=8078283Leonardo.dcm.RAW dim=512 nbit=16
351
352 #CT McTwin Elscint C.H.R.U  LILLE  C.HURIEZ
353 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  MxTwinLossLess.dcm r;
354 affim filein=MxTwinLossLess.dcm.RAW DIMX=512 DIMY=512 nbit=16
355
356 # MRI image from VPRO burned CD
357 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  mriThruVPRO.dcm r;
358 affim filein=mriThruVPRO.dcm.RAW  DIMX=256 DIMY=256 nbit=16
359 echo "expected : tasteless SHIT !"
360 echo "breaks Siemens Leonardo viewer . JPEG encoding is bugged?"
361
362 # gdcm made Theralys image
363 # due to H table, a SeQuence is tagged with 0 length
364 # when using gdcmFile::WriteDcmXXX
365 /home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite  fromTheralys.dcm r;
366 affim filein=fromTheralys.dcm.RAW dim=256 nbit=16