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