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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 * 2 = 106496 i.e.
422 # Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
423 7fe0|0010 "gdcm::NotLoaded (BinEntry) 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 (BinEntry) 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 (BinEntry) 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 (BinEntry) Address:1006 Length:920072 x(e0a08)"
492 ############################################################
493 ### ACR NEMA version 1.0 (ONE!) format:
494 ############################################################
495 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
497 # * old (circa 1991) ACR NEMA version 1.0 format.
498 # * apparently broken pixel data (see below)
499 # * Pixel Representation (0028|0103) is absent
500 # * wierd padding of "Manufacturer's Model Name" tag
501 # * Group 20 does NOT contain:
503 # - "Serie Instance UID"
504 # Within this group, the following entries are empty:
508 # - This image pixel data looks corrupted, in the sense that the
509 # following sizes do NOT match (as expected):
510 # * it's pixel data is 132096 bytes long
511 # * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
512 # of 256*256*2 = 131072 bytes.
513 # - Because of this missmatch, TestReadWriteReadCompare segfaults
515 # In details, when segfault occurs we have the following call stack:
516 # gdcmFile::GetImageData()
517 # PixelData = new uint8_t[ImageDataSize];
518 # \--->::GetImageDataIntoVector(destination, ImageDataSize)
519 # \---> ::ReadPixelData(destination)
520 # \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
521 # which causes the segfault because :
522 # - destination is ImageDataSize i.e. 131072 bytes long
523 # - Header->GetPixelAreaLength() = 132096 bytes long
524 0008|0070 "SIEMENS " # Manufacturer
525 0008|1090 "GBS III " # Manufacturer's Model Name
526 0028|0101 "12" # Bits Stored
527 0028|0004 "gdcm::Unfound" # Photometric Interpretation
528 0028|0010 "256" # Rows
529 0028|0011 "256" # Columns
530 0028|0100 "16" # Bits Allocated
531 0028|0102 "11" # High Bit
532 0028|0103 "0" # Pixel Representation
533 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
534 0008|0060 "MR" # Modality
535 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)"
538 [ gdcm-MR-SIEMENS-16-1.acr
540 # * old (circa 1991) ACR NEMA version 1.0 format.
541 # * the image pixel data looks corrupted (see below)
542 # * wierd padding of "Manufacturer's Model Name" tag
543 # * "Photometric Interpretation" tag is absent
544 # * Group 20 does NOT contain:
546 # - "Serie Instance UID"
547 0008|0070 "SIEMENS " # Manufacturer
548 0008|1090 "GBS III " # Manufacturer's Model Name
549 0028|0101 "12" # Bits Stored
550 0028|0004 "gdcm::Unfound" # Photometric Interpretation
551 0028|0010 "256" # Rows
552 0028|0011 "256" # Columns
553 0028|0100 "16" # Bits Allocated
554 0028|0102 "11" # High Bit
555 0028|0103 "0" # Pixel Representation
556 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
557 0008|0060 "MR" # Modality
558 # Note: the image pixel data looks corrupted in the sense that the
559 # following sizes do NOT match (as expected):
560 # - it's pixel data is 132096 bytes long
561 # - it has a size of 256x256 with 16 bytes per pixel, i.e. a size
562 # of 256*256*2 = 131072 bytes.
563 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)"
566 ############################################################
567 ### ACR NEMA version 2.0 (TWO!) format:
568 ############################################################
569 [ gdcm-MR-SIEMENS-16-2.acr
571 # * old (circa 2000) ACR NEMA version 2.0 format.
572 # * wierd padding of "Series Number" tag
573 0008|0070 "SIEMENS " # Manufacturer
574 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
575 0028|0101 "12" # Bits Stored
576 0028|0004 "gdcm::Unfound" # Photometric Interpretation
577 0028|0010 "512" # Rows
578 0028|0011 "512" # Columns
579 0028|0100 "16" # Bits Allocated
580 0028|0102 "11" # High Bit
581 0028|0103 "0" # Pixel Representation
582 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
583 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
584 0008|0060 "MR" # Modality
585 0020|0011 " 7" # Series Number
586 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)"
589 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
591 # * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
592 # "Study Instance UID", "Study ID", "Series Number" and
593 # "Serie Instance UID"
594 0008|0070 "SIEMENS " # Manufacturer
595 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
596 0028|0101 "12" # Bits Stored
597 0028|0004 "gdcm::Unfound" # Photometric Interpretation
598 0028|0010 "512" # Rows
599 0028|0011 "512" # Columns
600 0028|0100 "16" # Bits Allocated
601 0028|0102 "11" # High Bit
602 0028|0103 "0" # Pixel Representation
603 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
604 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
605 0008|0060 "MR" # Modality
606 0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
607 0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
609 0020|0011 " 7" # Series Number
610 0020|0010 " 1" # Study ID
611 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)"
614 #############################################################################
615 ### Images with various oddities...
616 #############################################################################
617 [ gdcm-US-ALOKA-16.dcm
619 # * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
621 # * announced as implicit VR, but really explicit VR !
622 # * has a color palette (see Photometric Interpretation)
623 0008|0070 "ALOKA CO., LTD. " # Manufacturer
624 0008|1090 "SSD-4000" # Manufacturer's Model Name
625 0028|0101 "16" # Bits Stored
626 0028|0004 "PALETTE COLOR " # Photometric Interpretation
627 0028|0010 "480" # Rows
628 0028|0011 "640" # Columns
629 0028|0100 "16" # Bits Allocated
630 0028|0102 "15" # High Bit
631 0028|0103 "0" # Pixel Representation
632 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
633 0008|0060 "US" # Modality
634 # The Segmented Palette Color Lookup Table Data:
636 0028|1221 "gdcm::NotLoaded (BinEntry) Address:1750 Length:87818 x(1570a)"
638 0028|1222 "gdcm::NotLoaded (BinEntry) Address:89576 Length:113784 x(1bc78)"
640 0028|1223 "gdcm::NotLoaded (BinEntry) Address:203368 Length:55364 x(d844)"
641 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:258740 Length:614400 x(96000)"
644 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
646 # * dicom file, with a recognition code of ACR-NEMA1
647 # * Highly nested sequence (6 sublevels) with an impressive size
648 # of 28808 bytes at tag (0x0029, 0x263d)
649 # * possesses many sequences in group 0x0029
650 0008|0070 "Philips Medical Systems " # Manufacturer
651 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
652 0028|0101 "12" # Bits Stored
653 0028|0004 "MONOCHROME2 " # Photometric Interpretation
654 0028|0010 "128" # Rows
655 0028|0011 "128" # Columns
656 0028|0100 "16" # Bits Allocated
657 0028|0102 "11" # High Bit
658 0028|0103 "0" # Pixel Representation
659 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
660 0008|0060 "MR" # Modality
661 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
662 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:35846 Length:32768 x(8000)"
665 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
667 # * probably generated with dcmtk (DICOM Toolkit, refer to
668 # http://dicom.offis.de/dcmtk.php.en)
669 # * Misses the "Samples Per Pixel" element which prevents
670 # e-film from reading it.
671 # * Misses the Manufacturer related info
672 0008|0070 "gdcm::Unfound" # Manufacturer
673 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
674 0028|0101 "8" # Bits Stored
675 0028|0004 "MONOCHROME2 " # Photometric Interpretation
676 0028|0010 "750" # Rows
677 0028|0011 "750" # Columns
678 0028|0100 "8" # Bits Allocated
679 0028|0102 "7" # High Bit
680 0028|0103 "0" # Pixel Representation
681 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
682 0008|0060 "CR" # Modality
683 0002|0013 "OFFIS_DCMTK_341 " # Implementation Version Name
684 0028|0002 "gdcm::Unfound" # Samples per Pixel
685 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:740 Length:562500 x(89544)"
688 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
690 # * Non rectangular pixels (see "Pixel Spacing" tag)
691 # * private tags are in explicit VR (which is normal BTW)
692 0008|0070 "Philips Medical Systems " # Manufacturer
693 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
694 0028|0101 "12" # Bits Stored
695 0028|0004 "MONOCHROME2 " # Photometric Interpretation
696 0028|0010 "64" # Rows
697 0028|0011 "160" # Columns
698 0028|0100 "16" # Bits Allocated
699 0028|0102 "11" # High Bit
700 0028|0103 "0" # Pixel Representation
701 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
702 0008|0060 "MR" # Modality
703 0028|0030 " 0.487416\0.194966" # Pixel Spacing
704 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:5010 Length:20480 x(5000)"
707 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
709 # * contains a tag with value multiplicity bigger than 1: the
710 # tag (0x0018, 0x1310) has "US" as value representation BUT
711 # has a size of 8 bytes (i.e. it contains FOUR short integers)
712 0008|0070 "SIEMENS " # Manufacturer
713 0008|1090 "Sonata" # Manufacturer's Model Name
714 0028|0101 "12" # Bits Stored
715 0028|0004 "MONOCHROME2 " # Photometric Interpretation
716 0028|0010 "208" # Rows
717 0028|0011 "256" # Columns
718 0028|0100 "16" # Bits Allocated
719 0028|0102 "11" # High Bit
720 0028|0103 "0" # Pixel Representation
721 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
722 0008|0060 "MR" # Modality
723 0018|1310 "256\0\0\166" # Acquisition Matrix
724 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:25686 Length:106496 x(1a000)"
727 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
729 # * looks like a DICOM V3 image but it misses the proper file
730 # file preamble (of 200 bytes).
731 0008|0070 "Picker International, Inc." # Manufacturer
732 0008|1090 "HF1006" # Manufacturer's Model Name
733 0028|0101 "16" # Bits Stored
734 0028|0004 "MONOCHROME2 " # Photometric Interpretation
735 0028|0010 "512" # Rows
736 0028|0011 "512" # Columns
737 0028|0100 "16" # Bits Allocated
738 0028|0102 "15" # High Bit
739 0028|0103 "1" # Pixel Representation
740 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
741 0008|0060 "MR" # Modality
742 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1406 Length:524288 x(80000)"
745 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
747 # * Contains an odd sequence at tag (0x0008, 0x1140).
748 # JPR FIXME: in what sense is to odd ???
749 0008|0070 "Philips Medical Systems " # Manufacturer
750 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
751 0028|0101 "8" # Bits Stored
752 0028|0004 "MONOCHROME2 " # Photometric Interpretation
753 0028|0010 "256" # Rows
754 0028|0011 "256" # Columns
755 0028|0100 "16" # Bits Allocated
756 0028|0102 "7" # High Bit
757 0028|0103 "0" # Pixel Representation
758 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
759 0008|0060 "MR" # Modality
760 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6584 Length:131072 x(20000)"
763 [ PICKER-16-MONO2-Nested_icon.dcm
765 # * contains TWO images:
766 # - the original image 512x512
767 # - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200)
768 # This implies this image contains two 7fe0|0010 (among one is
769 # burried in a sequence), two "Rows" entries, two "Columns" entries...
770 # This makes it impossible to use the name of tag (e.g. Rows) as
771 # as a key of dictionaries build on top of such an image....
772 0008|0070 "PICKER" # Manufacturer
773 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
774 0028|0101 "12" # Bits Stored
775 0028|0004 "MONOCHROME2 " # Photometric Interpretation
776 0028|0010 "512" # Rows
777 0028|0011 "512" # Columns
778 0028|0100 "16" # Bits Allocated
779 0028|0102 "11" # High Bit
780 0028|0103 "0" # Pixel Representation
781 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
782 0008|0060 "CT" # Modality
783 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:18228 Length:524288 x(80000)"
786 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
788 # * within the sequence at tag (0x0028, 0x3000) we encounter
789 # an "Item Delimitation" (0xfffe, 0xe00d) followed by an
790 # "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after
791 # the tag (0x0028, 0x3006) !!!
792 # * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
793 # (0x0008, 0x0010) is present].
794 0008|0070 "Kodak " # Manufacturer
795 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
796 0028|0101 "12" # Bits Stored
797 0028|0004 "MONOCHROME1 " # Photometric Interpretation
798 0028|0010 "2392" # Rows
799 0028|0011 "1792" # Columns
800 0028|0100 "16" # Bits Allocated
801 0028|0102 "11" # High Bit
802 0028|0103 "0" # Pixel Representation
803 0002|0010 "gdcm::Unfound" # Transfer Syntax: Implicit VR, LE
804 0008|0060 "CR" # Modality
805 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:9134 Length:8572928 x(82d000)"
808 ############################################################
809 ### Jpeg compressed images.
810 ############################################################
811 [ gdcm-JPEG-Extended.dcm
813 # * jpeg compression [Extended Process (2,4)]
814 # * probably contains additional data after the pixels (see comments
815 # of the gdcm-JPEG-LossLess3a.dcm entry)
816 0008|0070 "SIEMENS " # Manufacturer
817 0008|1090 "Volume Zoom " # Manufacturer's Model Name
818 0028|0101 "12" # Bits Stored
819 0028|0004 "MONOCHROME2 " # Photometric Interpretation
820 0028|0010 "512" # Rows
821 0028|0011 "512" # Columns
822 0028|0100 "16" # Bits Allocated
823 0028|0102 "11" # High Bit
824 0028|0103 "0" # Pixel Representation
825 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
827 0008|0060 "CT" # Modality
828 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2946 Length:192218 x(2eeda)"
831 [ gdcm-JPEG-Extended-Allready_present.dcm
832 # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
833 # terms of features (actually I suspect gdcm-JPEG-Extended.dcm
834 # is the anoymized version of this one)...
836 # * jpeg compression [Extended Process (2,4)]
837 0008|0070 "SIEMENS " # Manufacturer
838 0008|1090 "Volume Zoom " # Manufacturer's Model Name
839 0028|0101 "12" # Bits Stored
840 0028|0004 "MONOCHROME2 " # Photometric Interpretation
841 0028|0010 "512" # Rows
842 0028|0011 "512" # Columns
843 0028|0100 "16" # Bits Allocated
844 0028|0102 "11" # High Bit
845 0028|0103 "0" # Pixel Representation
846 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
848 0008|0060 "CT" # Modality
849 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2946 Length:192218 x(2eeda)"
852 [ gdcm-JPEG-LossLess3a.dcm
854 # * jpeg compression [Lossless, hierar., first-order prediction
855 # (Process 14, Selection Value 1) ]
856 # * contains additional data after the pixels (see below)
857 # * contains a sequence at tag (0x0008, 0x2112)
858 0008|0070 "SIEMENS " # Manufacturer
859 0008|1090 "Volume Zoom " # Manufacturer's Model Name
860 0028|0101 "12" # Bits Stored
861 0028|0004 "MONOCHROME2 " # Photometric Interpretation
862 0028|0010 "512" # Rows
863 0028|0011 "512" # Columns
864 0028|0100 "16" # Bits Allocated
865 0028|0102 "11" # High Bit
866 0028|0103 "0" # Pixel Representation
867 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
869 0008|0060 "CT" # Modality
870 # It looks like the pixel data are corrupted:
871 # As stated by "od -A d -c"
872 # 0002528 à 177 020 \0 O B \0 \0 ÿ ÿ ÿ ÿ þ ÿ \0 à
873 # 0002544 \0 \0 \0 \0 þ ÿ \0 à 202 ? 003 \0 ÿ Ø ÿ Ã
874 # which we interpret as follows:
875 # - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
876 # - 2532: OB i.e. encapsulated encoded Pixel Data,
877 # - 2534: Two bytes reserved,
878 # - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
879 # - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
881 # - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
882 # item value for offset table.
883 # - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
884 # fragment of (encoded) pixel data.
885 # - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
886 # of (encoded) pixel data.
887 # and so the next item tag should be found at the 2556+212866 th
888 # octet i.e. at address 215422. But, as stated by od, we find:
889 # 0215408 E u Ö 026 Î É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
890 # 0215424 ¶ 016 P Ñ 002 016
891 # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
892 # present (at least there should be a sequence delimiter), refer to
893 # PS 3.5-2001 page 50.
895 # As stated by JPR in hexa:
896 # at 9ec : ItemTag : fffe,e000
897 # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
898 # at 9f4 : ItemTag : fffe,e000
899 # at 9f8 : fragment length 212866 x(00033f82)
900 # at 3497e : ItemTag b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
901 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2540 Length:212890 x(33f9a)"
904 [ gdcm-JPEG-LossLessThoravision.dcm
906 # * jpeg compression [Lossless, hierar., first-order prediction
907 # (Process 14, Selection Value 1) ]
908 # * encoding is sligthly different from the one of entry
909 # gdcm-JPEG-LossLess3a.dcm (to check).
910 # * Large picture: 2076 by 1876 (I wonder what screens they have...)
911 0008|0070 "Philips Medical Systems " # Manufacturer
912 0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
913 0028|0101 "15" # Bits Stored
914 0028|0004 "MONOCHROME2 " # Photometric Interpretation
915 0028|0010 "2076" # Rows
916 0028|0011 "1876" # Columns
917 0028|0100 "16" # Bits Allocated
918 0028|0102 "14" # High Bit
919 0028|0103 "0" # Pixel Representation
920 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended
922 0008|0060 "CR" # Modality
923 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:3144 Length:4795668 x(492d14)"
926 #############################################################################
929 # Cardiovasculaire multiframe
932 # les champs prives ne *sont pas* Explicit VR
933 # tous les Groupes comportent un element 0000
934 # Pixels codes sur 10 bits
942 # contient peut etre (?!) des curiosités apres les Pixels
945 # CR Thoravision Philips Cardio
949 # Jpeg mal decodé par les fonctions utilisees
955 # Decodage non traite par mes fonctions
958 # Image au format ECAT (Medecine Nucleaire)
959 # On n'y echapera pas encore tres longtemps, a celles la :-(
961 # ---------------- Ajouts 20 Nov 2002
966 # abscence de l'element 0000 (group length) pour tous les groupes
978 # (0028,0002) Samples Per Pixel = 3
980 # les champs à l'interieur de cette 'Sequence'
981 # contiennent des caract non imprimables qui déconfigurent l'ecran :-(
983 # Ces deux examens, correspondant a 2 patients differents ont le meme Study ID
985 # philipsMR-lossy.ima
988 # indiquée comme ACR-NEMA V1 dans l'entete
989 # JPEG Lossy (Transfer Syntax UID : [1.2.840.10008.1.2.4.51])
994 ###########################################################################
995 # Not in gdcmData anymore (or renamed to something else???) !!!
998 # Echographie single Frame
1004 # Irm Philips Marseille
1007 # les champs prives *sont* Explicit VR
1008 # les champs prives contiennent des caract non imprimables
1009 # Pixels non Rectangulaires
1012 # IRM Siemens Sonata (images taggees)
1013 # SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois
1019 # Manque 'Samples Per Pixel' pour etre lue par e-film