1 # TestAllEntryVerifyReference.txt
3 # This file describes for (hopefully) all the images of this repository
4 # the Dicom field entries that we use for the test suite.
6 # For a given image file, we store the most sensible (to the state of
7 # gdcm kernel) Dicom entries as a pair (key, value):
8 # - key is the Dicom tag (i.e. the pair [group,element] represented
9 # as a string (in hexadecimal with the pipe character acting as a
10 # separator between the group and the element).
11 # - value is the Dicom field that corresponds to the tag (and represented
12 # as a string. For binary entries [like the Pixels (the tag is 7fe0|0010
13 # usually)], which don't have a string representation, we use the
14 # string constructed by gdcm e.g.
15 # "gdcm::NotLoaded Address:776 Length:387200 x(5e880)".
17 # - Each image shall be contained in a block delimited by [ and ]
18 # (square brackets). Nested blocks are an error.
19 # - each (key, value) pair shall stand on a single line:
20 # * key is of the form xxxx|yyyy (in hexadecimal) e.g. 0008|0060
21 # * value is a string delimited by " (double quotes) e.g. "CR"
22 # - the spaces are the one of C++ [i.e. space, TAB, endline (including
24 # - comments shall be preceded by # (sharp character) and be at the
25 # end of meaningfull information
26 # - All the information between blocks is discarded, but please use
27 # the comment syntax (line for the lines you are just reading)
30 # # some nice comments and problems of filename.dcm
31 # 0008|0060 "CR" # Modality
32 # 0008|1090 "9000" # Manufacturer's model name
33 # 7fe0|0010 "gdcm::NotLoaded Address:776 Length:387200 x(5e880)"
35 # This info shall be discarded (and has no comment which is lack of taste)
39 # # some really nice comments and documentation
41 # 0028|0011 "440" ] # Columns
44 # File naming conventions:
45 # the general form shall be (unpresent or meaningfull field are optional)
46 # [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[Description].EXT
48 # - [Manufacturer] represents at best the aquisition device. It can
49 # can be a blend of the "Manufacturer" and "Manufacturer's Model Name"
51 # - [BytesPerPixel] is the "Bits Stored" Dicom entry (or "Bits Allocated"
52 # when "Bits Stored" is absent).
53 # -[PhotoInterpretation] corresponds to the type of encoding of the image.
54 # It is a short for the "Photometric Interpretation" Dicom entry e.g.
55 # PAL (for "PALETTE COLOR"), RGB, YBR (for YBR_FULL),
56 # YBR422 (for YBR_FULL_4220, MONO2 (for MONOCHROME2)...
57 # - [SQ] when present indicates that the image contains a sequence.
58 # - [Description] shall be a concise description of the features
59 # specificities of the image (e.g. ACR_NEMA_1 to indicate it is an
60 # old ACR Nema version 1 file format).
61 # - .EXT is the extension and (allthough meaningless in terms of the
62 # dicom standard) shall either be .acr (for ACR Nema version 1 and 2)
63 # or .dcm for Dicom V3 images.
65 # - SIEMENS_GBS_III-16-ACR_NEMA_1.acr does it's best to express
66 # that this image was produced by a SIEMENS (manufacturer) "GBS III"
67 # (model name) imaging device. It is encoded on 16 bits per pixel,
68 # has no "Photometric Interpretation", no sequence, and uses the
69 # old ACR Nema version 1 file format.
71 # Note: The files whose name starts with a modality (e.g. CR-MONO1-10-chest.dcm)
72 # are taken from Sebastien Barre's Dicom2 highly recommendable site
73 # http://www.barre.nom.fr/medical/samples/index.html
75 ############################################################
76 ### As taken from Sebastien Barre's Dicom2 (see note above).
77 ### CR modality examples:
78 ############################################################
79 [ CR-MONO1-10-chest.dcm
81 # * "Transfer Syntax UID" is absent.
82 0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
83 0008|1090 "9000" # Manufacturer's Model Name
84 0028|0101 "10" # Bits Stored
85 0028|0004 "MONOCHROME1 " # Photometric Interpretation
86 0028|0010 "440" # Rows
87 0028|0011 "440" # Columns
88 0028|0100 "16" # Bits Allocated
89 0028|0102 "9" # High Bit
90 0028|0103 "0" # Pixel Representation
91 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
92 0008|0060 "CR" # Modality
93 7fe0|0010 "gdcm::NotLoaded Address:776 Length:387200 x(5e880)"
96 ############################################################
97 ### As taken from Sebastien Barre's Dicom2 (see note above).
98 ### CT modality examples:
99 ############################################################
100 [ CT-MONO2-16-brain.dcm
101 0008|0070 "Picker International, Inc." # Manufacturer
102 0008|1090 "PQ5000" # Manufacturer's Model Name
103 0028|0101 "16" # Bits Stored
104 0028|0004 "MONOCHROME2 " # Photometric Interpretation
105 0028|0010 "512" # Rows
106 0028|0011 "512" # Columns
107 0028|0100 "16" # Bits Allocated
108 0028|0102 "15" # High Bit
109 0028|0103 "1" # Pixel Representation
110 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
111 0008|0060 "CT" # Modality
112 7fe0|0010 "gdcm::NotLoaded Address:1680 Length:524288 x(80000)"
115 [ CT-MONO2-16-ort.dcm
116 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
117 0008|1090 "HiSpeed CT/i" # Manufacturer's Model Name
118 0028|0101 "16" # Bits Stored
119 0028|0004 "MONOCHROME2 " # Photometric Interpretation
120 0028|0010 "512" # Rows
121 0028|0011 "512" # Columns
122 0028|0100 "16" # Bits Allocated
123 0028|0102 "15" # High Bit
124 0028|0103 "1" # Pixel Representation
125 0008|0060 "CT" # Modality
126 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
127 7fe0|0010 "gdcm::NotLoaded Address:1674 Length:524288 x(80000)"
130 [ CT-MONO2-16-ankle.dcm
131 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
132 0008|1090 "GENESIS_ZEUS" # Manufacturer's Model Name
133 0028|0101 "16" # Bits Stored
134 0028|0004 "MONOCHROME2 " # Photometric Interpretation
135 0028|0010 "512" # Rows
136 0028|0011 "512" # Columns
137 0028|0100 "16" # Bits Allocated
138 0028|0102 "15" # High Bit
139 0028|0103 "1" # Pixel Representation
140 0008|0060 "CT" # Modality
141 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
142 7fe0|0010 "gdcm::NotLoaded Address:1148 Length:524288 x(80000)"
145 [ CT-MONO2-8-abdo.dcm
147 # * "Manufacturer's Model Name" is absent.
148 0008|0070 "FUJI" # Manufacturer
149 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
150 0028|0101 "8" # Bits Stored
151 0028|0004 "MONOCHROME2 " # Photometric Interpretation
152 0028|0010 "512" # Rows
153 0028|0011 "512" # Columns
154 0028|0100 "8" # Bits Allocated
155 0028|0102 "7" # High Bit
156 0028|0103 "0" # Pixel Representation
157 0008|0060 "CT" # Modality
158 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
159 7fe0|0010 "gdcm::NotLoaded Address:796 Length:262144 x(40000)"
162 [ CT-MONO2-12-lomb-an2.acr
164 # * "Transfer Syntax UID" is absent.
165 # * "Photometric Interpretation" is absent.
166 0008|0070 "SIEMENS " # Manufacturer
167 0008|1090 "SOMATOM PLUS 4" # Manufacturer's Model Name
168 0028|0101 "12" # Bits Stored
169 0028|0004 "gdcm::Unfound" # Photometric Interpretation
170 0028|0010 "512" # Rows
171 0028|0011 "512" # Columns
172 0028|0100 "16" # Bits Allocated
173 0028|0102 "11" # High Bit
174 0028|0103 "0" # Pixel Representation
175 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
176 0008|0060 "CT" # Modality
177 7fe0|0010 "gdcm::NotLoaded Address:1230 Length:524288 x(80000)"
180 [ CT-MONO2-16-chest.dcm
182 # * jpeg compression [Lossless, hierar., first-order prediction
183 # (Process 14, Selection Value 1) ]
184 # * "Transfer Syntax UID" is absent.
185 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
186 0008|1090 "HiSpeed " # Manufacturer's Model Name
187 0028|0101 "16" # Bits Stored
188 0028|0004 "MONOCHROME2 " # Photometric Interpretation
189 0028|0010 "400" # Rows
190 0028|0011 "512" # Columns
191 0028|0100 "16" # Bits Allocated
192 0028|0102 "15" # High Bit
193 0028|0103 "1" # Pixel Representation
194 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
196 0008|0060 "CT" # Modality
197 7fe0|0010 "gdcm::NotLoaded Address:1638 Length:143498 x(2308a)"
200 ############################################################
201 ### As taken from Sebastien Barre's Dicom2 (see note above).
202 ### MR modality examples:
203 ### Note: MR-MONO2-16-knee is not present in the test suite
204 ### since it is too closely related to
205 ### MR-MONO2-16-head.dcm to be of interest.
206 ############################################################
207 [ MR-MONO2-12-angio-an1.acr
209 # * "Photometric Interpretation" is absent.
210 # * "Transfer Syntax UID" is absent.
211 0008|0070 "Philips " # Manufacturer
212 0008|1090 "T5" # Manufacturer's Model Name
213 0028|0101 "12" # Bits Stored
214 0028|0004 "gdcm::Unfound" # Photometric Interpretation
215 0028|0010 "256" # Rows
216 0028|0011 "256" # Columns
217 0028|0100 "12" # Bits Allocated
218 0028|0102 "11" # High Bit
219 0028|0103 "0" # Pixel Representation
220 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
221 0008|0060 "MR" # Modality
222 # Note: 256*256*12/8 = 98304 i.e.
223 # Rows * Columns * Bits_Stored / (8 bits per pixel) = Length in bytes
224 7fe0|0010 "gdcm::NotLoaded Address:650 Length:98304 x(18000)"
227 [ MR-MONO2-12-an2.acr
229 # * "Transfer Syntax UID" is absent.
230 0008|0070 "SIEMENS " # Manufacturer
231 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
232 0028|0101 "12" # Bits Stored
233 0028|0004 "MONOCHROME2 " # Photometric Interpretation
234 0028|0010 "256" # Rows
235 0028|0011 "256" # Columns
236 0028|0100 "16" # Bits Allocated
237 0028|0102 "11" # High Bit
238 0028|0103 "0" # Pixel Representation
239 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
240 0008|0060 "MR" # Modality
241 7fe0|0010 "gdcm::NotLoaded Address:1866 Length:131072 x(20000)"
244 [ MR-MONO2-16-head.dcm
245 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
246 0008|1090 "GENESIS_SIGNA " # Manufacturer's Model Name
247 0028|0101 "16" # Bits Stored
248 0028|0004 "MONOCHROME2 " # Photometric Interpretation
249 0028|0010 "256" # Rows
250 0028|0011 "256" # Columns
251 0028|0100 "16" # Bits Allocated
252 0028|0102 "15" # High Bit
253 0028|0103 "1" # Pixel Representation
254 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
255 0008|0060 "MR" # Modality
256 7fe0|0010 "gdcm::NotLoaded Address:1804 Length:131072 x(20000)"
259 [ MR-MONO2-12-shoulder.dcm
261 # * jpeg encoding (see "Transfer Syntax UID" tag)
262 0008|0070 "Philips Medical Systems " # Manufacturer
263 0008|1090 "Gyroscan NT " # Manufacturer's Model Name
264 0028|0101 "12" # Bits Stored
265 0028|0004 "MONOCHROME2 " # Photometric Interpretation
266 0028|0010 "1024" # Rows
267 0028|0011 "1024" # Columns
268 0028|0100 "16" # Bits Allocated
269 0028|0102 "11" # High Bit
270 0028|0103 "0" # Pixel Representation
271 0002|0010 "1.2.840.10008.1.2.4.57" # Transfer Syntax: jpeg,
272 # Lossless, non-hierar. (14)
273 0008|0060 "MR" # Modality
274 7fe0|0010 "gdcm::NotLoaded Address:1580 Length:718948 x(af864)"
277 ############################################################
278 ### As taken from Sebastien Barre's Dicom2 (see note above).
279 ### OT modality examples:
280 ### Note: OT-MONO2-8-hip and OT-MONO2-8-colon are not
281 ### present in the test suite since they are too
282 ### closely related to OT-MONO2-8-a7 to be of
284 ############################################################
287 # * has a color palette (see Photometric Interpretation)
288 # * "Manufacturer" is absent.
289 # * "Manufacturer's Model Name" is absent.
290 0008|0070 "gdcm::Unfound" # Manufacturer
291 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
292 0028|0101 "8" # Bits Stored
293 0028|0004 "PALETTE COLOR " # Photometric Interpretation
294 0028|0010 "480" # Rows
295 0028|0011 "640" # Columns
296 0028|0100 "8" # Bits Allocated
297 0028|0102 "7" # High Bit
298 0028|0103 "0" # Pixel Representation
299 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
300 0008|0060 "OT" # Modality
301 7fe0|0010 "gdcm::NotLoaded Address:1654 Length:307200 x(4b000)"
306 # * "Manufacturer's Model Name" is absent.
307 # * "Transfer Syntax UID" is absent.
308 0008|0070 "Philips Medical Systems " # Manufacturer
309 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
310 0028|0101 "8" # Bits Stored
311 0028|0004 "MONOCHROME2 " # Photometric Interpretation
312 0028|0010 "512" # Rows
313 0028|0011 "512" # Columns
314 0028|0100 "8" # Bits Allocated
315 0028|0102 "7" # High Bit
316 0028|0103 "0" # Pixel Representation
317 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
318 0008|0060 "OT" # Modality
319 7fe0|0010 "gdcm::NotLoaded Address:438 Length:262144 x(40000)"
322 ############################################################
323 ### As taken from Sebastien Barre's Dicom2 (see note above).
324 ### US modality examples:
325 ############################################################
326 [ US-RGB-8-esopecho.dcm
328 # * RGB image (see Photometric Interpretation)
329 # * "Manufacturer's Model Name" is absent.
330 0008|0070 "Acme Products " # Manufacturer
331 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
332 0028|0101 "8" # Bits Stored
333 0028|0004 "RGB " # Photometric Interpretation
334 0028|0010 "120" # Rows
335 0028|0011 "256" # Columns
336 0028|0100 "8" # Bits Allocated
337 0028|0102 "7" # High Bit
338 0028|0103 "0" # Pixel Representation
339 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
340 0008|0060 "US" # Modality
341 # Note: since "Planar configuration" is 0, the Pixels are layed out
342 # as RGB, RGB, RGB... (as opposed to US-RGB-8-epicard.dcm)
343 0028|0006 "0" # Planar Configuration
344 0028|0002 "3" # Samples per Pixel
345 # Note: - 120 * 256 * 3 = 92160 i.e.
346 # Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
347 # "Samples per Pixel" is 3 since this is an RGB image (see
348 # "Photometric Interpretation" entry).
349 7fe0|0010 "gdcm::NotLoaded Address:904 Length:92160 x(16800)"
352 [ US-RGB-8-epicard.dcm
354 # * Big Endian transfer syntax
355 # * RGB image (see Photometric Interpretation)
356 0008|0070 "G.E. Medical Systems" # Manufacturer
357 0008|1090 "LOGIQ 700 " # Manufacturer's Model Name
358 0028|0101 "8" # Bits Stored
359 0028|0004 "RGB " # Photometric Interpretation
360 0028|0010 "480" # Rows
361 0028|0011 "640" # Columns
362 0028|0100 "8" # Bits Allocated
363 0028|0102 "7" # High Bit
364 0028|0103 "0" # Pixel Representation
365 0002|0010 "1.2.840.10008.1.2.2" # Transfer Syntax: Big Endian
366 0008|0060 "US" # Modality
367 # Note: since "Planar configuration" is 1, the Pixels are layed out
368 # as Plane R, Plane G, Plane B (as opposed to US-RGB-8-esopecho.dcm).
369 0028|0006 "1" # Planar Configuration
370 0028|0002 "3" # Samples per Pixel
371 # Note: 480 * 640 * 3 = 921600 i.e.
372 # Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
373 # "Samples per Pixel" is 3 since this is an RGB image (see
374 # "Photometric Interpretation" entry).
375 7fe0|0010 "gdcm::NotLoaded Address:1012 Length:921600 x(e1000)"
378 ############################################################
379 ### Multi-frame images: the number of images is contained
380 ### in the "Number of Frames" tag. Note that this tag may
381 ### a value representation of "IS" which implies it's
382 ### content can be padded wich an extra space (refer to
383 ### US-PAL-8-10x-echo.dcm for an example).
384 ############################################################
385 [ MR-MONO2-8-16x-heart.dcm
387 # * Multiframe image (see Number of Frames tag)
388 # * "Manufacturer's Model Name" is absent.
389 0008|0070 "Philips " # Manufacturer
390 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
391 0028|0101 "8" # Bits Stored
392 0028|0004 "MONOCHROME2 " # Photometric Interpretation
393 0028|0010 "256" # Rows
394 0028|0011 "256" # Columns
395 0028|0100 "8" # Bits Allocated
396 0028|0102 "7" # High Bit
397 0028|0103 "0" # Pixel Representation
398 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
399 0008|0060 "MR" # Modality
400 0028|0008 "16" # Number of Frames
401 # Note: 256 * 256 * 16 = 1048576 i.e.
402 # Rows * Columns * Number_of_Frames = Total_number_of_bytes
403 7fe0|0010 "gdcm::NotLoaded Address:920 Length:1048576 x(100000)"
406 [ NM-MONO2-16-13x-heart.dcm
408 # * Multiframe image (see Number of Frames tag)
409 0008|0070 "ACME Products " # Manufacturer
410 0008|1090 "P3000 " # Manufacturer's Model Name
411 0028|0101 "16" # Bits Stored
412 0028|0004 "MONOCHROME2 " # Photometric Interpretation
413 0028|0010 "64" # Rows
414 0028|0011 "64" # Columns
415 0028|0100 "16" # Bits Allocated
416 0028|0102 "15" # High Bit
417 0028|0103 "0" # Pixel Representation
418 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
419 0008|0060 "NM" # Modality
420 0028|0008 "13" # Number of Frames
421 # Note: 64 * 64 * 13 * = 106496 i.e.
422 # Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
423 7fe0|0010 "gdcm::NotLoaded Address:1234 Length:106496 x(1a000)"
426 [ US-MONO2-8-8x-execho.dcm
428 # * Multiframe image (see Number of Frames tag)
429 # * Note the extra space for the Number of Frames tag: this is because
430 # the value representation of this tag "IS"...
431 0008|0070 "Acme Products " # Manufacturer
432 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
433 0028|0101 "8" # Bits Stored
434 0028|0004 "MONOCHROME2 " # Photometric Interpretation
435 0028|0010 "120" # Rows
436 0028|0011 "128" # Columns
437 0028|0100 "8" # Bits Allocated
438 0028|0102 "7" # High Bit
439 0028|0103 "0" # Pixel Representation
440 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
441 0008|0060 "US" # Modality
442 0028|0008 "8 " # Number of Frames
443 # Note: 120 * 128 * 8 * 1 = 122880 i.e.
444 # Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
445 7fe0|0010 "gdcm::NotLoaded Address:976 Length:122880 x(1e000)"
448 [ US-PAL-8-10x-echo.dcm
450 # * Has a color palette (see "Photometric Interpretation" tag)
451 # * compressed as RLE Lossless (Run Length Encoded) (see Transfer Syntax)
452 # * Multiframe image (see Number of Frames tag)
453 0008|0070 "ACME Products " # Manufacturer
454 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
455 0028|0101 "8" # Bits Stored
456 0028|0004 "PALETTE COLOR " # Photometric Interpretation
457 0028|0010 "430" # Rows
458 0028|0011 "600" # Columns
459 0028|0100 "8" # Bits Allocated
460 0028|0102 "7" # High Bit
461 0028|0103 "0" # Pixel Representation
462 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless
463 0008|0060 "US" # Modality
464 0028|0008 "10" # Number of Frames
465 # Note: 430 * 600 * 8 != 481182 because of compression !
466 7fe0|0010 "gdcm::NotLoaded Address:2428 Length:481182 x(7579e)"
469 [ XA-MONO2-8-12x-catheter.dcm
471 # * jpeg compression [Lossless, hierar., first-order prediction
472 # (Process 14, Selection Value 1) ]
473 # * Multiframe image (see Number of Frames tag)
475 0008|0070 "Acme Products " # Manufacturer
476 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
477 0028|0101 "8" # Bits Stored
478 0028|0004 "MONOCHROME2 " # Photometric Interpretation
479 0028|0010 "512" # Rows
480 0028|0011 "512" # Columns
481 0028|0100 "8" # Bits Allocated
482 0028|0102 "7" # High Bit
483 0028|0103 "0" # Pixel Representation
484 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
486 0008|0060 "XA" # Modality
487 0028|0008 "12" # Number of Frames
488 # Note: 512 * 512 * 12 != 920072 because of compression !
489 7fe0|0010 "gdcm::NotLoaded Address:1006 Length:920072 x(e0a08)"
492 [ PHILIPS_Integris_V-10-MONO2-Multiframe.dcm
494 # * Multiframe image (see Number of Frames tag)
495 # * the private tags are NOT in Explicit VR
496 # * allmost groups (this is not the case of group 0x0008) contain
497 # a "Group Length" tag (*, 0x0000)
498 # * Pixel data encoded on 10 bits.
499 0008|0070 "Philips Medical Systems (Netherlands) " # Manufacturer
500 0008|1090 "P H I L I P S INTEGRIS V" # Manufacturer's Model Name
501 0028|0101 "10" # Bits Stored
502 0028|0004 "MONOCHROME2 " # Photometric Interpretation
503 0028|0010 "1024" # Rows
504 0028|0011 "1024" # Columns
505 0028|0100 "16" # Bits Allocated
506 0028|0102 "9" # High Bit
507 0028|0103 "0" # Pixel Representation
508 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
509 0008|0060 "XA" # Modality
510 0028|0008 "31" # Number of Frames
511 # Note: 1024 * 1024 * 31 * 2 = 65011712 i.e.
512 # Rows * Columns * Number_of_Frames * Bits_Allocated / 8 yields
513 # the total number of bytes.
514 7fe0|0010 "gdcm::NotLoaded Address:4114 Length:65011712 x(3e00000)"
517 [ GE_DLX-8-MONO2-Multiframe.dcm
519 # * Multiframe image (see Number of Frames tag)
520 # * the private tags are NOT in Explicit VR
521 # * allmost groups (this is not the case of group 0x0008) contain
522 # a "Group Length" tag (*, 0x0000)
523 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
524 0008|1090 "DLX " # Manufacturer's Model Name
525 0028|0101 "8" # Bits Stored
526 0028|0004 "MONOCHROME2 " # Photometric Interpretation
527 0028|0010 "512" # Rows
528 0028|0011 "512" # Columns
529 0028|0100 "8" # Bits Allocated
530 0028|0102 "7" # High Bit
531 0028|0103 "0" # Pixel Representation
532 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
533 0008|0060 "XA" # Modality
534 0028|0008 "56" # Number of Frames
535 # Note: 512 * 512 * 56 = 14680064 i.e.
536 # Rows * Columns * Number_of_Frames = Total_number_of_bytes.
537 7fe0|0010 "gdcm::NotLoaded Address:4984 Length:14680064 x(e00000)"
540 [ ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm
542 # * Jpeg Baseline (Process 1) encoding.
543 # * YBR_FULL_422 encoding and hence "Samples per Pixel" tag is 3
544 # (see "Photometric Interpretation" entry).
546 # * WITHIN this sequence at tag (0x0018, 0x6011) we encounter
547 # tags [e.g. (0x0018, 0x602c) ] with "FD" as value representation
548 # that are "non printable" when interpreted as characters. "Non
549 # printable" stands for "contains control characters that corrupts
550 # a majority of UN*X shells"...
551 # * Multiframe image (see Number of Frames tag)
552 0008|0070 "ACUSON" # Manufacturer
553 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
554 0028|0101 "8" # Bits Stored
555 0028|0004 "YBR_FULL_422" # Photometric Interpretation
556 0028|0010 "576" # Rows
557 0028|0011 "768" # Columns
558 0028|0100 "8" # Bits Allocated
559 0028|0102 "7" # High Bit
560 0028|0103 "0" # Pixel Representation
561 0002|0010 "1.2.840.10008.1.2.4.50" # Transfer Syntax: JPEG Baseline
563 0008|0060 "US" # Modality
564 0028|0002 "3" # Samples per Pixel
565 0028|0008 "40" # Number of Frames
566 7fe0|0010 "gdcm::NotLoaded Address:1872 Length:3291746 x(323a62)"
569 ############################################################
570 ### ACR NEMA version 1.0 (ONE!) format:
571 ############################################################
572 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
574 # * old (circa 1991) ACR NEMA version 1.0 format.
575 # * apparently broken pixel data (see below)
576 # * Pixel Representation (0028|0103) is absent
577 # * wierd padding of "Manufacturer's Model Name" tag
578 # * Group 20 does NOT contain:
580 # - "Serie Instance UID"
581 # Within this group, the following entries are empty:
585 # - This image pixel data looks corrupted, in the sense that the
586 # following sizes do NOT match (as expected):
587 # * it's pixel data is 132096 bytes long
588 # * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
589 # of 256*256*2 = 131072 bytes.
590 # - Because of this missmatch, TestReadWriteReadCompare segfaults
592 # In details, when segfault occurs we have the following call stack:
593 # gdcmFile::GetImageData()
594 # PixelData = new uint8_t[ImageDataSize];
595 # \--->::GetImageDataIntoVector(destination, ImageDataSize)
596 # \---> ::ReadPixelData(destination)
597 # \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
598 # which causes the segfault because :
599 # - destination is ImageDataSize i.e. 131072 bytes long
600 # - Header->GetPixelAreaLength() = 132096 bytes long
601 0008|0070 "SIEMENS " # Manufacturer
602 0008|1090 "GBS III " # Manufacturer's Model Name
603 0028|0101 "12" # Bits Stored
604 0028|0004 "gdcm::Unfound" # Photometric Interpretation
605 0028|0010 "256" # Rows
606 0028|0011 "256" # Columns
607 0028|0100 "16" # Bits Allocated
608 0028|0102 "11" # High Bit
609 0028|0103 "0" # Pixel Representation
610 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
611 0008|0060 "MR" # Modality
612 7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
615 [ gdcm-MR-SIEMENS-16-1.acr
617 # * old (circa 1991) ACR NEMA version 1.0 format.
618 # * the image pixel data looks corrupted (see below)
619 # * wierd padding of "Manufacturer's Model Name" tag
620 # * "Photometric Interpretation" tag is absent
621 # * Group 20 does NOT contain:
623 # - "Serie Instance UID"
624 0008|0070 "SIEMENS " # Manufacturer
625 0008|1090 "GBS III " # Manufacturer's Model Name
626 0028|0101 "12" # Bits Stored
627 0028|0004 "gdcm::Unfound" # Photometric Interpretation
628 0028|0010 "256" # Rows
629 0028|0011 "256" # Columns
630 0028|0100 "16" # Bits Allocated
631 0028|0102 "11" # High Bit
632 0028|0103 "0" # Pixel Representation
633 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
634 0008|0060 "MR" # Modality
635 # Note: the image pixel data looks corrupted in the sense that the
636 # following sizes do NOT match (as expected):
637 # - it's pixel data is 132096 bytes long
638 # - it has a size of 256x256 with 16 bytes per pixel, i.e. a size
639 # of 256*256*2 = 131072 bytes.
640 7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
643 ############################################################
644 ### ACR NEMA version 2.0 (TWO!) format:
645 ############################################################
646 [ gdcm-MR-SIEMENS-16-2.acr
648 # * old (circa 2000) ACR NEMA version 2.0 format.
649 # * wierd padding of "Series Number" tag
650 0008|0070 "SIEMENS " # Manufacturer
651 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
652 0028|0101 "12" # Bits Stored
653 0028|0004 "gdcm::Unfound" # Photometric Interpretation
654 0028|0010 "512" # Rows
655 0028|0011 "512" # Columns
656 0028|0100 "16" # Bits Allocated
657 0028|0102 "11" # High Bit
658 0028|0103 "0" # Pixel Representation
659 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
660 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
661 0008|0060 "MR" # Modality
662 0020|0011 " 7" # Series Number
663 7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
666 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
668 # * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
669 # "Study Instance UID", "Study ID", "Series Number" and
670 # "Serie Instance UID"
671 0008|0070 "SIEMENS " # Manufacturer
672 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
673 0028|0101 "12" # Bits Stored
674 0028|0004 "gdcm::Unfound" # Photometric Interpretation
675 0028|0010 "512" # Rows
676 0028|0011 "512" # Columns
677 0028|0100 "16" # Bits Allocated
678 0028|0102 "11" # High Bit
679 0028|0103 "0" # Pixel Representation
680 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
681 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
682 0008|0060 "MR" # Modality
683 0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
684 0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
686 0020|0011 " 7" # Series Number
687 0020|0010 " 1" # Study ID
688 7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
691 [ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
693 # * ACR NEMA version 2.0 (circa 1994) format allthough the
694 # "Recognition Code" is absent.
695 # * all the groups are missing their "Group Length" tag i.e. no
696 # tag of the form (*, 0x0000) present.
697 0008|0070 "Toshiba " # Manufacturer
698 0008|1090 "MRT150" # Manufacturer's Model Name
699 0028|0101 "16" # Bits Stored
700 0028|0004 "MONOCHROME2 " # Photometric Interpretation
701 0028|0010 "512" # Rows
702 0028|0011 "512" # Columns
703 0028|0100 "16" # Bits Allocated
704 0028|0102 "15" # High Bit
705 0028|0103 "0" # Pixel Representation
706 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
707 0008|0010 "gdcm::Unfound" # Recognition Code (RET)
708 0008|0060 "MR" # Modality
709 0020|0011 "7 " # Series Number
710 0020|0010 "Run264.6653 " # Study ID
711 7fe0|0010 "gdcm::NotLoaded Address:1130 Length:524288 x(80000)"
714 [ FUJI-10-MONO1-ACR_NEMA_2.dcm
716 # * ACR NEMA version 2.0 (circa 1995) format allthough the
717 # "Recognition Code" is absent.
718 # * large 1670x2010 image
719 0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
720 0008|1090 "CR201 " # Manufacturer's Model Name
721 0028|0101 "10" # Bits Stored
722 0028|0004 "MONOCHROME1 " # Photometric Interpretation
723 0028|0010 "2010" # Rows
724 0028|0011 "1670" # Columns
725 0028|0100 "16" # Bits Allocated
726 0028|0102 "9" # High Bit
727 0028|0103 "0" # Pixel Representation
728 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
729 0008|0010 "gdcm::Unfound" # Recognition Code (RET)
730 0008|0060 "CR" # Modality
731 7fe0|0010 "gdcm::NotLoaded Address:862 Length:6713400 x(667038)"
734 #############################################################################
735 ### Images with various oddities...
736 #############################################################################
737 [ gdcm-US-ALOKA-16.dcm
739 # * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
741 # * announced as implicit VR, but really explicit VR !
742 # * has a color palette (see Photometric Interpretation)
743 0008|0070 "ALOKA CO., LTD. " # Manufacturer
744 0008|1090 "SSD-4000" # Manufacturer's Model Name
745 0028|0101 "16" # Bits Stored
746 0028|0004 "PALETTE COLOR " # Photometric Interpretation
747 0028|0010 "480" # Rows
748 0028|0011 "640" # Columns
749 0028|0100 "16" # Bits Allocated
750 0028|0102 "15" # High Bit
751 0028|0103 "0" # Pixel Representation
752 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
753 0008|0060 "US" # Modality
754 # The Segmented Palette Color Lookup Table Data:
756 0028|1221 "gdcm::NotLoaded Address:1750 Length:87818 x(1570a)"
758 0028|1222 "gdcm::NotLoaded Address:89576 Length:113784 x(1bc78)"
760 0028|1223 "gdcm::NotLoaded Address:203368 Length:55364 x(d844)"
761 7fe0|0010 "gdcm::NotLoaded Address:258740 Length:614400 x(96000)"
764 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
766 # * dicom file, with a recognition code of ACR-NEMA1
767 # * Highly nested sequence (6 sublevels) with an impressive size
768 # of 28808 bytes at tag (0x0029, 0x263d)
769 # * possesses many sequences in group 0x0029
770 0008|0070 "Philips Medical Systems " # Manufacturer
771 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
772 0028|0101 "12" # Bits Stored
773 0028|0004 "MONOCHROME2 " # Photometric Interpretation
774 0028|0010 "128" # Rows
775 0028|0011 "128" # Columns
776 0028|0100 "16" # Bits Allocated
777 0028|0102 "11" # High Bit
778 0028|0103 "0" # Pixel Representation
779 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
780 0008|0060 "MR" # Modality
781 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
782 7fe0|0010 "gdcm::NotLoaded Address:35846 Length:32768 x(8000)"
785 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
787 # * probably generated with dcmtk (DICOM Toolkit, refer to
788 # http://dicom.offis.de/dcmtk.php.en)
789 # * Misses the "Samples Per Pixel" element which prevents
790 # e-film from reading it.
791 # * Misses the Manufacturer related info
792 0008|0070 "gdcm::Unfound" # Manufacturer
793 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
794 0028|0101 "8" # Bits Stored
795 0028|0004 "MONOCHROME2 " # Photometric Interpretation
796 0028|0010 "750" # Rows
797 0028|0011 "750" # Columns
798 0028|0100 "8" # Bits Allocated
799 0028|0102 "7" # High Bit
800 0028|0103 "0" # Pixel Representation
801 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
802 0008|0060 "CR" # Modality
803 0002|0013 "OFFIS_DCMTK_341 " # Implementation Version Name
804 0028|0002 "gdcm::Unfound" # Samples per Pixel
805 7fe0|0010 "gdcm::NotLoaded Address:740 Length:562500 x(89544)"
808 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
810 # * Non rectangular pixels (see "Pixel Spacing" tag)
811 # * private tags are in explicit VR (which is normal BTW)
812 # *screen-flaher non printable charcaters in private elements (gdcmBinEntry ?)
813 0008|0070 "Philips Medical Systems " # Manufacturer
814 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
815 0028|0101 "12" # Bits Stored
816 0028|0004 "MONOCHROME2 " # Photometric Interpretation
817 0028|0010 "64" # Rows
818 0028|0011 "160" # Columns
819 0028|0100 "16" # Bits Allocated
820 0028|0102 "11" # High Bit
821 0028|0103 "0" # Pixel Representation
822 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
823 0008|0060 "MR" # Modality
824 0028|0030 " 0.487416\0.194966" # Pixel Spacing
825 7fe0|0010 "gdcm::NotLoaded Address:5010 Length:20480 x(5000)"
828 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
830 # * contains a tag with value multiplicity bigger than 1: the
831 # tag (0x0018, 0x1310) has "US" as value representation BUT
832 # has a size of 8 bytes (i.e. it contains FOUR short integers)
833 0008|0070 "SIEMENS " # Manufacturer
834 0008|1090 "Sonata" # Manufacturer's Model Name
835 0028|0101 "12" # Bits Stored
836 0028|0004 "MONOCHROME2 " # Photometric Interpretation
837 0028|0010 "208" # Rows
838 0028|0011 "256" # Columns
839 0028|0100 "16" # Bits Allocated
840 0028|0102 "11" # High Bit
841 0028|0103 "0" # Pixel Representation
842 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
843 0008|0060 "MR" # Modality
844 0018|1310 "256\0\0\166" # Acquisition Matrix
845 7fe0|0010 "gdcm::NotLoaded Address:25686 Length:106496 x(1a000)"
848 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
850 # * looks like a DICOM V3 image but it misses the proper file
851 # file preamble (of 200 bytes).
852 0008|0070 "Picker International, Inc." # Manufacturer
853 0008|1090 "HF1006" # Manufacturer's Model Name
854 0028|0101 "16" # Bits Stored
855 0028|0004 "MONOCHROME2 " # Photometric Interpretation
856 0028|0010 "512" # Rows
857 0028|0011 "512" # Columns
858 0028|0100 "16" # Bits Allocated
859 0028|0102 "15" # High Bit
860 0028|0103 "1" # Pixel Representation
861 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
862 0008|0060 "MR" # Modality
863 7fe0|0010 "gdcm::NotLoaded Address:1406 Length:524288 x(80000)"
866 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
868 # * Contains an odd sequence at tag (0x0008, 0x1140).
869 # JPR FIXME: in what sense is it odd ???
870 0008|0070 "Philips Medical Systems " # Manufacturer
871 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
872 0028|0101 "8" # Bits Stored
873 0028|0004 "MONOCHROME2 " # Photometric Interpretation
874 0028|0010 "256" # Rows
875 0028|0011 "256" # Columns
876 0028|0100 "16" # Bits Allocated
877 0028|0102 "7" # High Bit
878 0028|0103 "0" # Pixel Representation
879 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
880 0008|0060 "MR" # Modality
881 7fe0|0010 "gdcm::NotLoaded Address:6584 Length:131072 x(20000)"
884 [ PICKER-16-MONO2-Nested_icon.dcm
886 # * contains TWO images:
887 # - the original image 512x512
888 # - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200)
889 # This implies this image contains two 7fe0|0010 (among one is
890 # burried in a sequence), two "Rows" entries, two "Columns" entries...
891 # This makes it impossible to use the name of tag (e.g. Rows) as
892 # as a key of dictionaries build on top of such an image....
893 0008|0070 "PICKER" # Manufacturer
894 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
895 0028|0101 "12" # Bits Stored
896 0028|0004 "MONOCHROME2 " # Photometric Interpretation
897 0028|0010 "512" # Rows
898 0028|0011 "512" # Columns
899 0028|0100 "16" # Bits Allocated
900 0028|0102 "11" # High Bit
901 0028|0103 "0" # Pixel Representation
902 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
903 0008|0060 "CT" # Modality
904 7fe0|0010 "gdcm::NotLoaded Address:18228 Length:524288 x(80000)"
907 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
909 # * within the sequence at tag (0x0028, 0x3000) we encounter
910 # an "Item Delimitation" (0xfffe, 0xe00d) followed by an
911 # "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after
912 # the tag (0x0028, 0x3006) !!!
913 # * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
914 # (0x0008, 0x0010) is present].
915 0008|0070 "Kodak " # Manufacturer
916 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
917 0028|0101 "12" # Bits Stored
918 0028|0004 "MONOCHROME1 " # Photometric Interpretation
919 0028|0010 "2392" # Rows
920 0028|0011 "1792" # Columns
921 0028|0100 "16" # Bits Allocated
922 0028|0102 "11" # High Bit
923 0028|0103 "0" # Pixel Representation
924 0002|0010 "gdcm::Unfound" # Transfer Syntax: Implicit VR, LE
925 0008|0060 "CR" # Modality
926 7fe0|0010 "gdcm::NotLoaded Address:9134 Length:8572928 x(82d000)"
930 ############################################################
931 ### Jpeg compressed images.
932 ############################################################
933 [ gdcm-JPEG-Extended.dcm
935 # * jpeg compression [Extended Process (2,4)]
936 # * probably contains additional data after the pixels (see comments
937 # of the gdcm-JPEG-LossLess3a.dcm entry)
938 0008|0070 "SIEMENS " # Manufacturer
939 0008|1090 "Volume Zoom " # Manufacturer's Model Name
940 0028|0101 "12" # Bits Stored
941 0028|0004 "MONOCHROME2 " # Photometric Interpretation
942 0028|0010 "512" # Rows
943 0028|0011 "512" # Columns
944 0028|0100 "16" # Bits Allocated
945 0028|0102 "11" # High Bit
946 0028|0103 "0" # Pixel Representation
947 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
949 0008|0060 "CT" # Modality
950 7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
953 [ gdcm-JPEG-Extended-Allready_present.dcm
954 # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
955 # terms of features (actually I suspect gdcm-JPEG-Extended.dcm
956 # is the anoymized version of this one)...
958 # * jpeg compression [Extended Process (2,4)]
959 0008|0070 "SIEMENS " # Manufacturer
960 0008|1090 "Volume Zoom " # Manufacturer's Model Name
961 0028|0101 "12" # Bits Stored
962 0028|0004 "MONOCHROME2 " # Photometric Interpretation
963 0028|0010 "512" # Rows
964 0028|0011 "512" # Columns
965 0028|0100 "16" # Bits Allocated
966 0028|0102 "11" # High Bit
967 0028|0103 "0" # Pixel Representation
968 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
970 0008|0060 "CT" # Modality
971 7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
974 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
976 # * jpeg compression [Extended Process (2,4)]
977 0008|0070 "SIEMENS " # Manufacturer
978 0008|1090 "Volume Zoom " # Manufacturer's Model Name
979 0028|0101 "12" # Bits Stored
980 0028|0004 "MONOCHROME2 " # Photometric Interpretation
981 0028|0010 "512" # Rows
982 0028|0011 "512" # Columns
983 0028|0100 "16" # Bits Allocated
984 0028|0102 "11" # High Bit
985 0028|0103 "0" # Pixel Representation
986 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
988 0008|0060 "CT" # Modality
989 7fe0|0010 "gdcm::NotLoaded Address:3044 Length:66978 x(105a2)"
992 [ gdcm-JPEG-LossLess3a.dcm
994 # * jpeg compression [Lossless, hierar., first-order prediction
995 # (Process 14, Selection Value 1) ]
996 # * contains additional data after the pixels (see below)
997 # * contains a sequence at tag (0x0008, 0x2112)
998 0008|0070 "SIEMENS " # Manufacturer
999 0008|1090 "Volume Zoom " # Manufacturer's Model Name
1000 0028|0101 "12" # Bits Stored
1001 0028|0004 "MONOCHROME2 " # Photometric Interpretation
1002 0028|0010 "512" # Rows
1003 0028|0011 "512" # Columns
1004 0028|0100 "16" # Bits Allocated
1005 0028|0102 "11" # High Bit
1006 0028|0103 "0" # Pixel Representation
1007 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
1009 0008|0060 "CT" # Modality
1010 # It looks like the pixel data are corrupted:
1011 # As stated by "od -A d -c"
1012 # 0002528 à 177 020 \0 O B \0 \0 ÿ ÿ ÿ ÿ þ ÿ \0 à
1013 # 0002544 \0 \0 \0 \0 þ ÿ \0 à 202 ? 003 \0 ÿ Ø ÿ Ã
1014 # which we interpret as follows:
1015 # - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1016 # - 2532: OB i.e. encapsulated encoded Pixel Data,
1017 # - 2534: Two bytes reserved,
1018 # - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
1019 # - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
1021 # - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1022 # item value for offset table.
1023 # - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
1024 # fragment of (encoded) pixel data.
1025 # - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1026 # of (encoded) pixel data.
1027 # and so the next item tag should be found at the 2556+212866 th
1028 # octet i.e. at address 215422. But, as stated by od, we find:
1029 # 0215408 E u Ö 026 Î É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
1030 # 0215424 ¶ 016 P Ñ 002 016
1031 # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
1032 # present (at least there should be a sequence delimiter), refer to
1033 # PS 3.5-2001 page 50.
1035 # As stated by JPR in hexa:
1036 # at 9ec : ItemTag : fffe,e000
1037 # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1038 # at 9f4 : ItemTag : fffe,e000
1039 # at 9f8 : fragment length 212866 x(00033f82)
1040 # at 3497e : ItemTag b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1041 7fe0|0010 "gdcm::NotLoaded Address:2540 Length:212890 x(33f9a)"
1044 [ gdcm-JPEG-LossLessThoravision.dcm
1045 # - Particularities:
1046 # * jpeg compression [Lossless, hierar., first-order prediction
1047 # (Process 14, Selection Value 1) ]
1048 # * encoding is sligthly different from the one of entry
1049 # gdcm-JPEG-LossLess3a.dcm (to check).
1050 # * Large picture: 2076 by 1876 (I wonder what screens they have...)
1051 # -> Just underscale it !
1052 # Breaks all the DICOM viewers
1053 0008|0070 "Philips Medical Systems " # Manufacturer
1054 0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1055 0028|0101 "15" # Bits Stored
1056 0028|0004 "MONOCHROME2 " # Photometric Interpretation
1057 0028|0010 "2076" # Rows
1058 0028|0011 "1876" # Columns
1059 0028|0100 "16" # Bits Allocated
1060 0028|0102 "14" # High Bit
1061 0028|0103 "0" # Pixel Representation
1062 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
1064 0008|0060 "CR" # Modality
1065 7fe0|0010 "gdcm::NotLoaded Address:3144 Length:4795668 x(492d14)"
1068 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1069 # - Particularities:
1070 # * jpeg compression [Extended Process (2,4)]
1071 # * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1072 # announces it as "ACR-NEMA 1.0" !
1073 0008|0070 "Philips Medical Systems " # Manufacturer
1074 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
1075 0028|0101 "12" # Bits Stored
1076 0028|0004 "MONOCHROME2 " # Photometric Interpretation
1077 0028|0010 "512" # Rows
1078 0028|0011 "512" # Columns
1079 0028|0100 "16" # Bits Allocated
1080 0028|0102 "11" # High Bit
1081 0028|0103 "0" # Pixel Representation
1082 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
1084 0008|0060 "MR" # Modality
1085 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
1086 7fe0|0010 "gdcm::NotLoaded Address:5956 Length:46602 x(b60a)"
1090 # dicom-sc_cs-1.dcm # Has a lot of private fields, with no VR.
1091 # Has a 'Zero length' integer field
1092 # 0020|5000 lg :0 [US][Original Image Identification (RET)]
1094 ###########################################################################
1096 ### Images present in gdcmData but whose peculiarity is not documented
1097 ###########################################################################
1099 # 012345.002.050.dcm
1100 # 'hand made' images (flowers), found on the net
1101 # Many of them are the sole sample we have of some compression methods
1102 # 16BitsJpegLosslessGrayScale.dcm
1103 # 16BitsRunLengthGrayScale.dcm
1104 # 16BitsUncompressedGrayScale.dcm
1105 # 24BitsJpegLosslessColor.dcm
1106 # 24BitsJpegLossyColor.dcm
1107 # 24BitsUncompressedColor.dcm
1108 # 8BitsJpegLossyGrayScale.dcm
1109 # 8BitsRunLengthColor.dcm
1110 # 8BitsRunLengthGrayScale.dcm
1111 # 8BitsUncompressedColor.dcm
1112 # 8BitsUncompressedGrayScale.dcm
1115 # 8078283Leonardo.dcm # Comes from Siemens LEONARDO console, while producing buggy headered images
1117 # CLIP0001-Sequoia-U11.dcm #Has trailing info (fffc|fffc OB lg=6ba)
1118 # DermaColorLossLess.dcm
1120 # DicomSampleNastyGEImage.dcm # Sample of well known GE buggy headered image (wrong length for some Sitems)
1121 # emptyImage.dcm # used by Theralys as a template to produce as-little-header-as-possible efilm readable images
1122 # FMAG0001.dcm #Has trailing info (fffc|fffc OB lg=4da)
1124 # fromTheralys.dcm # has a 13 bytes length item !
1127 # lena128x128.acr # ACR-LibIDO image. gdcm *can* read it!
1129 # MxTwinLossLess.dcm
1132 # volSten.acr # is an ACR 'volume" (has a Number of Planes, not Number of Frames)
1133 # xa_integris.dcm #Has trailing info (fffc|fffc OB lg=622)
1135 ###########################################################################
1137 # Images NOT in gdcmData anymore (lost, renamed or not commited ???)
1138 # ==> I removed from the list the images I found with a new name . JPR
1139 #############################################################################
1145 # contient peut etre (?!) des curiosités apres les Pixels
1149 # Ces deux examens, correspondant a 2 patients differents ont le meme Study ID
1152 # Echographie single Frame
1159 # IRM Siemens Sonata (images taggees)
1160 # SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois
1163 # Image au format ECAT (Medecine Nucleaire)
1164 # On n'y echapera pas encore tres longtemps, a celles la :-(
1167 # ------------------------------------
1169 # Sequence related images
1170 # =======================
1172 # "peacefull images"
1173 # ------------------
1175 #canadaAloka.dcm 2 # 0018|6011 x(2f6) [Sequence of Ultrasound Regions ] ffff
1177 #CLIP0001-Sequoia-U11.dcm # 0018|6011 [Sequence of Ultrasound Regions ]
1179 #cr172241.dcm 2 # 0028|3000 x(344) [Modality LUT Sequence]
1181 #fromTheralys.dcm 2 # 0008|1140 x(2f1) [Referenced Image Sequence]
1183 #gdcm-CR-DCMTK-16-NonSamplePerPix.dcm 2 # 0008|1140 x(39a) [Referenced Image Sequence]
1184 # # 0008|2112 x(440) [Source Image Sequence]
1186 #gdcm-JPEG-Extended.dcm # ffff 0008|1140 x(39a) [Referenced Image Sequence] # 'no lentgh' SQ
1187 # # ffff 0008|2112 x(440) [Source Image Sequence] # 'no lentgh' SQ
1189 ##gdcm-JPEG-LossLess3a.dcm # 0008|2112 x(378) [Source Image Sequence]
1191 #gdcm-MR-PHILIPS-16.dcm # 0008|1140 x(33c) [Referenced Image Sequence]
1193 #I9000001.dcm # ffff 0028|6100 x(c0e) [Mask Subtraction Sequence] # 'no lentgh' SQ
1194 # # ffff 0050|0010 x(c74) [Device Sequence] # 'no lentgh' SQ
1196 #multiframe2GE.dcm # 0028|6100 x(3e) [Mask Subtraction Sequence]
1197 # # 0050|0010 x(3c) [Device Sequence]
1199 #irmPhlipsNew1.dcm # 0008|1140 x(33c) [Referenced Image Sequence]
1201 #multiframe1Integris.dcm # 0028|3000 x(66c) [Modality LUT Sequence]
1203 #QMAG0001.dcm # 0008|2112 x(2ac) [Source Image Sequence]
1204 # # 0018|6011 x(3b6) [Sequence of Ultrasound Regions ]
1206 #US.1.2.dcm # 0018|6011 x(4b8) [Sequence of Ultrasound Regions ]
1208 #sonataMonaco.dcm # 0008|1140 x(35a) [Referenced Image Sequence]
1210 #xa_integris.dcm # 0008|1111 x(32c) [Referenced Performed Procedure Step Sequence]
1211 # # 0029|fd00 x(674) [unkn]
1213 #E00001S03I0015.dcm # 0008|1111 x(342) [Referenced Performed Procedure Step Sequence] []
1214 # # 0008|1140 x(3ac) [Referenced Image Sequence]
1218 # Horror Picture Show
1219 # -------------------
1221 #gdcm-MR-PHILIPS-16-Multi-Seq.dcm # 400 SQ, embedded SQ
1222 # # with O length sequ
1224 #gdcm-MR-PHILIPS-16-NonRectPix.dcm # 22 SQ, embedded SQ
1225 # # with O length sequ
1227 ##mriThruVPRO.dcm # 7 SQ ffffffff length
1228 # # with O length sequ
1230 #MxTwinLossLess.dcm # 0088|0200 x(59c) [Icon Image Sequence]
1231 # # with O length sequ
1233 #icone.dcm # SQ ffffffff length
1234 # # 0008|2112 x(264) [Source Image Sequence]
1235 # # with 130 useless Items (?!)
1236 # # 0088|0200 x(362a) [Icon Image Sequence]
1237 # # with Item Delimitation Item e00d
1238 # # with Sequence Delimitation Item e0dd
1240 #Wrist.pap # PAPYRUS 3.0 image (gdcm Parsable, not gdcm readable -> missing feature)
1241 #cinecard.pap # PAPYRUS 3.0 multiframe (gdcm Parsable, not gdcm readable)
1252 # 8BitsUncompressedColor.dcm # dimx=800 dimy=535
1254 # US-RGB-8-epicard.dcm
1255 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1256 #echo " PhotometricInterpretation=RGB"
1259 # US-RGB-8-esopecho.dcm
1260 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1261 #echo " PhotometricInterpretation=RGB"
1264 # gdcm-RGB-LibIDORect.acr
1271 # echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1272 # echo " PhotometricInterpretation=RGB"
1276 #echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)"
1277 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1278 #echo " PhotometricInterpretation=YBR_FULL_422"
1279 #affim filein=US.1.2.dcm.raw DIMX=768 DIMY=576 nbit=24
1280 #affim filein=US.1.2.dcm.raw DIMX=768 DIMY=576 nbit=24 offset=13271040
1281 #affim filein=US.1.2.dcm.raw DIMX=768 DIMY=576 nbit=24 offset=39813120
1287 # gdcm-US-ALOKA-16.dcm
1288 #echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0"
1289 #echo " PhotometricInterpretation=PALETTE COLOR"
1290 #echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account"
1291 #echo "neither e-film no DicomWorks deals with the color"
1292 #echo "breaks xmedcon"
1293 #ls -l gdcm-US-ALOKA-16.dcm*
1294 #echo "expected 1843200 (large enough to hold 3 16-bits planes)"
1295 #affim dimx=640 dimy=480 filein=gdcm-US-ALOKA-16.dcm.raw nbit=16
1297 # US-PAL-8-10x-echo.dcm
1298 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1299 #echo " PhotometricInterpretation=PALETTE COLOR"
1300 #echo " nb Frames (DIMZ): 10"
1301 #echo "expected : Parsing 10 'single fragment' Segments"
1302 #echo " Reading 10 'single fragment' Segments (ouf!)"
1303 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24
1304 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24 offset=774000
1306 # 8BitsRunLengthColor.dcm
1307 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2"
1308 #echo " PhotometricInterpretation=PALETTE COLOR"
1309 #affim filein=8BitsRunLengthColor.dcm.raw DIMX=800 DIMY=535 nbit=24
1312 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1313 #echo " PhotometricInterpretation=PALETTE COLOR"
1314 #affim filein=OT-PAL-8-face.dcm.raw dimx=640 dimy=480 nbit=24
1319 #echo "expected pixelType=8U SamplesPerPixel=3"
1320 #echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1321 #echo " nb Frames (DIMZ) : 1"
1322 #affim filein=FMAG0001.dcm.raw DIMX=768 DIMY=576 nbit=24
1326 #echo "expected pixelType=8U SamplesPerPixel=3"
1327 #echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1328 #affim filein=QMAG0001.dcm.raw DIMX=384 DIMY=288 nbit=24;
1331 # http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
1332 #------------------------------------------------------
1334 # 8BitsJpegLossyGrayScale.dcm r
1336 # 8BitsRunLengthColor.dcm r
1338 # 8BitsRunLengthGrayScale.dcm r
1340 # 8BitsUncompressedColor.dcm r
1342 # 8BitsUncompressedGrayScale.dcm r
1344 # 16BitsJpegLosslessGrayScale.dcm r
1346 # 16BitsRunLengthGrayScale.dcm r
1347 #echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=2"
1348 #echo " PhotometricInterpretation=MONOCHROME2"
1349 #affim filein=16BitsRunLengthGrayScale.dcm.raw DIMX=800 DIMY=535 nbit=16
1351 # 16BitsUncompressedGrayScale.dcm r
1352 #affim filein=16BitsUncompressedGrayScale.dcm.raw DIMX=800 DIMY=535 nbit=16
1354 # 24BitsJpegLosslessColor.dcm r
1355 #echo "expected DIMX=800 DIMY=535 DIMZ=1 "
1356 #echo " pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1357 #echo " PhotometricInterpretation=RGB "
1358 #affim filein=24BitsJpegLosslessColor.dcm.raw DIMX=800 DIMY=535 nbit=24
1360 # 24BitsJpegLossyColor.dcm r
1361 #affim filein=24BitsJpegLossyColor.dcm.raw DIMX=800 DIMY=535 nbit=24
1363 # 24BitsUncompressedColor.dcm r
1364 #affim filein=24BitsUncompressedColor.dcm.raw DIMX=800 DIMY=535 nbit=24