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