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