]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
a38213e58131b1f11141f246852b55328d5787c7
[gdcmData.git] / TestAllEntryVerifyReference.txt
1 # TestAllEntryVerifyReference.txt
2 #
3 # This file describes for (hopefully) all the images of this repository
4 # the Dicom field entries that we use for the test suite.
5 # Semantics:
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)".
16 # Format:
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
23 #     the empty line)...] 
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)
28 # Example:
29 #    [ filename.dcm
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)"
34 #    ]
35 #    This info shall be discarded (and has no comment which is lack of taste)
36 #
37 #    [
38 #      otherFilename.dcm
39 #      # some really nice comments and documentation
40 #      0028|0010 "440"
41 #      0028|0011 "440" ] # Columns
42 #
43 #
44 # File naming conventions:
45 #  the general form shall be (unpresent or meaningfull field are optional)
46 #  [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[FileSeq]-[Description].EXT
47 #  where :
48 #   - [Manufacturer] represents at best the aquisition device. It can
49 #     can be a blend of the "Manufacturer" and "Manufacturer's Model Name"
50 #     Dicom entries.
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 #   - [FileSeq] when this file and others with the same other information
59 #     can be used in a sequence of images (for 3D images or animated images.
60 #     In this case, we must set FileSeq and the image id. The id must begin to 0
61 #     and increase with a step of 1
62 #   - [Description] shall be a concise description of the features
63 #     specificities of the image (e.g. ACR_NEMA_1 to indicate it is an
64 #     old ACR Nema version 1 file format).
65 #   - .EXT is the extension and (allthough meaningless in terms of the
66 #     dicom standard) shall either be .acr (for ACR Nema version 1 and 2)
67 #     or .dcm for Dicom V3 images.
68 # Examples:
69 #   - SIEMENS_GBS_III-16-ACR_NEMA_1.acr does it's best to express
70 #     that this image was produced by a SIEMENS (manufacturer) "GBS III"
71 #     (model name) imaging device. It is encoded on 16 bits per pixel,
72 #     has no "Photometric Interpretation", no sequence, and uses the
73 #     old ACR Nema version 1 file format.
74 #
75 # Note: The files whose name starts with a modality (e.g. CR-MONO1-10-chest.dcm)
76 #       are taken from Sebastien Barre's Dicom2 highly recommendable site
77 #       http://www.barre.nom.fr/medical/samples/index.html
78
79 ############################################################
80 ### As taken from Sebastien Barre's Dicom2 (see note above).
81 ### CR modality examples:
82 ############################################################
83 [ CR-MONO1-10-chest.dcm
84    # - Particularities:
85    #   * "Transfer Syntax UID" is absent.
86    #   Warning : MONOCHROME1 -> *should be* displayed as video inv
87    #                            (nobody seems to care about it ...)
88    0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
89    0008|1090 "9000"                     # Manufacturer's Model Name
90    0028|0101 "10"                       # Bits Stored
91    0028|0004 "MONOCHROME1 "             # Photometric Interpretation
92    0028|0010 "440"                      # Rows
93    0028|0011 "440"                      # Columns
94    0028|0100 "16"                       # Bits Allocated
95    0028|0102 "9"                        # High Bit
96    0028|0103 "0"                        # Pixel Representation
97    0002|0010 "gdcm::Unfound"            # Transfer Syntax UID
98    0008|0060 "CR"                       # Modality
99    7fe0|0010 "gdcm::NotLoaded Address:776 Length:387200 x(5e880)"
100 ]
101
102 ############################################################
103 ### As taken from Sebastien Barre's Dicom2 (see note above).
104 ### CT modality examples:
105 ############################################################
106 [ CT-MONO2-16-brain.dcm
107    0008|0070 "Picker International, Inc." # Manufacturer
108    0008|1090 "PQ5000"                     # Manufacturer's Model Name
109    0028|0101 "16"                         # Bits Stored
110    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
111    0028|0010 "512"                        # Rows
112    0028|0011 "512"                        # Columns
113    0028|0100 "16"                         # Bits Allocated
114    0028|0102 "15"                         # High Bit
115    0028|0103 "1"                          # Pixel Representation
116    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
117    0008|0060 "CT"                         # Modality
118    7fe0|0010 "gdcm::NotLoaded Address:1680 Length:524288 x(80000)"
119 ]
120
121 [ CT-MONO2-16-ort.dcm
122    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
123    0008|1090 "HiSpeed CT/i"               # Manufacturer's Model Name
124    0028|0101 "16"                         # Bits Stored
125    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
126    0028|0010 "512"                        # Rows
127    0028|0011 "512"                        # Columns
128    0028|0100 "16"                         # Bits Allocated
129    0028|0102 "15"                         # High Bit
130    0028|0103 "1"                          # Pixel Representation
131    0008|0060 "CT"                         # Modality
132    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
133    7fe0|0010 "gdcm::NotLoaded Address:1674 Length:524288 x(80000)"
134 ]
135
136 [ CT-MONO2-16-ankle.dcm 
137    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
138    0008|1090 "GENESIS_ZEUS"               # Manufacturer's Model Name
139    0028|0101 "16"                         # Bits Stored
140    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
141    0028|0010 "512"                        # Rows
142    0028|0011 "512"                        # Columns
143    0028|0100 "16"                         # Bits Allocated
144    0028|0102 "15"                         # High Bit
145    0028|0103 "1"                          # Pixel Representation
146    0008|0060 "CT"                         # Modality
147    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
148    7fe0|0010 "gdcm::NotLoaded Address:1148 Length:524288 x(80000)"
149 ]
150
151 [ CT-MONO2-8-abdo.dcm
152    # - Particularities:
153    #   * "Manufacturer's Model Name" is absent.
154    0008|0070 "FUJI"                       # Manufacturer
155    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
156    0028|0101 "8"                          # Bits Stored
157    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
158    0028|0010 "512"                        # Rows
159    0028|0011 "512"                        # Columns
160    0028|0100 "8"                          # Bits Allocated
161    0028|0102 "7"                          # High Bit
162    0028|0103 "0"                          # Pixel Representation
163    0008|0060 "CT"                         # Modality
164    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
165    7fe0|0010 "gdcm::NotLoaded Address:796 Length:262144 x(40000)"
166 ]
167
168 [ CT-MONO2-12-lomb-an2.acr
169    # - Particularities:
170    #   * "Transfer Syntax UID" is absent.
171    #   * "Photometric Interpretation" is absent.
172    0008|0070 "SIEMENS "                   # Manufacturer
173    0008|1090 "SOMATOM PLUS 4"             # Manufacturer's Model Name
174    0028|0101 "12"                         # Bits Stored
175    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
176    0028|0010 "512"                        # Rows
177    0028|0011 "512"                        # Columns
178    0028|0100 "16"                         # Bits Allocated
179    0028|0102 "11"                         # High Bit
180    0028|0103 "0"                          # Pixel Representation
181    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
182    0008|0060 "CT"                         # Modality
183    7fe0|0010 "gdcm::NotLoaded Address:1230 Length:524288 x(80000)"
184 ]
185
186 [ CT-MONO2-16-chest.dcm
187    # - Particularities:
188    #   * jpeg compression [Lossless, hierar., first-order prediction
189    #     (Process 14, Selection Value 1) ]
190    #   * "Transfer Syntax UID" is absent.
191    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
192    0008|1090 "HiSpeed "                   # Manufacturer's Model Name
193    0028|0101 "16"                         # Bits Stored
194    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
195    0028|0010 "400"                        # Rows
196    0028|0011 "512"                        # Columns
197    0028|0100 "16"                         # Bits Allocated
198    0028|0102 "15"                         # High Bit
199    0028|0103 "1"                          # Pixel Representation
200    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
201                                           # ... Process 14 [Selection Value 1]
202    0008|0060 "CT"                         # Modality
203    7fe0|0010 "gdcm::NotLoaded Address:1638 Length:143498 x(2308a)"
204 ]
205
206 ############################################################
207 ### As taken from Sebastien Barre's Dicom2 (see note above).
208 ### MR modality examples:
209 ### Note: MR-MONO2-16-knee is not present in the test suite
210 ###       since it is too closely related to
211 ###       MR-MONO2-16-head.dcm to be of interest.
212 ############################################################
213 [ MR-MONO2-12-angio-an1.acr
214    # - Particularities:
215    #   * "Photometric Interpretation" is absent.
216    #   * "Transfer Syntax UID" is absent.
217    0008|0070 "Philips "                   # Manufacturer
218    0008|1090 "T5"                         # Manufacturer's Model Name
219    0028|0101 "12"                         # Bits Stored
220    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
221    0028|0010 "256"                        # Rows
222    0028|0011 "256"                        # Columns
223    0028|0100 "12"                         # Bits Allocated
224    0028|0102 "11"                         # High Bit
225    0028|0103 "0"                          # Pixel Representation
226    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
227    0008|0060 "MR"                         # Modality
228    # Note: 256*256*12/8 = 98304 i.e.
229    #       Rows * Columns * Bits_Stored / (8 bits per pixel) = Length in bytes
230    7fe0|0010 "gdcm::NotLoaded Address:650 Length:98304 x(18000)"
231 ]
232
233 [ MR-MONO2-12-an2.acr
234    # - Particularities:
235    #   * "Transfer Syntax UID" is absent.
236    0008|0070 "SIEMENS "                   # Manufacturer
237    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
238    0028|0101 "12"                         # Bits Stored
239    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
240    0028|0010 "256"                        # Rows
241    0028|0011 "256"                        # Columns
242    0028|0100 "16"                         # Bits Allocated
243    0028|0102 "11"                         # High Bit
244    0028|0103 "0"                          # Pixel Representation
245    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
246    0008|0060 "MR"                         # Modality
247    7fe0|0010 "gdcm::NotLoaded Address:1866 Length:131072 x(20000)"
248 ]
249
250 [ MR-MONO2-16-head.dcm
251    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
252    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
253    0028|0101 "16"                         # Bits Stored
254    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
255    0028|0010 "256"                        # Rows
256    0028|0011 "256"                        # Columns
257    0028|0100 "16"                         # Bits Allocated
258    0028|0102 "15"                         # High Bit
259    0028|0103 "1"                          # Pixel Representation
260    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
261    0008|0060 "MR"                         # Modality
262    7fe0|0010 "gdcm::NotLoaded Address:1804 Length:131072 x(20000)"
263 ]
264
265 [ MR-MONO2-12-shoulder.dcm
266    # - Particularities:
267    #   * jpeg encoding (see "Transfer Syntax UID" tag)
268    0008|0070 "Philips Medical Systems "   # Manufacturer
269    0008|1090 "Gyroscan NT "               # Manufacturer's Model Name
270    0028|0101 "12"                         # Bits Stored
271    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
272    0028|0010 "1024"                       # Rows
273    0028|0011 "1024"                       # Columns
274    0028|0100 "16"                         # Bits Allocated
275    0028|0102 "11"                         # High Bit
276    0028|0103 "0"                          # Pixel Representation
277    0002|0010 "1.2.840.10008.1.2.4.57"     # Transfer Syntax: jpeg,
278                                           #         Lossless, non-hierar. (14)
279    0008|0060 "MR"                         # Modality
280    7fe0|0010 "gdcm::NotLoaded Address:1580 Length:718948 x(af864)"
281 ]
282
283 ############################################################
284 ### As taken from Sebastien Barre's Dicom2 (see note above).
285 ### OT modality examples:
286 ### Note: OT-MONO2-8-hip and OT-MONO2-8-colon are not
287 ###       present in the test suite since they are too
288 ###       closely related to OT-MONO2-8-a7 to be of
289 ###       interest.
290 ############################################################
291 [ OT-PAL-8-face.dcm
292    # - Particularities:
293    #   * has a color palette (see Photometric Interpretation)
294    #   * "Manufacturer" is absent.
295    #   * "Manufacturer's Model Name" is absent.
296    0008|0070 "gdcm::Unfound"              # Manufacturer
297    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
298    0028|0101 "8"                          # Bits Stored
299    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
300    0028|0010 "480"                        # Rows
301    0028|0011 "640"                        # Columns
302    0028|0100 "8"                          # Bits Allocated
303    0028|0102 "7"                          # High Bit
304    0028|0103 "0"                          # Pixel Representation
305    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
306    0008|0060 "OT"                         # Modality
307    0028|0002 "1"                          # Samples per Pixel
308    7fe0|0010 "gdcm::NotLoaded Address:1654 Length:307200 x(4b000)"
309 ]
310
311 [ OT-MONO2-8-a7.dcm
312    # - Particularities:
313    #   * "Manufacturer's Model Name" is absent.
314    #   * "Transfer Syntax UID" is absent.
315    0008|0070 "Philips Medical Systems "   # Manufacturer
316    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
317    0028|0101 "8"                          # Bits Stored
318    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
319    0028|0010 "512"                        # Rows
320    0028|0011 "512"                        # Columns
321    0028|0100 "8"                          # Bits Allocated
322    0028|0102 "7"                          # High Bit
323    0028|0103 "0"                          # Pixel Representation
324    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
325    0008|0060 "OT"                         # Modality
326    7fe0|0010 "gdcm::NotLoaded Address:438 Length:262144 x(40000)"
327 ]
328
329 ############################################################
330 ### As taken from Sebastien Barre's Dicom2 (see note above).
331 ### US modality examples:
332 ############################################################
333 [ US-RGB-8-esopecho.dcm
334    # - Particularities:
335    #   * RGB image (see Photometric Interpretation)
336    #   * "Manufacturer's Model Name" is absent.
337    0008|0070 "Acme Products "             # Manufacturer
338    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
339    0028|0101 "8"                          # Bits Stored
340    0028|0004 "RGB "                       # Photometric Interpretation
341    0028|0010 "120"                        # Rows
342    0028|0011 "256"                        # Columns
343    0028|0100 "8"                          # Bits Allocated
344    0028|0102 "7"                          # High Bit
345    0028|0103 "0"                          # Pixel Representation
346    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
347    0008|0060 "US"                         # Modality
348    # Note: since "Planar configuration" is 0, the Pixels are layed out
349    #       as RGB, RGB, RGB... (as opposed to US-RGB-8-epicard.dcm)
350    0028|0006 "0"                          # Planar Configuration
351    0028|0002 "3"                          # Samples per Pixel
352    # Note: - 120 * 256 * 3 = 92160 i.e.
353    #       Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
354    #       "Samples per Pixel" is 3 since this is an RGB image (see
355    #       "Photometric Interpretation" entry).
356    7fe0|0010 "gdcm::NotLoaded Address:904 Length:92160 x(16800)"
357 ]
358
359 [ US-RGB-8-epicard.dcm
360    # - Particularities:
361    #   * Big Endian transfer syntax
362    #   * RGB image (see Photometric Interpretation)
363    0008|0070 "G.E. Medical Systems"       # Manufacturer
364    0008|1090 "LOGIQ 700 "                 # Manufacturer's Model Name
365    0028|0101 "8"                          # Bits Stored
366    0028|0004 "RGB "                       # Photometric Interpretation
367    0028|0010 "480"                        # Rows
368    0028|0011 "640"                        # Columns
369    0028|0100 "8"                          # Bits Allocated
370    0028|0102 "7"                          # High Bit
371    0028|0103 "0"                          # Pixel Representation
372    0002|0010 "1.2.840.10008.1.2.2"        # Transfer Syntax: Big Endian
373    0008|0060 "US"                         # Modality
374    # Note: since "Planar configuration" is 1, the Pixels are layed out
375    #       as Plane R, Plane G, Plane B (as opposed to US-RGB-8-esopecho.dcm).
376    0028|0006 "1"                          # Planar Configuration
377    0028|0002 "3"                          # Samples per Pixel
378    # Note: 480 * 640 * 3 = 921600 i.e.
379    #       Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
380    #       "Samples per Pixel" is 3 since this is an RGB image (see
381    #       "Photometric Interpretation" entry).
382    7fe0|0010 "gdcm::NotLoaded Address:1012 Length:921600 x(e1000)"
383 ]
384
385 ############################################################
386 ### Multi-frame images: the number of images is contained
387 ### in the "Number of Frames" tag. Note that this tag may
388 ### a value representation of "IS" which implies it's
389 ### content can be padded wich an extra space (refer to
390 ### US-PAL-8-10x-echo.dcm for an example).
391 ############################################################
392 [ MR-MONO2-8-16x-heart.dcm
393    # - Particularities:
394    #   * Multiframe image (see Number of Frames tag)
395    #   * "Manufacturer's Model Name" is absent.
396    0008|0070 "Philips "                   # Manufacturer
397    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
398    0028|0101 "8"                          # Bits Stored
399    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
400    0028|0010 "256"                        # Rows
401    0028|0011 "256"                        # Columns
402    0028|0100 "8"                          # Bits Allocated
403    0028|0102 "7"                          # High Bit
404    0028|0103 "0"                          # Pixel Representation
405    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
406    0008|0060 "MR"                         # Modality
407    0028|0008 "16"                         # Number of Frames
408    # Note: 256 * 256 * 16 = 1048576 i.e.
409    #       Rows * Columns * Number_of_Frames = Total_number_of_bytes
410    7fe0|0010 "gdcm::NotLoaded Address:920 Length:1048576 x(100000)"
411 ]
412
413 [ NM-MONO2-16-13x-heart.dcm
414    # - Particularities:
415    #   * Multiframe image (see Number of Frames tag)
416    0008|0070 "ACME Products "             # Manufacturer
417    0008|1090 "P3000 "                     # Manufacturer's Model Name
418    0028|0101 "16"                         # Bits Stored
419    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
420    0028|0010 "64"                         # Rows
421    0028|0011 "64"                         # Columns
422    0028|0100 "16"                         # Bits Allocated
423    0028|0102 "15"                         # High Bit
424    0028|0103 "0"                          # Pixel Representation
425    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
426    0008|0060 "NM"                         # Modality
427    0028|0008 "13"                         # Number of Frames
428    # Note: 64 * 64 * 13 *   = 106496 i.e.
429    #       Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
430    7fe0|0010 "gdcm::NotLoaded Address:1234 Length:106496 x(1a000)"
431 ]
432
433 [ US-MONO2-8-8x-execho.dcm
434    # - Particularities:
435    #   * Multiframe image (see Number of Frames tag)
436    #   * Note the extra space for the Number of Frames tag: this is because
437    #     the value representation of this tag "IS"...
438    0008|0070 "Acme Products "             # Manufacturer
439    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
440    0028|0101 "8"                          # Bits Stored
441    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
442    0028|0010 "120"                        # Rows
443    0028|0011 "128"                        # Columns
444    0028|0100 "8"                          # Bits Allocated
445    0028|0102 "7"                          # High Bit
446    0028|0103 "0"                          # Pixel Representation
447    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
448    0008|0060 "US"                         # Modality
449    0028|0008 "8 "                         # Number of Frames
450    # Note: 120 * 128 * 8 * 1 = 122880 i.e.
451    #       Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
452    7fe0|0010 "gdcm::NotLoaded Address:976 Length:122880 x(1e000)"
453 ]
454
455 [ US-PAL-8-10x-echo.dcm
456    # - Particularities:
457    #   * Has a color palette (see "Photometric Interpretation" tag)
458    #   * compressed as RLE Lossless (Run Length Encoded) (see Transfer Syntax)
459    #   * Multiframe image (see Number of Frames tag)
460    0008|0070 "ACME Products "             # Manufacturer
461    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
462    0028|0101 "8"                          # Bits Stored
463    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
464    0028|0010 "430"                        # Rows
465    0028|0011 "600"                        # Columns
466    0028|0100 "8"                          # Bits Allocated
467    0028|0102 "7"                          # High Bit
468    0028|0103 "0"                          # Pixel Representation
469    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
470    0008|0060 "US"                         # Modality
471    0028|0008 "10"                         # Number of Frames
472    0028|0002 "1"                          # Samples per Pixel
473    0028|0006 "gdcm::Unfound"              # Planar Configuration
474    # Note: 430 * 600 * 8 != 481182 because of compression !
475    7fe0|0010 "gdcm::NotLoaded Address:2428 Length:481182 x(7579e)"
476 ]
477
478 [ XA-MONO2-8-12x-catheter.dcm
479    # - Particularities:
480    #   * jpeg compression [Lossless, hierar., first-order prediction
481    #     (Process 14, Selection Value 1) ]
482    #   * Multiframe image (see Number of Frames tag)
483    #   * XA Modality
484    0008|0070 "Acme Products "             # Manufacturer
485    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
486    0028|0101 "8"                          # Bits Stored
487    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
488    0028|0010 "512"                        # Rows
489    0028|0011 "512"                        # Columns
490    0028|0100 "8"                          # Bits Allocated
491    0028|0102 "7"                          # High Bit
492    0028|0103 "0"                          # Pixel Representation
493    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
494                                           # ... Process 14 [Selection Value 1]
495    0008|0060 "XA"                         # Modality
496    0028|0008 "12"                         # Number of Frames
497    # Note: 512 * 512 * 12 != 920072 because of compression !
498    7fe0|0010 "gdcm::NotLoaded Address:1006 Length:920072 x(e0a08)"
499 ]
500
501 [ PHILIPS_Integris_V-10-MONO2-Multiframe.dcm
502    # - Particularities:
503    #   * Multiframe image (see Number of Frames tag)
504    #   * the private tags are NOT in Explicit VR
505    #   * allmost groups (this is not the case of group 0x0008) contain
506    #     a "Group Length" tag (*, 0x0000)
507    #   * Pixel data encoded on 10 bits.
508    #   * Implicit VR --> all private entries are assumed as BinEntries
509    #                    (group 0019, group 0029)
510    #   * contains a "Modality LUT Sequence" at tag 0028|3000
511    0008|0070 "Philips Medical Systems (Netherlands) "    # Manufacturer
512    0008|1090 "P H I L I P S     INTEGRIS V" # Manufacturer's Model Name
513    0028|0101 "10"                         # Bits Stored
514    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
515    0028|0010 "1024"                       # Rows
516    0028|0011 "1024"                       # Columns
517    0028|0100 "16"                         # Bits Allocated
518    0028|0102 "9"                          # High Bit
519    0028|0103 "0"                          # Pixel Representation
520    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
521    0008|0060 "XA"                         # Modality
522    0028|0008 "31"                         # Number of Frames
523    # Note: 1024 * 1024 * 31 * 2 = 65011712 i.e.
524    #       Rows * Columns * Number_of_Frames * Bits_Allocated / 8 yields
525    #       the total number of bytes.
526   7fe0|0010 "gdcm::NotLoaded Address:4114 Length:65011712 x(3e00000)"
527 ]
528
529 [ GE_DLX-8-MONO2-Multiframe.dcm
530    # - Particularities:
531    #   * Multiframe image (see Number of Frames tag)
532    #   * the private tags are NOT in Explicit VR
533    #     --> assumed as BinEntries
534    #     ( groups 11, 15, 19)
535    #   * allmost groups (this is not the case of group 0x0008) contain
536    #     a "Group Length" tag (*, 0x0000)
537    #   * contains a "Mask Subtraction Sequence" at tag 0028|6100
538    #   * contains a "Device Sequence" at tag 0050|0010
539    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
540    0008|1090 "DLX "                       # Manufacturer's Model Name
541    0028|0101 "8"                          # Bits Stored
542    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
543    0028|0010 "512"                        # Rows
544    0028|0011 "512"                        # Columns
545    0028|0100 "8"                          # Bits Allocated
546    0028|0102 "7"                          # High Bit
547    0028|0103 "0"                          # Pixel Representation
548    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
549    0008|0060 "XA"                         # Modality
550    0028|0008 "56"                         # Number of Frames
551    # Note: 512 * 512 * 56 = 14680064 i.e.
552    #       Rows * Columns * Number_of_Frames = Total_number_of_bytes.
553    7fe0|0010 "gdcm::NotLoaded Address:4984 Length:14680064 x(e00000)"
554 ]
555
556 [ GE_DLX-8-MONO2-Multiframe-Jpeg_Lossless.dcm
557    # - Particularities:
558    #   * Multiframe image (see Number of Frames tag)
559    #   * contains a "Mask Subtraction Sequence" at tag 0028|6100
560    #   * contains a "Device Sequence" at tag 0050|0010
561    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
562    0008|1090 "DLX "                       # Manufacturer's Model Name
563    0028|0101 "8"                          # Bits Stored
564    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
565    0028|0010 "512"                        # Rows
566    0028|0011 "512"                        # Columns
567    0028|0100 "8"                          # Bits Allocated
568    0028|0102 "7"                          # High Bit
569    0028|0103 "0"                          # Pixel Representation
570    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
571                                           # ... Process 14 [Selection Value 1]
572    0008|0060 "XA"                         # Modality
573    0028|0008 "67"                         # Number of Frames
574    # 7fe0|0010 not present
575 ]
576
577 [ ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm
578    # - Particularities:
579    #   * Jpeg Baseline (Process 1) encoding.
580    #   * YBR_FULL_422 encoding and hence "Samples per Pixel" tag is 3 
581    #     (see "Photometric Interpretation" entry).
582    #   * has a "Sequence of Ultrasound Regions " at tag (0x0018, 0x6011).
583    #   * WITHIN this sequence [at tag (0x0018, 0x6011)] we encounter
584    #     tags [e.g. (0x0018, 0x602c) ] with "FD" as value representation
585    #     that are "non printable" when interpreted as characters. "Non
586    #     printable" stands for "contains control characters that corrupts
587    #     a majority of UN*X shells"...
588    #   * Multiframe image with 40 fragments : see Number of Frames tag.
589    0008|0070 "ACUSON"                     # Manufacturer
590    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
591    0028|0101 "8"                          # Bits Stored
592    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
593    0028|0010 "576"                        # Rows
594    0028|0011 "768"                        # Columns
595    0028|0100 "8"                          # Bits Allocated
596    0028|0102 "7"                          # High Bit
597    0028|0103 "0"                          # Pixel Representation
598    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: JPEG Baseline
599                                           #                  (Process 1)
600    0008|0060 "US"                         # Modality
601    0028|0002 "3"                          # Samples per Pixel
602    0028|0008 "40"                         # Number of Frames
603    7fe0|0010 "gdcm::NotLoaded Address:1872 Length:3291746 x(323a62)"
604 ]
605
606 [ PHILIPS_Integris_H-8-MONO2-Multiframe.dcm
607    # - Particularities:
608    #   * Multiframe image (see Number of Frames tag)
609    #   * contains a "Referenced Performed Procedure Step Sequence" at
610    #     tag 0008|1111
611    #   * contains a sequence of unknow type at tag 0029|fd00.
612    #   * has some trailing (after the pixel data) info with tag fffc|fffc,
613    #     VR of "OB", length = 1570 = 0x622
614    0008|0070 "Philips Medical Systems (Netherlands) "    # Manufacturer
615    0008|1090 "P H I L I P S     INTEGRIS H" # Manufacturer's Model Name
616    0028|0101 "8"                          # Bits Stored
617    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
618    0028|0010 "512"                        # Rows
619    0028|0011 "512"                        # Columns
620    0028|0100 "8"                          # Bits Allocated
621    0028|0102 "7"                          # High Bit
622    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
623                                           # ... Process 14 [Selection Value 1]
624    0008|0060 "XA"                         # Modality
625    0028|0008 "76"                         # Number of Frames
626   7fe0|0010 "gdcm::NotLoaded Address:5690 Length:14349208 x(daf398)"
627 ]
628
629 [ ACUSON-24-YBR_FULL-RLE-b.dcm
630    # - Particularities:
631    #   * RLE Lossless encoding.
632    #   * YBR_FULL encoding and hence "Samples per Pixel" tag is 3 
633    #     (see "Photometric Interpretation" entry).
634    #   * contains a "Source Image Sequence" at tag 0008|2112
635    0008|0070 "ACUSON"                     # Manufacturer
636    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
637    0028|0101 "8"                          # Bits Stored
638    0028|0004 "YBR_FULL"                   # Photometric Interpretation
639    0028|0010 "288"                        # Rows
640    0028|0011 "384"                        # Columns
641    0028|0100 "8"                          # Bits Allocated
642    0028|0102 "7"                          # High Bit
643    0028|0103 "0"                          # Pixel Representation
644    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
645    0008|0060 "US"                         # Modality
646    0028|0002 "3"                          # Samples per Pixel
647    7fe0|0010 "gdcm::NotLoaded Address:2032 Length:80822 x(13bb6)"
648 ]
649
650 ############################################################
651 ### ACR NEMA version 1.0 (ONE!) format:
652 ############################################################
653 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
654    # - Particularities:
655    #   * old (circa 1991) ACR NEMA version 1.0 format.
656    #   * apparently broken pixel data (see below)
657    #   * "Pixel Representation" tag (0028|0103) is absent
658    #   * "Photometric Interpretation" tag is absent
659    #   * wierd padding of "Manufacturer's Model Name" tag
660    #   * Group 20 does NOT contain:
661    #      - "Study"
662    #      - "Serie Instance UID"
663    #     Within this group, the following entries are empty:
664    #      - "Study"
665    #      - "Series Number"
666    #
667    # - This image pixel data looks corrupted, in the sense that the
668    #   following sizes do NOT match (as expected):
669    #   * it's pixel data is 132096 bytes long
670    #   * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
671    #     of 256*256*2 = 131072 bytes.
672    # - Because of this missmatch, TestReadWriteReadCompare segfaults
673    #   on this image.
674    #   In details, when segfault occurs we have the following call stack:
675    #       gdcmFile::GetImageData()
676    #          PixelData = new uint8_t[ImageDataSize];
677    #          \--->::GetImageDataIntoVector(destination, ImageDataSize)
678    #           \---> ::ReadPixelData(destination)
679    #            \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
680    #   which causes the segfault because :
681    #       - destination is ImageDataSize i.e. 131072 bytes long
682    #       - Header->GetPixelAreaLength() = 132096 bytes long
683    0008|0070 "SIEMENS "                   # Manufacturer
684    0008|1090 "GBS III     "               # Manufacturer's Model Name
685    0028|0101 "12"                         # Bits Stored
686    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
687    0028|0010 "256"                        # Rows
688    0028|0011 "256"                        # Columns
689    0028|0100 "16"                         # Bits Allocated
690    0028|0102 "11"                         # High Bit
691    0028|0103 "0"                          # Pixel Representation
692    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
693    0008|0060 "MR"                         # Modality
694    7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
695 ]
696
697 ############################################################
698 ### ACR NEMA version 2.0 (TWO!) format:
699 ############################################################
700 [ gdcm-MR-SIEMENS-16-2.acr
701    # - Particularities:
702    #   * old (circa 2000) ACR NEMA version 2.0 format.
703    #   * wierd padding of "Series Number" tag
704    #  (ALL the -numerous- private fields are considered as 'BinEntries'
705    #        very few of them actually are :-(
706    #        groups 9, 11, 19, 21, 29, 51
707    # --> TODO : find a trick to guess (contains non printable characters ?)
708    0008|0070 "SIEMENS "                   # Manufacturer
709    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
710    0028|0101 "12"                         # Bits Stored
711    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
712    0028|0010 "512"                        # Rows
713    0028|0011 "512"                        # Columns
714    0028|0100 "16"                         # Bits Allocated
715    0028|0102 "11"                         # High Bit
716    0028|0103 "0"                          # Pixel Representation
717    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
718    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
719    0008|0060 "MR"                         # Modality
720    0020|0011 "     7"                     # Series Number
721    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
722 ]
723
724 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
725    # - Particularities:
726    #   * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
727    #     "Study Instance UID", "Study ID", "Series Number" and
728    #     "Serie Instance UID"
729    0008|0070 "SIEMENS "                   # Manufacturer
730    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
731    0028|0101 "12"                         # Bits Stored
732    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
733    0028|0010 "512"                        # Rows
734    0028|0011 "512"                        # Columns
735    0028|0100 "16"                         # Bits Allocated
736    0028|0102 "11"                         # High Bit
737    0028|0103 "0"                          # Pixel Representation
738    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
739    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
740    0008|0060 "MR"                         # Modality
741    0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
742    0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
743                                                               #     UID
744    0020|0011 "     7"                     # Series Number
745    0020|0010 "     1"                     # Study ID
746    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
747 ]
748
749 [ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
750    # - Particularities:
751    #   * ACR NEMA version 2.0 (circa 1994) format allthough the
752    #     "Recognition Code" is absent.
753    #   * all the groups are missing their "Group Length" tag i.e. no
754    #     tag of the form (*, 0x0000) present.
755    0008|0070 "Toshiba "                   # Manufacturer
756    0008|1090 "MRT150"                     # Manufacturer's Model Name
757    0028|0101 "16"                         # Bits Stored
758    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
759    0028|0010 "512"                        # Rows
760    0028|0011 "512"                        # Columns
761    0028|0100 "16"                         # Bits Allocated
762    0028|0102 "15"                         # High Bit
763    0028|0103 "0"                          # Pixel Representation
764    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
765    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
766    0008|0060 "MR"                         # Modality
767    0020|0011 "7 "                         # Series Number
768    0020|0010 "Run264.6653 "               # Study ID
769    7fe0|0010 "gdcm::NotLoaded Address:1130 Length:524288 x(80000)"
770 ]
771
772 [ FUJI-10-MONO1-ACR_NEMA_2.dcm
773    # - Particularities:
774    #   * ACR NEMA version 2.0 (circa 1995) format allthough the
775    #     "Recognition Code" is absent.
776    #   * large 1670x2010 image
777    0008|0070 "FUJI PHOTO FILM CO. LTD."   # Manufacturer
778    0008|1090 "CR201 "                     # Manufacturer's Model Name
779    0028|0101 "10"                         # Bits Stored
780    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
781    0028|0010 "2010"                       # Rows
782    0028|0011 "1670"                       # Columns
783    0028|0100 "16"                         # Bits Allocated
784    0028|0102 "9"                          # High Bit
785    0028|0103 "0"                          # Pixel Representation
786    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
787    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
788    0008|0060 "CR"                         # Modality
789    7fe0|0010 "gdcm::NotLoaded Address:862 Length:6713400 x(667038)"
790 ]
791
792 #############################################################################
793 ### Images with various oddities...
794 #############################################################################
795 [ gdcm-US-ALOKA-16.dcm
796    # - Particularities:
797    #   * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
798    #     Red and Blue. Note: segmented palette color not taken into account
799    #     by gdcm (FIXME).
800    #   * Both Red and Green componant of the Segmented palette color are
801    #     bigger than 256 * 256 = 65536. How can one interpret such 
802    #     a LUT ?
803    #   * announced as implicit VR, but really explicit VR !
804    #   * has a color palette (see Photometric Interpretation)
805    #   * neither e-film nor DicomWorks deals with the color segmented palette
806    #     color properly. Xmedcon breaks on this image.
807    #   * Note: on disk this image has a size of 873140 bytes. But 
808    #           one could expect that
809    #           Rows * Columns * #Palette * 16 bits/2 = 1843200 bytes
810    #           would be necessary. What is wrong ?
811    0008|0070 "ALOKA CO., LTD. "           # Manufacturer
812    0008|1090 "SSD-4000"                   # Manufacturer's Model Name
813    0028|0101 "16"                         # Bits Stored
814    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
815    0028|0010 "480"                        # Rows
816    0028|0011 "640"                        # Columns
817    0028|0100 "16"                         # Bits Allocated
818    0028|0102 "15"                         # High Bit
819    0028|0103 "0"                          # Pixel Representation
820    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
821    0008|0060 "US"                         # Modality
822    # The Segmented Palette Color Lookup Table Data:
823    # Red
824    0028|1221 "gdcm::NotLoaded Address:1750 Length:87818 x(1570a)"
825    # Green
826    0028|1222 "gdcm::NotLoaded Address:89576 Length:113784 x(1bc78)"
827    # Blue
828    0028|1223 "gdcm::NotLoaded Address:203368 Length:55364 x(d844)"
829    #
830    7fe0|0010 "gdcm::NotLoaded Address:258740 Length:614400 x(96000)"
831 ]
832
833 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
834    # - Particularities:
835    #   * dicom file, with a recognition code of ACR-NEMA1
836    #   * Highly nested sequence (6 sublevels) with an impressive size
837    #     of 28808 bytes at tag (0x0029, 0x263d)
838    #   * some sequences have 0 (zero) length
839    #   * possesses many sequences in group 0x0029
840    #   * Private BinEntry (DT) 21 1007
841    0008|0070 "Philips Medical Systems "   # Manufacturer
842    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
843    0028|0101 "12"                         # Bits Stored
844    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
845    0028|0010 "128"                        # Rows
846    0028|0011 "128"                        # Columns
847    0028|0100 "16"                         # Bits Allocated
848    0028|0102 "11"                         # High Bit
849    0028|0103 "0"                          # Pixel Representation
850    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
851    0008|0060 "MR"                         # Modality
852    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
853    7fe0|0010 "gdcm::NotLoaded Address:35846 Length:32768 x(8000)"
854 ]
855
856 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
857    # - Particularities:
858    #   * probably generated with dcmtk (DICOM Toolkit, refer to
859    #     http://dicom.offis.de/dcmtk.php.en)
860    #   * Misses the "Samples Per Pixel" element which prevents
861    #     e-film from reading it.
862    #   * Misses both the "Manufacturer" and the "Manufacturer's Model Name"
863    0008|0070 "gdcm::Unfound"              # Manufacturer
864    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
865    0028|0101 "8"                          # Bits Stored
866    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
867    0028|0010 "750"                        # Rows
868    0028|0011 "750"                        # Columns
869    0028|0100 "8"                          # Bits Allocated
870    0028|0102 "7"                          # High Bit
871    0028|0103 "0"                          # Pixel Representation
872    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
873    0008|0060 "CR"                         # Modality
874    0002|0013 "OFFIS_DCMTK_341 "           # Implementation Version Name
875    0028|0002 "gdcm::Unfound"              # Samples per Pixel
876    7fe0|0010 "gdcm::NotLoaded Address:740 Length:562500 x(89544)"
877 ]
878
879 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
880    # - Particularities:
881    #   * Non rectangular pixels (see "Pixel Spacing" tag)
882    #   * private tags are in explicit VR (which is normal BTW)
883    #   * has FD fields at tags 0029|218b, and 0029|218d
884    #   * many (roughly 20) sequences, among which:
885    #     - a couple ones with 0 (zero) length, e.g. at tags 0029|2008,
886    #       0029|201e, or 0029|204c/0#0029|28e0.
887    #     - nested sub-sequences.
888    #   * screen-flaher non printable characters in private elements (see
889    #     file ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm).
890    0008|0070 "Philips Medical Systems "   # Manufacturer
891    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
892    0028|0101 "12"                         # Bits Stored
893    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
894    0028|0010 "64"                         # Rows
895    0028|0011 "160"                        # Columns
896    0028|0100 "16"                         # Bits Allocated
897    0028|0102 "11"                         # High Bit
898    0028|0103 "0"                          # Pixel Representation
899    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
900    0008|0060 "MR"                         # Modality
901    0028|0030 " 0.487416\0.194966"         # Pixel Spacing
902    7fe0|0010 "gdcm::NotLoaded Address:5010 Length:20480 x(5000)"
903 ]
904
905 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
906    # - Particularities:
907    #   * contains a tag with value multiplicity bigger than 1: the
908    #     tag (0x0018, 0x1310) has "US" as value representation BUT
909    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
910    #   * contains a "Referenced Image Sequence" at tag 0008|1140
911    0008|0070 "SIEMENS "                   # Manufacturer
912    0008|1090 "Sonata"                     # Manufacturer's Model Name
913    0028|0101 "12"                         # Bits Stored
914    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
915    0028|0010 "208"                        # Rows
916    0028|0011 "256"                        # Columns
917    0028|0100 "16"                         # Bits Allocated
918    0028|0102 "11"                         # High Bit
919    0028|0103 "0"                          # Pixel Representation
920    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
921    0008|0060 "MR"                         # Modality
922    0018|1310 "256\0\0\166"                # Acquisition Matrix
923    7fe0|0010 "gdcm::NotLoaded Address:25686 Length:106496 x(1a000)"
924 ]
925
926 [ SIEMENS_MAGNETOM-12-MONO2-Uncompressed.dcm
927    # - Particularities:
928    #   * transited by a Siemens LEONARDO console, which produced a
929    #      buggy headered images
930    # JPR FIX: can you confirm that, and tell in which way the header is
931    #          got corrupted ?
932    0008|0070 "SIEMENS "                   # Manufacturer
933    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
934    0028|0101 "12"                         # Bits Stored
935    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
936    0028|0010 "512"                        # Rows
937    0028|0011 "512"                        # Columns
938    0028|0100 "16"                         # Bits Allocated
939    0028|0102 "11"                         # High Bit
940    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR,
941                                           #                  Little Endian
942    0008|0060 "MR"                         # Modality
943    7fe0|0010 "gdcm::NotLoaded Address:5160 Length:524288 x(80000)"
944 ]
945
946 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
947    # - Particularities:
948    #   * looks like a DICOM V3 image but it misses the proper file
949    #     file preamble (of 200 bytes).
950    0008|0070 "Picker International, Inc." # Manufacturer
951    0008|1090 "HF1006"                     # Manufacturer's Model Name
952    0028|0101 "16"                         # Bits Stored
953    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
954    0028|0010 "512"                        # Rows
955    0028|0011 "512"                        # Columns
956    0028|0100 "16"                         # Bits Allocated
957    0028|0102 "15"                         # High Bit
958    0028|0103 "1"                          # Pixel Representation
959    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
960    0008|0060 "MR"                         # Modality
961    7fe0|0010 "gdcm::NotLoaded Address:1406 Length:524288 x(80000)"
962 ]
963
964 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
965    # - Particularities:
966    #   * Contains a "Referenced Image Sequence" at tag 0008|1140.
967    0008|0070 "Philips Medical Systems "   # Manufacturer
968    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
969    0028|0101 "8"                          # Bits Stored
970    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
971    0028|0010 "256"                        # Rows
972    0028|0011 "256"                        # Columns
973    0028|0100 "16"                         # Bits Allocated
974    0028|0102 "7"                          # High Bit
975    0028|0103 "0"                          # Pixel Representation
976    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
977    0008|0060 "MR"                         # Modality
978    7fe0|0010 "gdcm::NotLoaded Address:6584 Length:131072 x(20000)"
979 ]
980
981 [ PICKER-16-MONO2-Nested_icon.dcm
982    # - Particularities:
983    #   * contains TWO images:
984    #     - the original image 512x512 at tag 7fe0|0010,
985    #     - an 8x8 icon hidden in a "Icon Image Sequence" (at tag 0088|0200)
986    #       within Item number 0, and within the usual tag 7fe0|0010
987    #       (the full tag of this icon is hence 0088|0200/0#7fe0|0010)
988    #     This implies this image contains two 7fe0|0010 (among which one is
989    #     burried in a sequence), two "Rows" entries, two "Columns" entries...
990    #     This makes it impossible to use the name of tag (e.g. Rows) as
991    #     as a key of dictionaries build on top of such an image....
992    #   * contains a "Source Image Sequence" with 0xffff length at 0008|2112
993    #     with 130 useless (dummy) items,
994    #   * sequence at 0088|0200, with length 0xffff, is terminated with both:
995    #     - an "Item Delimitation Item" (i.e. a tag fffe|e00d)
996    #     - a "Sequence Delimitation Item" (i.e. a tag fffe|e0dd).
997    0008|0070 "PICKER"                     # Manufacturer
998    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
999    0028|0101 "12"                         # Bits Stored
1000    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1001    0028|0010 "512"                        # Rows
1002    0028|0011 "512"                        # Columns
1003    0028|0100 "16"                         # Bits Allocated
1004    0028|0102 "11"                         # High Bit
1005    0028|0103 "0"                          # Pixel Representation
1006    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
1007    0008|0060 "CT"                         # Modality
1008    7fe0|0010 "gdcm::NotLoaded Address:18228 Length:524288 x(80000)"
1009 ]
1010
1011 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
1012    # - Particularities:
1013    #   * within the "Modality LUT Sequence" at tag 0028|3000 we encounter
1014    #     an "Item Delimitation" fffe|e00d followed by a
1015    #     "Sequence Delimitation Item" fffe|e0dd just after the tag 0028|3006
1016    #   * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
1017    #     (0x0008, 0x0010) is present].
1018    0008|0070 "Kodak "                     # Manufacturer
1019    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
1020    0028|0101 "12"                         # Bits Stored
1021    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
1022    0028|0010 "2392"                       # Rows
1023    0028|0011 "1792"                       # Columns
1024    0028|0100 "16"                         # Bits Allocated
1025    0028|0102 "11"                         # High Bit
1026    0028|0103 "0"                          # Pixel Representation
1027    0002|0010 "gdcm::Unfound"              # Transfer Syntax: Implicit VR, LE
1028    0008|0060 "CR"                         # Modality
1029    7fe0|0010 "gdcm::NotLoaded Address:9134 Length:8572928 x(82d000)"
1030 ]
1031
1032 [ SIEMENS_SOMATOM-12-ACR_NEMA-ZeroLengthUs.acr
1033    # - Particularities:
1034    #   * Has a 'Zero length' integer field at tag 0020|5000 with VR "US"
1035    #        [US][Original Image Identification (RET)]
1036    #   * Has a lot of private fields, with no VR, see groups 9, 11, 19, 21,
1037    #     29, 31
1038    0008|0070 "SIEMENS "                   # Manufacturer
1039    0008|1090 "SOMATOM PLUS 4            " # Manufacturer's Model Name
1040    0028|0101 "12"                         # Bits Stored
1041    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1042    0028|0010 "512"                        # Rows
1043    0028|0011 "512"                        # Columns
1044    0028|0100 "16"                         # Bits Allocated
1045    0028|0102 "11"                         # High Bit
1046    0028|0103 "0"                          # Pixel Representation
1047    0008|0060 "CT"                         # Modality
1048    0009|0010 "gdcm::Binary data loaded"   # Unknown
1049    7fe0|0010 "gdcm::NotLoaded Address:5064 Length:524288 x(80000)"
1050 ]
1051
1052 [ ACUSON-8-YBR_FULL-JPEG-TrailingInfo.dcm
1053    # - Particularities:
1054    #   * has some trailing (after the pixel data) info with tag fffc|fffc,
1055    #     VR of "OB", length = 1722 = 0x6ba
1056    #   * contains a "Sequence of Ultrasound Regions" at tag 0018|6011
1057    0008|0070 "ACUSON"                     # Manufacturer
1058    0028|0101 "8"                          # Bits Stored
1059    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
1060    0028|0010 "576"                        # Rows
1061    0028|0011 "768"                        # Columns
1062    0028|0100 "8"                          # Bits Allocated
1063    0028|0102 "7"                          # High Bit
1064    0028|0103 "0"                          # Pixel Representation
1065    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg baseline
1066                                           #                  process (1)
1067    0008|0060 "US"                         # Modality
1068    7fe0|0010 "gdcm::NotLoaded Address:2288 Length:1513128 x(1716a8)"
1069    fffc|fffc "gdcm::Binary data loaded"    # Trailing info !
1070 ]
1071
1072 [ GE_GENESIS-16-MONO2-WrongLengthItem.dcm
1073    # - Particularities:
1074    #   * Sample of well known GE buggy header: wrong length for some items
1075    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
1076    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
1077    0028|0101 "16"                         # Bits Stored
1078    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1079    0028|0010 "256"                        # Rows
1080    0028|0011 "256"                        # Columns
1081    0028|0100 "16"                         # Bits Allocated
1082    0028|0102 "15"                         # High Bit
1083    0028|0103 "1"                          # Pixel Representation
1084    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
1085    0008|0060 "MR"                         # Modality
1086    7fe0|0010 "gdcm::NotLoaded Address:1930 Length:131072 x(20000)"
1087 ]
1088
1089 [ MARCONI_MxTWin-12-MONO2-JpegLossless-ZeroLengthSQ.dcm
1090    # - Particularities:
1091    #   * jpeg compression (Process 14 [Selection Value 1])
1092    #   * "Icon Image Sequence" at tag 0088|0200 has 0 (zero) length
1093    0008|0070 "Marconi "                   # Manufacturer
1094    0008|1090 "MxTwin"                     # Manufacturer's Model Name
1095    0028|0101 "12"                         # Bits Stored
1096    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1097    0028|0010 "512"                        # Rows
1098    0028|0011 "512"                        # Columns
1099    0028|0100 "16"                         # Bits Allocated
1100    0028|0102 "11"                         # High Bit
1101    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1102                                           # ... Process 14 [Selection Value 1]
1103    0008|0060 "CT"                         # Modality
1104    7fe0|0010 "gdcm::NotLoaded Address:1916 Length:116517 x(1c725)"
1105 ]
1106
1107 [ THERALYS-12-MONO2-Uncompressed-Even_Length_Tag.dcm
1108    # - Particularities:
1109    #   * both tag 0008|0070 ("Manufacturer") and tag 0008|0080
1110    #     "Institution Name" have an even length of 13 bytes.
1111    #   * contains a "Referenced Image Sequence" of 0 (zero) length at
1112    #     tag 0008|1140
1113    0008|0070 "Theralys S.A."              # Manufacturer
1114    0008|1090 "vtkToDicomWriter"           # Manufacturer's Model Name
1115    0028|0101 "12"                         # Bits Stored
1116    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1117    0028|0010 "256"                        # Rows
1118    0028|0011 "256"                        # Columns
1119    0028|0100 "16"                         # Bits Allocated
1120    0028|0102 "11"                         # High Bit
1121    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR,
1122                                           #                  Little Endian
1123    0008|0060 "MR"                         # Modality
1124    7fe0|0010 "gdcm::NotLoaded Address:1839 Length:131072 x(20000)"
1125 ]
1126
1127 [ THERALYS-12-MONO2-Uncompressed-E_Film_Template.dcm
1128    # - Particularities:
1129    #   * empty image usable as a template to produce efilm readable images
1130    #     with the strictly minimum tag set.
1131    #   * Given by Theralys
1132    0028|0101 "12"                         # Bits Stored
1133    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1134    0028|0010 "256"                        # Rows
1135    0028|0011 "256"                        # Columns
1136    0028|0100 "16"                         # Bits Allocated
1137    0028|0102 "11"                         # High Bit
1138    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR,
1139                                           #                  Little Endian
1140    7fe0|0010 "gdcm::NotLoaded Address:1250 Length:131072 x(20000)"
1141 ]
1142
1143 [ GE_GENESIS-16-MONO2-Uncompressed-UnusualVR.dcm
1144    # - Particularities:
1145    #   * Many private entries have (perfectly "legal") unusual Value
1146    #     Representation (that gdcm interprets a gdcmBinEntries).
1147    #     - VR = FL : 0019|105a, 0027|1041...0027|1049, 0027|104a...0027|104d,
1148    #                 0027|1060 ... 0027|1062, 0043|1033, 0043|1038
1149    #     - VR = DT : 0019|109d
1150    #     - VR = FD : 0023|1070
1151    #     - VR = OB : 0043|1028, 0043|1029, 0043|102a
1152    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
1153    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
1154    0028|0101 "16"                         # Bits Stored
1155    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1156    0028|0010 "256"                        # Rows
1157    0028|0011 "256"                        # Columns
1158    0028|0100 "16"                         # Bits Allocated
1159    0028|0102 "15"                         # High Bit
1160    0028|0103 "1"                          # Pixel Representation
1161    0002|0010 "1.2.840.10008.1.2.1 "       # Transfer Syntax: Explicit VR, LE
1162    0008|0060 "MR"                         # Modality
1163    7fe0|0010 "gdcm::NotLoaded Address:9666 Length:131072 x(20000)"
1164 ]
1165
1166 ############################################################
1167 ### Sequence related images.
1168 ############################################################
1169 [ SIEMENS_Sonata-12-MONO2-SQ.dcm
1170    # - Particularities:
1171    #   * contains a "Referenced Performed Procedure Step Sequence" at
1172    #     tag 0008|1111,
1173    #   * contains a "Referenced Image Sequence" at tag 0008|1140
1174    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
1175    0008|0070 "SIEMENS "                   # Manufacturer
1176    0008|1090 "Sonata"                     # Manufacturer's Model Name
1177    0028|0101 "12"                         # Bits Stored
1178    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1179    0028|0010 "192"                        # Rows
1180    0028|0011 "192"                        # Columns
1181    0028|0100 "16"                         # Bits Allocated
1182    0028|0102 "11"                         # High Bit
1183    0028|0103 "0"                          # Pixel Representation
1184    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
1185    0008|0060 "MR"                         # Modality
1186    7fe0|0010 "gdcm::NotLoaded Address:51804 Length:73728 x(12000)"
1187 ]
1188
1189 [ ALOKA_SSD-8-MONO2-RLE-SQ.dcm
1190    # - Particularities:
1191    #   * contains a "Sequence of Ultrasound Regions " at tag 0018|6011
1192    0008|0070 "ALOKA CO., LTD. "           # Manufacturer
1193    0008|1090 "SSD-5000"                   # Manufacturer's Model Name
1194    0028|0101 "8"                          # Bits Stored
1195    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1196    0028|0010 "420"                        # Rows
1197    0028|0011 "608"                        # Columns
1198    0028|0100 "8"                          # Bits Allocated
1199    0028|0102 "7"                          # High Bit
1200    0002|0010 "1.2.840.10008.1.2.5"        # RLE Lossless
1201    0008|0060 "US"                         # Modality
1202    7fe0|0010 "gdcm::NotLoaded Address:1398 Length:128088 x(1f458)"
1203 ]
1204
1205 ############################################################
1206 ### Jpeg compressed images.
1207 ############################################################
1208 [ gdcm-JPEG-Extended.dcm
1209    # - Particularities:
1210    #   * contains a "Referenced Image Sequence" of length 0xffff at
1211    #     tag 0008|1140,
1212    #   * contains a "Source Image Sequence" of length 0xffff at
1213    #     tag 0008|2112,
1214    #   * jpeg compression [Extended Process (2,4)]
1215    #   * probably contains additional data after the pixels (see comments
1216    #     of the gdcm-JPEG-LossLess3a.dcm entry)
1217    #   * contains OB private fields at tags 0019|10b0, 0021|1011, 0029|1008,
1218    #     0029|1009, 0029|1010, 0029|1131, 0029|1134.
1219    0008|0070 "SIEMENS "                   # Manufacturer
1220    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1221    0028|0101 "12"                         # Bits Stored
1222    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1223    0028|0010 "512"                        # Rows
1224    0028|0011 "512"                        # Columns
1225    0028|0100 "16"                         # Bits Allocated
1226    0028|0102 "11"                         # High Bit
1227    0028|0103 "0"                          # Pixel Representation
1228    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1229                                           #                  process (2,4)
1230    0008|0060 "CT"                         # Modality
1231    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
1232 ]
1233
1234 [ gdcm-JPEG-Extended-Allready_present.dcm
1235    # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
1236    #            terms of features (actually I suspect gdcm-JPEG-Extended.dcm
1237    #            is the anonymized version of this one)...
1238    # - Particularities:
1239    #   * jpeg compression [Extended Process (2,4)]
1240    #   * private BinEntry (OB) in 19 10b0, 21 1011, 29 1008, 29 1009, 29 1010,
1241    #                              29 1131, 29 1134
1242    0008|0070 "SIEMENS "                   # Manufacturer
1243    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1244    0028|0101 "12"                         # Bits Stored
1245    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1246    0028|0010 "512"                        # Rows
1247    0028|0011 "512"                        # Columns
1248    0028|0100 "16"                         # Bits Allocated
1249    0028|0102 "11"                         # High Bit
1250    0028|0103 "0"                          # Pixel Representation
1251    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1252                                           #                  process (2,4)
1253    0008|0060 "CT"                         # Modality
1254    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
1255 ]
1256
1257 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
1258    # - Particularities:
1259    #   * jpeg compression [Extended Process (2,4)]
1260    0008|0070 "SIEMENS "                   # Manufacturer
1261    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1262    0028|0101 "12"                         # Bits Stored
1263    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1264    0028|0010 "512"                        # Rows
1265    0028|0011 "512"                        # Columns
1266    0028|0100 "16"                         # Bits Allocated
1267    0028|0102 "11"                         # High Bit
1268    0028|0103 "0"                          # Pixel Representation
1269    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1270                                           #                  process (2,4)
1271    0008|0060 "CT"                         # Modality
1272    7fe0|0010 "gdcm::NotLoaded Address:3044 Length:66978 x(105a2)"
1273 ]
1274
1275 [ gdcm-JPEG-LossLess3a.dcm
1276    # - Particularities:
1277    #   * jpeg compression [Lossless, hierar., first-order prediction 
1278    #     (Process 14, Selection Value 1) ]
1279    #   * contains additional data after the pixels (see below)
1280    #   * contains a "Source Image Sequence" tag at 0008|2112
1281    0008|0070 "SIEMENS "                   # Manufacturer
1282    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1283    0028|0101 "12"                         # Bits Stored
1284    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1285    0028|0010 "512"                        # Rows
1286    0028|0011 "512"                        # Columns
1287    0028|0100 "16"                         # Bits Allocated
1288    0028|0102 "11"                         # High Bit
1289    0028|0103 "0"                          # Pixel Representation
1290    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1291                                           # ... Process 14 [Selection Value 1]
1292    0008|0060 "CT"                         # Modality
1293    # It looks like the pixel data are corrupted:
1294    # As stated by "od -A d -c"
1295    #   0002528     Ã  177 020 \0  O  B \0 \0   Ã¿  Ã¿   Ã¿   Ã¿ Ã¾  Ã¿ \0  Ã 
1296    #   0002544    \0  \0  \0 \0  Ã¾  Ã¿ \0  Ã  202  ? 003  \0  Ã¿  Ã˜  Ã¿  Ãƒ
1297    # which we interpret as follows:
1298    #   - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1299    #   - 2532: OB i.e. encapsulated encoded Pixel Data,
1300    #   - 2534: Two bytes reserved,
1301    #   - 2536: Ã¿ Ã¿ Ã¿ Ã¿ = 0xffffffff i.e. data element length is undefined.
1302    #   - 2540: (þ Ã¿, \0 Ã ) = (0xfffe, 0xe000) i.e. basic offset table
1303    #           item tag
1304    #   - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1305    #           item value for offset table.
1306    #   - 2548: (þ Ã¿, \0 Ã ) = (0xfffe, 0xe000) i.e. item tag of first
1307    #           fragment of (encoded) pixel data.
1308    #   - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1309    #           of (encoded) pixel data.
1310    # and so the next item tag should be found at the 2556+212866 th
1311    # octet i.e. at address 215422. But, as stated by od, we find:
1312    #   0215408   E   u Ã– 026   ÃŽ   Ã‰ 7 Â¬ Ãƒ Â¸ Ã³ Â¿ Ã¿ Ã™ \f Â°
1313    #   0215424   Â¶ 016 P   Ã‘ 002 016
1314    # and (\f Â°, Â¶ 016) is NOT an OB item TAG which is required to be
1315    # present (at least there should be a sequence delimiter), refer to
1316    # PS 3.5-2001 page 50.
1317    #
1318    # As stated by JPR in hexa:
1319    # at 9ec : ItemTag : fffe,e000
1320    # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1321    # at 9f4 : ItemTag : fffe,e000
1322    #         at 9f8 : fragment length 212866 x(00033f82)
1323    # at 3497e : ItemTag  b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1324    7fe0|0010 "gdcm::NotLoaded Address:2540 Length:212890 x(33f9a)"
1325 ]
1326
1327 [ gdcm-JPEG-LossLessThoravision.dcm
1328    # - Particularities:
1329    #   * jpeg compression [Lossless, hierar., first-order prediction
1330    #     (Process 14, Selection Value 1) ]
1331    #   * encoding is sligthly different from the one of entry
1332    #     gdcm-JPEG-LossLess3a.dcm (to check).
1333    #   * Large picture: 2076 by 1876 (I wonder what screens they have...)
1334    #     -> Just underscale it !
1335    #   Breaks all the DICOM viewers
1336    0008|0070 "Philips Medical Systems "   # Manufacturer
1337    0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1338    0028|0101 "15"                         # Bits Stored
1339    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1340    0028|0010 "2076"                       # Rows
1341    0028|0011 "1876"                       # Columns
1342    0028|0100 "16"                         # Bits Allocated
1343    0028|0102 "14"                         # High Bit
1344    0028|0103 "0"                          # Pixel Representation
1345    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1346                                           # ... Process 14 [Selection Value 1]
1347    0008|0060 "CR"                         # Modality
1348    7fe0|0010 "gdcm::NotLoaded Address:3144 Length:4795668 x(492d14)"
1349 ]
1350
1351 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1352    # - Particularities:
1353    #   * jpeg compression [Extended Process (2,4)]
1354    #   * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1355    #     announces it as "ACR-NEMA 1.0" !
1356    0008|0070 "Philips Medical Systems "   # Manufacturer
1357    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1358    0028|0101 "12"                         # Bits Stored
1359    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1360    0028|0010 "512"                        # Rows
1361    0028|0011 "512"                        # Columns
1362    0028|0100 "16"                         # Bits Allocated
1363    0028|0102 "11"                         # High Bit
1364    0028|0103 "0"                          # Pixel Representation
1365    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1366                                           #                  process (2,4)
1367    0008|0060 "MR"                         # Modality
1368    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1369    7fe0|0010 "gdcm::NotLoaded Address:5956 Length:46602 x(b60a)"
1370 ]
1371
1372 [ PHILIPS_Gyroscan-12-MONO2-Jpeg_Lossless.dcm
1373    # - Particularities:
1374    #   * jpeg lossless, Non-Hierarchical, First-Order Prediction,
1375    #     compression [Process 14 (Selection Value 1)]
1376    #   * many (roughly 8) sequences, among which:
1377    #     - one with 0 (zero) length at tag 0029|204c/0#0029|28e0
1378    #     - many with length 0xffff
1379    0008|0070 "Philips Medical Systems "   # Manufacturer
1380    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1381    0028|0101 "12"                         # Bits Stored
1382    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1383    0028|0010 "256"                        # Rows
1384    0028|0011 "256"                        # Columns
1385    0028|0100 "16"                         # Bits Allocated
1386    0028|0102 "11"                         # High Bit
1387    0028|0103 "0"                          # Pixel Representation
1388    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1389                                           # ... Process 14 [Selection Value 1]
1390    0008|0060 "MR"                         # Modality
1391    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1392    # 7fe0|0010 Not present.
1393 ]
1394
1395 ###########################################################################
1396 # All the following files come from the LeadTools site (see
1397 #      http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm )
1398 # and (probably) serves as an illustration of many Dicom encoding/compression
1399 # modes. Those "hand made"  files were not produced by any acquisition engine
1400 # and hence are not from "real" life, but maybe one day some machine will
1401 # implement it. Some images, allthough using a perfectly "legal" Dicom format,
1402 # seem to be unique in their own encoding/compression category. Worth the
1403 # trial in a test suite!
1404 # All the following files share the same size (535x800), the same pixel
1405 # representation ("0") ;
1406 #  0028|0010 "535"                        # Rows
1407 #  0028|0011 "800"                        # Columns
1408 #  0028|0103 "0"                          # Pixel Representation
1409 # and hold the same picture: some flowers...
1410
1411 [ LEADTOOLS_FLOWERS-8-MONO2-JpegLossy.dcm
1412    # - Particularities:
1413    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1414    0028|0101 "8"                          # Bits Stored
1415    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1416    0028|0100 "8"                          # Bits Allocated
1417    0028|0102 "7"                          # High Bit
1418    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1419                                           # ... Process 1 
1420    # No "7fe0|0010"
1421 ]
1422
1423 [ LEADTOOLS_FLOWERS-8-PAL-RLE.dcm
1424    # - Particularities:
1425    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1426    0028|0101 "8"                          # Bits Stored
1427    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
1428    0028|0100 "8"                          # Bits Allocated
1429    0028|0102 "7"                          # High Bit
1430    0028|0006 "2"                          # Planar Configuration
1431    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1432    # No "7fe0|0010"
1433 ]
1434
1435 [ LEADTOOLS_FLOWERS-8-MONO2-RLE.dcm
1436    # - Particularities:
1437    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1438    0028|0101 "8"                          # Bits Stored
1439    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1440    0028|0100 "8"                          # Bits Allocated
1441    0028|0102 "7"                          # High Bit
1442    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1443    # No "7fe0|0010"
1444 ]
1445
1446 [ LEADTOOLS_FLOWERS-8-PAL-Uncompressed.dcm
1447    # - Particularities:
1448    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1449    0028|0101 "8"                          # Bits Stored
1450    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
1451    0028|0100 "8"                          # Bits Allocated
1452    0028|0102 "7"                          # High Bit
1453    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR -
1454                                           #                 Little Endian
1455    7fe0|0010 "gdcm::NotLoaded Address:3538 Length:428000 x(687e0)"
1456 ]
1457
1458 [ LEADTOOLS_FLOWERS-8-MONO2-Uncompressed.dcm
1459    # - Particularities:
1460    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1461    0028|0101 "8"                          # Bits Stored
1462    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1463    0028|0100 "8"                          # Bits Allocated
1464    0028|0102 "7"                          # High Bit
1465    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR -
1466                                           #                 Little Endian
1467    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:428000 x(687e0)"
1468 ]
1469
1470 [ LEADTOOLS_FLOWERS-16-MONO2-JpegLossless.dcm
1471    # - Particularities:
1472    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1473    0028|0101 "16"                         # Bits Stored
1474    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1475    0028|0100 "16"                         # Bits Allocated
1476    0028|0102 "15"                         # High Bit
1477    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1478                                           # ... Process 14 [Selection Value 1]
1479    # No "7fe0|0010"
1480 ]
1481
1482 [ LEADTOOLS_FLOWERS-16-MONO2-RLE.dcm
1483    # - Particularities:
1484    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1485    0028|0101 "16"                         # Bits Stored
1486    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1487    0028|0100 "16"                         # Bits Allocated
1488    0028|0102 "15"                         # High Bit
1489    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1490    # No "7fe0|0010"
1491 ]
1492
1493 [ LEADTOOLS_FLOWERS-16-MONO2-Uncompressed.dcm
1494    # - Particularities:
1495    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1496    0028|0101 "16"                         # Bits Stored
1497    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1498    0028|0100 "16"                         # Bits Allocated
1499    0028|0102 "15"                         # High Bit
1500    0002|0010 "1.2.840.10008.1.2.1"        # Explicit VR - Little Endian
1501    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:856000 x(d0fc0)"
1502 ]
1503
1504 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossless.dcm
1505    # - Particularities:
1506    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1507    0028|0101 "8"                          # Bits Stored
1508    0028|0004 "RGB "                       # Photometric Interpretation
1509    0028|0100 "8"                          # Bits Allocated
1510    0028|0102 "7"                          # High Bit
1511    0028|0002 "3"                          # Samples per Pixel
1512    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1513                                           # ... Process 14 [Selection Value 1]
1514    # No "7fe0|0010"
1515 ]
1516
1517 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossy.dcm
1518    # - Particularities:
1519    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1520    0028|0101 "8"                          # Bits Stored
1521    0028|0004 "RGB "                       # Photometric Interpretation
1522    0028|0100 "8"                          # Bits Allocated
1523    0028|0102 "7"                          # High Bit
1524    0028|0002 "3"                          # Samples per Pixel
1525    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1526                                           # ... Process 1 
1527    # No "7fe0|0010"
1528 ]
1529
1530 [ LEADTOOLS_FLOWERS-24-RGB-Uncompressed.dcm
1531    # - Particularities:
1532    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1533    0028|0101 "8"                          # Bits Stored
1534    0028|0004 "RGB "                       # Photometric Interpretation
1535    0028|0100 "8"                          # Bits Allocated
1536    0028|0102 "7"                          # High Bit
1537    0028|0002 "3"                          # Samples per Pixel
1538    0002|0010 "1.2.840.10008.1.2.1"        # Explicit VR - Little Endian
1539    7fe0|0010 "gdcm::NotLoaded Address:1934 Length:1284000 x(1397a0)"
1540 ]
1541
1542 ###########################################################################
1543 ### LIBIDO format images
1544 ### The libido format is an "extension" of the old ACRNEMA version 1.1
1545 ### format. It was "designed" to embed images of float or double type
1546 ### (in the sense of the C language) within the ACRNEMA format.
1547 ### LIBIDO images are typically used as a temporary container for
1548 ### observing the internal stages of a computation image pipeline
1549 ### (i.e. some kind of file watch point), with a shallow compatibility 
1550 ### with the ACRNEMA format. By shallow compatibility we mean that
1551 ### a classical DICOM viewer has no knowledge of the LIBIDO format 
1552 ### and hence cannot display it (how to display a "double" image anyhow).
1553 ###    Very few tags are available (e.g. no "Manufacturer" related
1554 ### info, no medical information).
1555 ### LIBIDO images can be recognized by their "Recognition Code"
1556 ###########################################################################
1557 [ LIBIDO-16-ACR_NEMA-Volume.dcm
1558    # - Particularities:
1559    #   * this file represents a "volume" i.e. it has a "Number of Planes",
1560    #     (but no "Number of Frames")
1561    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1562    0028|0005 "3"                          # Image Dimensions (RET)
1563    0028|0010 "50"                         # Rows
1564    0028|0011 "50"                         # Columns
1565    0028|0012 "262"                        # Planes
1566    0028|0101 "16"                         # Bits Stored
1567    0028|0100 "16"                         # Bits Allocated
1568    0028|0102 "15"                         # High Bit
1569    0028|0103 "0"                          # Pixel Representation
1570    7fe0|0010 "gdcm::NotLoaded Address:210 Length:1310000 x(13fd30)"
1571 ]
1572
1573 [ LIBIDO-24-ACR_NEMA-Rectangle.dcm
1574    # FIXME TODO \todo
1575    # The Rows and Columns presence breaks this test !!! 
1576    #
1577    # - Particularities:
1578    #   * RGB encoding (24 bits).
1579    #   * Rectangle image : 100x400
1580    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1581    0028|0005 "2"                          # Image Dimensions (RET)
1582    #0028|0010 "100"                       # Rows
1583    #0028|0011 "400"                       # Columns
1584    0028|0101 "24"                         # Bits Stored
1585    0028|0100 "24"                         # Bits Allocated
1586    0028|0102 "23"                         # High Bit
1587    0028|0103 "0"                          # Pixel Representation
1588    7fe0|0010 "gdcm::NotLoaded Address:182 Length:120000 x(1d4c0)"
1589 ]
1590
1591 [ LIBIDO-8-ACR_NEMA-Lena_128_128.acr
1592    # FIXME TODO \todo
1593    # The Rows and Columns presence breaks this test !!! 
1594    #
1595    # - Particularities:
1596    #   * the classical lena image (with size 128x128), recoded as LIBIDO image
1597    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1598    0028|0005 "2"                          # Image Dimensions (RET)
1599    #0028|0010 "128"                       # Rows
1600    #0028|0011 "128"                       # Columns
1601    0028|0101 "8"                          # Bits Stored
1602    0028|0100 "8"                          # Bits Allocated
1603    0028|0102 "7"                          # High Bit
1604    0028|0103 "0"                          # Pixel Representation
1605    7fe0|0010 "gdcm::NotLoaded Address:182 Length:16384 x(4000)"
1606 ]
1607
1608 ###########################################################################
1609 ### A Philips Intera (NTSCAN) image. It has a private dicom sequence where the 
1610 ### field is being flip to BigEndian for no reason.
1611 ### Thanks to Peter Cech for providing images and patch !
1612 ###########################################################################
1613 [ PHILIPS_Intera-16-MONO2-Uncompress.dcm
1614    # - Particularities:
1615    #   Sequence difficult to read since we need to flip reading to BigEndian
1616    #   Only during the reading of the private sequence.
1617    0008|0070 "Philips Medical Systems "   # Manufacturer
1618    0008|1090 "Intera"                     # Manufacturer's Model Name
1619    0008|1010 "NTSCAN"                     # Station Name
1620    0028|0010 "1024"                       # Rows
1621    0028|0011 "1024"                       # Columns
1622    0028|2110 "00"                         # Lossy Image Compression
1623    0018|1250 "SENSE-head"                 # Receive Coil Name
1624    # 0029|2021/0#0029|246a "DICOM "       # not accessible for the current
1625                                           # state of the API since this tag
1626                                           # lives within a sequence 
1627    2005|e027 "MAXIMUM "                   # unkn
1628    7fe0|0010 "gdcm::NotLoaded Address:9276 Length:2097152 x(200000)"
1629 ]
1630
1631 ###########################################################################
1632 ### A GE LOGIQBook 8Bits RGB with huge preview and a small preview
1633 ###########################################################################
1634 [ GE_LOGIQBook-8-RGB-HugePreview.dcm
1635    # - Particularities:
1636    #   A Huge Preview and a small preview
1637    0008|0070 "GE Medical Systems"             # Manufacturer
1638    0008|1090 "LOGIQBook "                     # Manufacturer's Model Name
1639    0008|1010 "LOGIQBOOK "                     # Station Name
1640    0028|0010 "480"                            # Rows
1641    0028|0011 "640"                            # Columns
1642    6003|0010 "GEMS_Ultrasound_ImageGroup_001" # unkn
1643    7fe0|0010 "gdcm::NotLoaded Address:935608 Length:921600 x(e1000)"
1644    # Just for fun:
1645    #7fe1|0010 "GEMS_Ultrasound_MovieGroup_001" # unkn
1646 ]
1647
1648 ###########################################################################
1649 ### A GE DLX image with a private transfer syntax: 1.2.840.113619.5.2
1650 ### This is Implicit VR Big Endian (GE Private). Basically the header
1651 ### is in little endian, while image is in big endian
1652 ###########################################################################
1653 [ GE_DLX-8-MONO2-PrivateSyntax.dcm
1654    # - Particularities:
1655    # Private syntax: Implicit VR Big Endian (GE Private)
1656    0002|0010 "1.2.840.113619.5.2"             # Transfer Syntax UID
1657    0008|0070 "GE MEDICAL SYSTEMS"             # Manufacturer
1658    0008|1090 "DLX "                           # Manufacturer's Model Name
1659    0018|1510 "-8"                             # Positioner Primary Angle
1660    0018|1700 "CIRCULAR"                       # Collimator Shape
1661    0018|1710 "256\256 "                       # Center of Circular Collimator
1662    0028|0010 "512"                            # Rows
1663    0028|0011 "512"                            # Columns
1664    #0028|6100 ""                               # Mask Subtraction Sequence
1665    # Testing Public Sequence:
1666    #0028|6101 "AVG_SUB "                       # Mask Operation
1667    7fe0|0010 "gdcm::NotLoaded Address:2920 Length:14155776 x(d80000)"
1668 ]
1669
1670 ###########################################################################
1671 ### Documented images not yet integrated in the test suite
1672 ###########################################################################
1673 #
1674 #
1675 #
1676
1677 ###########################################################################
1678 ### Images present in gdcmData but whose peculiarity is not documented yet
1679 ###########################################################################
1680 # 00191113.dcm #Jpeg Lossless 4 frames X-Ray Angiography
1681 #
1682 # 012345.002.050.dcm # a lot of FL and FD entries in sahdow group 0027
1683 #
1684 # 3E768EB7.dcm # jpeg lossless, empty Basic Offset Table Item Length =4
1685 #
1686 # DermaColorLossLess.dcm  # native RBG image
1687 #
1688 # DICOMDIR #small DICOMDIR (4 patients, 1561 first-level SQItems, 
1689 #                           embedded second level sequences at 0008|1140)
1690 #
1691 # RadBWLossLess.dcm # jpeg lossless, empty Basic Offset Table Item Length= 0
1692 #
1693 # test.acr #ACR-LibIDO formated image. Was used as a test image by testSuite
1694 #