]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
ENH: Hum strange 0029|246a appear to gdcm::Unfound in the test...
[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 Lossless,
197                                           # ... Process 14 [Selection Value 1]
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 Lossless,
490                                           # ... Process 14 [Selection Value 1]
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" tag (0028|0103) is absent
654    #   * "Photometric Interpretation" tag is absent
655    #   * wierd padding of "Manufacturer's Model Name" tag
656    #   * Group 20 does NOT contain:
657    #      - "Study"
658    #      - "Serie Instance UID"
659    #     Within this group, the following entries are empty:
660    #      - "Study"
661    #      - "Series Number"
662    #
663    # - This image pixel data looks corrupted, in the sense that the
664    #   following sizes do NOT match (as expected):
665    #   * it's pixel data is 132096 bytes long
666    #   * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
667    #     of 256*256*2 = 131072 bytes.
668    # - Because of this missmatch, TestReadWriteReadCompare segfaults
669    #   on this image.
670    #   In details, when segfault occurs we have the following call stack:
671    #       gdcmFile::GetImageData()
672    #          PixelData = new uint8_t[ImageDataSize];
673    #          \--->::GetImageDataIntoVector(destination, ImageDataSize)
674    #           \---> ::ReadPixelData(destination)
675    #            \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
676    #   which causes the segfault because :
677    #       - destination is ImageDataSize i.e. 131072 bytes long
678    #       - Header->GetPixelAreaLength() = 132096 bytes long
679    0008|0070 "SIEMENS "                   # Manufacturer
680    0008|1090 "GBS III     "               # Manufacturer's Model Name
681    0028|0101 "12"                         # Bits Stored
682    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
683    0028|0010 "256"                        # Rows
684    0028|0011 "256"                        # Columns
685    0028|0100 "16"                         # Bits Allocated
686    0028|0102 "11"                         # High Bit
687    0028|0103 "0"                          # Pixel Representation
688    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
689    0008|0060 "MR"                         # Modality
690    7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
691 ]
692
693 ############################################################
694 ### ACR NEMA version 2.0 (TWO!) format:
695 ############################################################
696 [ gdcm-MR-SIEMENS-16-2.acr
697    # - Particularities:
698    #   * old (circa 2000) ACR NEMA version 2.0 format.
699    #   * wierd padding of "Series Number" tag
700    #  (ALL the -numerous- private fields are considered as 'BinEntries'
701    #        very few of them actually are :-(
702    #        groups 9, 11, 19, 21, 29, 51
703    # --> TODO : find a trick to guess (contains non printable characters ?)
704    0008|0070 "SIEMENS "                   # Manufacturer
705    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
706    0028|0101 "12"                         # Bits Stored
707    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
708    0028|0010 "512"                        # Rows
709    0028|0011 "512"                        # Columns
710    0028|0100 "16"                         # Bits Allocated
711    0028|0102 "11"                         # High Bit
712    0028|0103 "0"                          # Pixel Representation
713    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
714    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
715    0008|0060 "MR"                         # Modality
716    0020|0011 "     7"                     # Series Number
717    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
718 ]
719
720 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
721    # - Particularities:
722    #   * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
723    #     "Study Instance UID", "Study ID", "Series Number" and
724    #     "Serie Instance UID"
725    0008|0070 "SIEMENS "                   # Manufacturer
726    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
727    0028|0101 "12"                         # Bits Stored
728    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
729    0028|0010 "512"                        # Rows
730    0028|0011 "512"                        # Columns
731    0028|0100 "16"                         # Bits Allocated
732    0028|0102 "11"                         # High Bit
733    0028|0103 "0"                          # Pixel Representation
734    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
735    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
736    0008|0060 "MR"                         # Modality
737    0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
738    0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
739                                                               #     UID
740    0020|0011 "     7"                     # Series Number
741    0020|0010 "     1"                     # Study ID
742    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
743 ]
744
745 [ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
746    # - Particularities:
747    #   * ACR NEMA version 2.0 (circa 1994) format allthough the
748    #     "Recognition Code" is absent.
749    #   * all the groups are missing their "Group Length" tag i.e. no
750    #     tag of the form (*, 0x0000) present.
751    0008|0070 "Toshiba "                   # Manufacturer
752    0008|1090 "MRT150"                     # Manufacturer's Model Name
753    0028|0101 "16"                         # Bits Stored
754    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
755    0028|0010 "512"                        # Rows
756    0028|0011 "512"                        # Columns
757    0028|0100 "16"                         # Bits Allocated
758    0028|0102 "15"                         # High Bit
759    0028|0103 "0"                          # Pixel Representation
760    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
761    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
762    0008|0060 "MR"                         # Modality
763    0020|0011 "7 "                         # Series Number
764    0020|0010 "Run264.6653 "               # Study ID
765    7fe0|0010 "gdcm::NotLoaded Address:1130 Length:524288 x(80000)"
766 ]
767
768 [ FUJI-10-MONO1-ACR_NEMA_2.dcm
769    # - Particularities:
770    #   * ACR NEMA version 2.0 (circa 1995) format allthough the
771    #     "Recognition Code" is absent.
772    #   * large 1670x2010 image
773    0008|0070 "FUJI PHOTO FILM CO. LTD."   # Manufacturer
774    0008|1090 "CR201 "                     # Manufacturer's Model Name
775    0028|0101 "10"                         # Bits Stored
776    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
777    0028|0010 "2010"                       # Rows
778    0028|0011 "1670"                       # Columns
779    0028|0100 "16"                         # Bits Allocated
780    0028|0102 "9"                          # High Bit
781    0028|0103 "0"                          # Pixel Representation
782    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
783    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
784    0008|0060 "CR"                         # Modality
785    7fe0|0010 "gdcm::NotLoaded Address:862 Length:6713400 x(667038)"
786 ]
787
788 #############################################################################
789 ### Images with various oddities...
790 #############################################################################
791 [ gdcm-US-ALOKA-16.dcm
792    # - Particularities:
793    #   * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
794    #     Red and Blue. Note: segmented palette color not taken into account
795    #     by gdcm (FIXME).
796    #   * Both Red and Green componant of the Segmented palette color are
797    #     bigger than 256 * 256 = 65536. How can one interpret such 
798    #     a LUT ?
799    #   * announced as implicit VR, but really explicit VR !
800    #   * has a color palette (see Photometric Interpretation)
801    #   * neither e-film nor DicomWorks deals with the color segmented palette
802    #     color properly. Xmedcon breaks on this image.
803    #   * Note: on disk this image has a size of 873140 bytes. But 
804    #           one could expect that
805    #           Rows * Columns * #Palette * 16 bits/2 = 1843200 bytes
806    #           would be necessary. What is wrong ?
807    0008|0070 "ALOKA CO., LTD. "           # Manufacturer
808    0008|1090 "SSD-4000"                   # Manufacturer's Model Name
809    0028|0101 "16"                         # Bits Stored
810    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
811    0028|0010 "480"                        # Rows
812    0028|0011 "640"                        # Columns
813    0028|0100 "16"                         # Bits Allocated
814    0028|0102 "15"                         # High Bit
815    0028|0103 "0"                          # Pixel Representation
816    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
817    0008|0060 "US"                         # Modality
818    # The Segmented Palette Color Lookup Table Data:
819    # Red
820    0028|1221 "gdcm::NotLoaded Address:1750 Length:87818 x(1570a)"
821    # Green
822    0028|1222 "gdcm::NotLoaded Address:89576 Length:113784 x(1bc78)"
823    # Blue
824    0028|1223 "gdcm::NotLoaded Address:203368 Length:55364 x(d844)"
825    #
826    7fe0|0010 "gdcm::NotLoaded Address:258740 Length:614400 x(96000)"
827 ]
828
829 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
830    # - Particularities:
831    #   * dicom file, with a recognition code of ACR-NEMA1
832    #   * Highly nested sequence (6 sublevels) with an impressive size
833    #     of 28808 bytes at tag (0x0029, 0x263d)
834    #   * some sequences have 0 (zero) length
835    #   * possesses many sequences in group 0x0029
836    #   * Private BinEntry (DT) 21 1007
837    0008|0070 "Philips Medical Systems "   # Manufacturer
838    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
839    0028|0101 "12"                         # Bits Stored
840    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
841    0028|0010 "128"                        # Rows
842    0028|0011 "128"                        # Columns
843    0028|0100 "16"                         # Bits Allocated
844    0028|0102 "11"                         # High Bit
845    0028|0103 "0"                          # Pixel Representation
846    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
847    0008|0060 "MR"                         # Modality
848    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
849    7fe0|0010 "gdcm::NotLoaded Address:35846 Length:32768 x(8000)"
850 ]
851
852 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
853    # - Particularities:
854    #   * probably generated with dcmtk (DICOM Toolkit, refer to
855    #     http://dicom.offis.de/dcmtk.php.en)
856    #   * Misses the "Samples Per Pixel" element which prevents
857    #     e-film from reading it.
858    #   * Misses both the "Manufacturer" and the "Manufacturer's Model Name"
859    0008|0070 "gdcm::Unfound"              # Manufacturer
860    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
861    0028|0101 "8"                          # Bits Stored
862    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
863    0028|0010 "750"                        # Rows
864    0028|0011 "750"                        # Columns
865    0028|0100 "8"                          # Bits Allocated
866    0028|0102 "7"                          # High Bit
867    0028|0103 "0"                          # Pixel Representation
868    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
869    0008|0060 "CR"                         # Modality
870    0002|0013 "OFFIS_DCMTK_341 "           # Implementation Version Name
871    0028|0002 "gdcm::Unfound"              # Samples per Pixel
872    7fe0|0010 "gdcm::NotLoaded Address:740 Length:562500 x(89544)"
873 ]
874
875 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
876    # - Particularities:
877    #   * Non rectangular pixels (see "Pixel Spacing" tag)
878    #   * private tags are in explicit VR (which is normal BTW)
879    #   * has FD fields at tags 0029|218b, and 0029|218d
880    #   * many (roughly 20) sequences, among which:
881    #     - a couple ones with 0 (zero) length, e.g. at tags 0029|2008,
882    #       0029|201e, or 0029|204c/0#0029|28e0.
883    #     - nested sub-sequences.
884    #   * screen-flaher non printable characters in private elements (see
885    #     file ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm).
886    0008|0070 "Philips Medical Systems "   # Manufacturer
887    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
888    0028|0101 "12"                         # Bits Stored
889    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
890    0028|0010 "64"                         # Rows
891    0028|0011 "160"                        # Columns
892    0028|0100 "16"                         # Bits Allocated
893    0028|0102 "11"                         # High Bit
894    0028|0103 "0"                          # Pixel Representation
895    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
896    0008|0060 "MR"                         # Modality
897    0028|0030 " 0.487416\0.194966"         # Pixel Spacing
898    7fe0|0010 "gdcm::NotLoaded Address:5010 Length:20480 x(5000)"
899 ]
900
901 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
902    # - Particularities:
903    #   * contains a tag with value multiplicity bigger than 1: the
904    #     tag (0x0018, 0x1310) has "US" as value representation BUT
905    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
906    #   * contains a "Referenced Image Sequence" at tag 0008|1140
907    0008|0070 "SIEMENS "                   # Manufacturer
908    0008|1090 "Sonata"                     # Manufacturer's Model Name
909    0028|0101 "12"                         # Bits Stored
910    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
911    0028|0010 "208"                        # Rows
912    0028|0011 "256"                        # Columns
913    0028|0100 "16"                         # Bits Allocated
914    0028|0102 "11"                         # High Bit
915    0028|0103 "0"                          # Pixel Representation
916    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
917    0008|0060 "MR"                         # Modality
918    0018|1310 "256\0\0\166"                # Acquisition Matrix
919    7fe0|0010 "gdcm::NotLoaded Address:25686 Length:106496 x(1a000)"
920 ]
921
922 [ SIEMENS_MAGNETOM-12-MONO2-Uncompressed.dcm
923    # - Particularities:
924    #   * transited by a Siemens LEONARDO console, which produced a
925    #      buggy headered images
926    # JPR FIX: can you confirm that, and tell in which way the header is
927    #          got corrupted ?
928    0008|0070 "SIEMENS "                   # Manufacturer
929    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
930    0028|0101 "12"                         # Bits Stored
931    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
932    0028|0010 "512"                        # Rows
933    0028|0011 "512"                        # Columns
934    0028|0100 "16"                         # Bits Allocated
935    0028|0102 "11"                         # High Bit
936    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR,
937                                           #                  Little Endian
938    0008|0060 "MR"                         # Modality
939    7fe0|0010 "gdcm::NotLoaded Address:5160 Length:524288 x(80000)"
940 ]
941
942 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
943    # - Particularities:
944    #   * looks like a DICOM V3 image but it misses the proper file
945    #     file preamble (of 200 bytes).
946    0008|0070 "Picker International, Inc." # Manufacturer
947    0008|1090 "HF1006"                     # Manufacturer's Model Name
948    0028|0101 "16"                         # Bits Stored
949    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
950    0028|0010 "512"                        # Rows
951    0028|0011 "512"                        # Columns
952    0028|0100 "16"                         # Bits Allocated
953    0028|0102 "15"                         # High Bit
954    0028|0103 "1"                          # Pixel Representation
955    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
956    0008|0060 "MR"                         # Modality
957    7fe0|0010 "gdcm::NotLoaded Address:1406 Length:524288 x(80000)"
958 ]
959
960 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
961    # - Particularities:
962    #   * Contains a "Referenced Image Sequence" at tag 0008|1140.
963    0008|0070 "Philips Medical Systems "   # Manufacturer
964    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
965    0028|0101 "8"                          # Bits Stored
966    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
967    0028|0010 "256"                        # Rows
968    0028|0011 "256"                        # Columns
969    0028|0100 "16"                         # Bits Allocated
970    0028|0102 "7"                          # High Bit
971    0028|0103 "0"                          # Pixel Representation
972    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
973    0008|0060 "MR"                         # Modality
974    7fe0|0010 "gdcm::NotLoaded Address:6584 Length:131072 x(20000)"
975 ]
976
977 [ PICKER-16-MONO2-Nested_icon.dcm
978    # - Particularities:
979    #   * contains TWO images:
980    #     - the original image 512x512 at tag 7fe0|0010,
981    #     - an 8x8 icon hidden in a "Icon Image Sequence" (at tag 0088|0200)
982    #       within Item number 0, and within the usual tag 7fe0|0010
983    #       (the full tag of this icon is hence 0088|0200/0#7fe0|0010)
984    #     This implies this image contains two 7fe0|0010 (among which one is
985    #     burried in a sequence), two "Rows" entries, two "Columns" entries...
986    #     This makes it impossible to use the name of tag (e.g. Rows) as
987    #     as a key of dictionaries build on top of such an image....
988    #   * contains a "Source Image Sequence" with 0xffff length at 0008|2112
989    #     with 130 useless (dummy) items,
990    #   * sequence at 0088|0200, with length 0xffff, is terminated with both:
991    #     - an "Item Delimitation Item" (i.e. a tag fffe|e00d)
992    #     - a "Sequence Delimitation Item" (i.e. a tag fffe|e0dd).
993    0008|0070 "PICKER"                     # Manufacturer
994    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
995    0028|0101 "12"                         # Bits Stored
996    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
997    0028|0010 "512"                        # Rows
998    0028|0011 "512"                        # Columns
999    0028|0100 "16"                         # Bits Allocated
1000    0028|0102 "11"                         # High Bit
1001    0028|0103 "0"                          # Pixel Representation
1002    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
1003    0008|0060 "CT"                         # Modality
1004    7fe0|0010 "gdcm::NotLoaded Address:18228 Length:524288 x(80000)"
1005 ]
1006
1007 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
1008    # - Particularities:
1009    #   * within the "Modality LUT Sequence" at tag 0028|3000 we encounter
1010    #     an "Item Delimitation" fffe|e00d followed by a
1011    #     "Sequence Delimitation Item" fffe|e0dd just after the tag 0028|3006
1012    #   * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
1013    #     (0x0008, 0x0010) is present].
1014    0008|0070 "Kodak "                     # Manufacturer
1015    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
1016    0028|0101 "12"                         # Bits Stored
1017    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
1018    0028|0010 "2392"                       # Rows
1019    0028|0011 "1792"                       # Columns
1020    0028|0100 "16"                         # Bits Allocated
1021    0028|0102 "11"                         # High Bit
1022    0028|0103 "0"                          # Pixel Representation
1023    0002|0010 "gdcm::Unfound"              # Transfer Syntax: Implicit VR, LE
1024    0008|0060 "CR"                         # Modality
1025    7fe0|0010 "gdcm::NotLoaded Address:9134 Length:8572928 x(82d000)"
1026 ]
1027
1028 [ SIEMENS_SOMATOM-12-ACR_NEMA-ZeroLengthUs.acr
1029    # - Particularities:
1030    #   * Has a 'Zero length' integer field at tag 0020|5000 with VR "US"
1031    #        [US][Original Image Identification (RET)]
1032    #   * Has a lot of private fields, with no VR, see groups 9, 11, 19, 21,
1033    #     29, 31
1034    0008|0070 "SIEMENS "                   # Manufacturer
1035    0008|1090 "SOMATOM PLUS 4            " # Manufacturer's Model Name
1036    0028|0101 "12"                         # Bits Stored
1037    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1038    0028|0010 "512"                        # Rows
1039    0028|0011 "512"                        # Columns
1040    0028|0100 "16"                         # Bits Allocated
1041    0028|0102 "11"                         # High Bit
1042    0028|0103 "0"                          # Pixel Representation
1043    0008|0060 "CT"                         # Modality
1044    0009|0010 "gdcm::Binary data loaded"   # Unknown
1045    7fe0|0010 "gdcm::NotLoaded Address:5064 Length:524288 x(80000)"
1046 ]
1047
1048 [ ACUSON-8-YBR_FULL-JPEG-TrailingInfo.dcm
1049    # - Particularities:
1050    #   * has some trailing (after the pixel data) info with tag fffc|fffc,
1051    #     VR of "OB", length = 1722 = 0x6ba
1052    #   * contains a "Sequence of Ultrasound Regions" at tag 0018|6011
1053    0008|0070 "ACUSON"                     # Manufacturer
1054    0028|0101 "8"                          # Bits Stored
1055    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
1056    0028|0010 "576"                        # Rows
1057    0028|0011 "768"                        # Columns
1058    0028|0100 "8"                          # Bits Allocated
1059    0028|0102 "7"                          # High Bit
1060    0028|0103 "0"                          # Pixel Representation
1061    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg baseline
1062                                           #                  process (1)
1063    0008|0060 "US"                         # Modality
1064    7fe0|0010 "gdcm::NotLoaded Address:2288 Length:1513128 x(1716a8)"
1065    fffc|fffc "gdcm::Binary data loaded"    # Trailing info !
1066 ]
1067
1068 [ GE_GENESIS-16-MONO2-WrongLengthItem.dcm
1069    # - Particularities:
1070    #   * Sample of well known GE buggy header: wrong length for some items
1071    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
1072    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
1073    0028|0101 "16"                         # Bits Stored
1074    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1075    0028|0010 "256"                        # Rows
1076    0028|0011 "256"                        # Columns
1077    0028|0100 "16"                         # Bits Allocated
1078    0028|0102 "15"                         # High Bit
1079    0028|0103 "1"                          # Pixel Representation
1080    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
1081    0008|0060 "MR"                         # Modality
1082    7fe0|0010 "gdcm::NotLoaded Address:1930 Length:131072 x(20000)"
1083 ]
1084
1085 [ MARCONI_MxTWin-12-MONO2-JpegLossless-ZeroLengthSQ.dcm
1086    # - Particularities:
1087    #   * jpeg compression (Process 14 [Selection Value 1])
1088    #   * "Icon Image Sequence" at tag 0088|0200 has 0 (zero) length
1089    0008|0070 "Marconi "                   # Manufacturer
1090    0008|1090 "MxTwin"                     # Manufacturer's Model Name
1091    0028|0101 "12"                         # Bits Stored
1092    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1093    0028|0010 "512"                        # Rows
1094    0028|0011 "512"                        # Columns
1095    0028|0100 "16"                         # Bits Allocated
1096    0028|0102 "11"                         # High Bit
1097    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1098                                           # ... Process 14 [Selection Value 1]
1099    0008|0060 "CT"                         # Modality
1100    7fe0|0010 "gdcm::NotLoaded Address:1916 Length:116517 x(1c725)"
1101 ]
1102
1103 [ THERALYS-12-MONO2-Uncompressed-Even_Length_Tag.dcm
1104    # - Particularities:
1105    #   * both tag 0008|0070 ("Manufacturer") and tag 0008|0080
1106    #     "Institution Name" have an even length of 13 bytes.
1107    #   * contains a "Referenced Image Sequence" of 0 (zero) length at
1108    #     tag 0008|1140
1109    0008|0070 "Theralys S.A."              # Manufacturer
1110    0008|1090 "vtkToDicomWriter"           # Manufacturer's Model Name
1111    0028|0101 "12"                         # Bits Stored
1112    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1113    0028|0010 "256"                        # Rows
1114    0028|0011 "256"                        # Columns
1115    0028|0100 "16"                         # Bits Allocated
1116    0028|0102 "11"                         # High Bit
1117    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR,
1118                                           #                  Little Endian
1119    0008|0060 "MR"                         # Modality
1120    7fe0|0010 "gdcm::NotLoaded Address:1839 Length:131072 x(20000)"
1121 ]
1122
1123 [ THERALYS-12-MONO2-Uncompressed-E_Film_Template.dcm
1124    # - Particularities:
1125    #   * empty image usable as a template to produce efilm readable images
1126    #     with the strictly minimum tag set.
1127    #   * Given by Theralys
1128    0028|0101 "12"                         # Bits Stored
1129    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1130    0028|0010 "256"                        # Rows
1131    0028|0011 "256"                        # Columns
1132    0028|0100 "16"                         # Bits Allocated
1133    0028|0102 "11"                         # High Bit
1134    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR,
1135                                           #                  Little Endian
1136    7fe0|0010 "gdcm::NotLoaded Address:1250 Length:131072 x(20000)"
1137 ]
1138
1139 [ GE_GENESIS-16-MONO2-Uncompressed-UnusualVR.dcm
1140    # - Particularities:
1141    #   * Many private entries have (perfectly "legal") unusual Value
1142    #     Representation (that gdcm interprets a gdcmBinEntries).
1143    #     - VR = FL : 0019|105a, 0027|1041...0027|1049, 0027|104a...0027|104d,
1144    #                 0027|1060 ... 0027|1062, 0043|1033, 0043|1038
1145    #     - VR = DT : 0019|109d
1146    #     - VR = FD : 0023|1070
1147    #     - VR = OB : 0043|1028, 0043|1029, 0043|102a
1148    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
1149    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
1150    0028|0101 "16"                         # Bits Stored
1151    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1152    0028|0010 "256"                        # Rows
1153    0028|0011 "256"                        # Columns
1154    0028|0100 "16"                         # Bits Allocated
1155    0028|0102 "15"                         # High Bit
1156    0028|0103 "1"                          # Pixel Representation
1157    0002|0010 "1.2.840.10008.1.2.1 "       # Transfer Syntax: Explicit VR, LE
1158    0008|0060 "MR"                         # Modality
1159    7fe0|0010 "gdcm::NotLoaded Address:9666 Length:131072 x(20000)"
1160 ]
1161
1162 ############################################################
1163 ### Sequence related images.
1164 ############################################################
1165 [ SIEMENS_Sonata-12-MONO2-SQ.dcm
1166    # - Particularities:
1167    #   * contains a "Referenced Performed Procedure Step Sequence" at
1168    #     tag 0008|1111,
1169    #   * contains a "Referenced Image Sequence" at tag 0008|1140
1170    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
1171    0008|0070 "SIEMENS "                   # Manufacturer
1172    0008|1090 "Sonata"                     # Manufacturer's Model Name
1173    0028|0101 "12"                         # Bits Stored
1174    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1175    0028|0010 "192"                        # Rows
1176    0028|0011 "192"                        # Columns
1177    0028|0100 "16"                         # Bits Allocated
1178    0028|0102 "11"                         # High Bit
1179    0028|0103 "0"                          # 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:51804 Length:73728 x(12000)"
1183 ]
1184
1185 [ ALOKA_SSD-8-MONO2-RLE-SQ.dcm
1186    # - Particularities:
1187    #   * contains a "Sequence of Ultrasound Regions " at tag 0018|6011
1188    0008|0070 "ALOKA CO., LTD. "           # Manufacturer
1189    0008|1090 "SSD-5000"                   # Manufacturer's Model Name
1190    0028|0101 "8"                          # Bits Stored
1191    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1192    0028|0010 "420"                        # Rows
1193    0028|0011 "608"                        # Columns
1194    0028|0100 "8"                          # Bits Allocated
1195    0028|0102 "7"                          # High Bit
1196    0002|0010 "1.2.840.10008.1.2.5"        # RLE Lossless
1197    0008|0060 "US"                         # Modality
1198    7fe0|0010 "gdcm::NotLoaded Address:1398 Length:128088 x(1f458)"
1199 ]
1200
1201 ############################################################
1202 ### Jpeg compressed images.
1203 ############################################################
1204 [ gdcm-JPEG-Extended.dcm
1205    # - Particularities:
1206    #   * contains a "Referenced Image Sequence" of length 0xffff at
1207    #     tag 0008|1140,
1208    #   * contains a "Source Image Sequence" of length 0xffff at
1209    #     tag 0008|2112,
1210    #   * jpeg compression [Extended Process (2,4)]
1211    #   * probably contains additional data after the pixels (see comments
1212    #     of the gdcm-JPEG-LossLess3a.dcm entry)
1213    #   * contains OB private fields at tags 0019|10b0, 0021|1011, 0029|1008,
1214    #     0029|1009, 0029|1010, 0029|1131, 0029|1134.
1215    0008|0070 "SIEMENS "                   # Manufacturer
1216    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1217    0028|0101 "12"                         # Bits Stored
1218    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1219    0028|0010 "512"                        # Rows
1220    0028|0011 "512"                        # Columns
1221    0028|0100 "16"                         # Bits Allocated
1222    0028|0102 "11"                         # High Bit
1223    0028|0103 "0"                          # Pixel Representation
1224    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1225                                           #                  process (2,4)
1226    0008|0060 "CT"                         # Modality
1227    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
1228 ]
1229
1230 [ gdcm-JPEG-Extended-Allready_present.dcm
1231    # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
1232    #            terms of features (actually I suspect gdcm-JPEG-Extended.dcm
1233    #            is the anonymized version of this one)...
1234    # - Particularities:
1235    #   * jpeg compression [Extended Process (2,4)]
1236    #   * private BinEntry (OB) in 19 10b0, 21 1011, 29 1008, 29 1009, 29 1010,
1237    #                              29 1131, 29 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 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
1254    # - Particularities:
1255    #   * jpeg compression [Extended Process (2,4)]
1256    0008|0070 "SIEMENS "                   # Manufacturer
1257    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1258    0028|0101 "12"                         # Bits Stored
1259    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1260    0028|0010 "512"                        # Rows
1261    0028|0011 "512"                        # Columns
1262    0028|0100 "16"                         # Bits Allocated
1263    0028|0102 "11"                         # High Bit
1264    0028|0103 "0"                          # Pixel Representation
1265    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1266                                           #                  process (2,4)
1267    0008|0060 "CT"                         # Modality
1268    7fe0|0010 "gdcm::NotLoaded Address:3044 Length:66978 x(105a2)"
1269 ]
1270
1271 [ gdcm-JPEG-LossLess3a.dcm
1272    # - Particularities:
1273    #   * jpeg compression [Lossless, hierar., first-order prediction 
1274    #     (Process 14, Selection Value 1) ]
1275    #   * contains additional data after the pixels (see below)
1276    #   * contains a "Source Image Sequence" tag at 0008|2112
1277    0008|0070 "SIEMENS "                   # Manufacturer
1278    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1279    0028|0101 "12"                         # Bits Stored
1280    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1281    0028|0010 "512"                        # Rows
1282    0028|0011 "512"                        # Columns
1283    0028|0100 "16"                         # Bits Allocated
1284    0028|0102 "11"                         # High Bit
1285    0028|0103 "0"                          # Pixel Representation
1286    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1287                                           # ... Process 14 [Selection Value 1]
1288    0008|0060 "CT"                         # Modality
1289    # It looks like the pixel data are corrupted:
1290    # As stated by "od -A d -c"
1291    #   0002528     Ã  177 020 \0  O  B \0 \0   Ã¿  Ã¿   Ã¿   Ã¿ Ã¾  Ã¿ \0  Ã 
1292    #   0002544    \0  \0  \0 \0  Ã¾  Ã¿ \0  Ã  202  ? 003  \0  Ã¿  Ã˜  Ã¿  Ãƒ
1293    # which we interpret as follows:
1294    #   - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1295    #   - 2532: OB i.e. encapsulated encoded Pixel Data,
1296    #   - 2534: Two bytes reserved,
1297    #   - 2536: Ã¿ Ã¿ Ã¿ Ã¿ = 0xffffffff i.e. data element length is undefined.
1298    #   - 2540: (þ Ã¿, \0 Ã ) = (0xfffe, 0xe000) i.e. basic offset table
1299    #           item tag
1300    #   - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1301    #           item value for offset table.
1302    #   - 2548: (þ Ã¿, \0 Ã ) = (0xfffe, 0xe000) i.e. item tag of first
1303    #           fragment of (encoded) pixel data.
1304    #   - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1305    #           of (encoded) pixel data.
1306    # and so the next item tag should be found at the 2556+212866 th
1307    # octet i.e. at address 215422. But, as stated by od, we find:
1308    #   0215408   E   u Ã– 026   ÃŽ   Ã‰ 7 Â¬ Ãƒ Â¸ Ã³ Â¿ Ã¿ Ã™ \f Â°
1309    #   0215424   Â¶ 016 P   Ã‘ 002 016
1310    # and (\f Â°, Â¶ 016) is NOT an OB item TAG which is required to be
1311    # present (at least there should be a sequence delimiter), refer to
1312    # PS 3.5-2001 page 50.
1313    #
1314    # As stated by JPR in hexa:
1315    # at 9ec : ItemTag : fffe,e000
1316    # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1317    # at 9f4 : ItemTag : fffe,e000
1318    #         at 9f8 : fragment length 212866 x(00033f82)
1319    # at 3497e : ItemTag  b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1320    7fe0|0010 "gdcm::NotLoaded Address:2540 Length:212890 x(33f9a)"
1321 ]
1322
1323 [ gdcm-JPEG-LossLessThoravision.dcm
1324    # - Particularities:
1325    #   * jpeg compression [Lossless, hierar., first-order prediction
1326    #     (Process 14, Selection Value 1) ]
1327    #   * encoding is sligthly different from the one of entry
1328    #     gdcm-JPEG-LossLess3a.dcm (to check).
1329    #   * Large picture: 2076 by 1876 (I wonder what screens they have...)
1330    #     -> Just underscale it !
1331    #   Breaks all the DICOM viewers
1332    0008|0070 "Philips Medical Systems "   # Manufacturer
1333    0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1334    0028|0101 "15"                         # Bits Stored
1335    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1336    0028|0010 "2076"                       # Rows
1337    0028|0011 "1876"                       # Columns
1338    0028|0100 "16"                         # Bits Allocated
1339    0028|0102 "14"                         # High Bit
1340    0028|0103 "0"                          # Pixel Representation
1341    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1342                                           # ... Process 14 [Selection Value 1]
1343    0008|0060 "CR"                         # Modality
1344    7fe0|0010 "gdcm::NotLoaded Address:3144 Length:4795668 x(492d14)"
1345 ]
1346
1347 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1348    # - Particularities:
1349    #   * jpeg compression [Extended Process (2,4)]
1350    #   * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1351    #     announces it as "ACR-NEMA 1.0" !
1352    0008|0070 "Philips Medical Systems "   # Manufacturer
1353    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1354    0028|0101 "12"                         # Bits Stored
1355    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1356    0028|0010 "512"                        # Rows
1357    0028|0011 "512"                        # Columns
1358    0028|0100 "16"                         # Bits Allocated
1359    0028|0102 "11"                         # High Bit
1360    0028|0103 "0"                          # Pixel Representation
1361    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1362                                           #                  process (2,4)
1363    0008|0060 "MR"                         # Modality
1364    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1365    7fe0|0010 "gdcm::NotLoaded Address:5956 Length:46602 x(b60a)"
1366 ]
1367
1368 [ PHILIPS_Gyroscan-12-MONO2-Jpeg_Lossless.dcm
1369    # - Particularities:
1370    #   * jpeg lossless, Non-Hierarchical, First-Order Prediction,
1371    #     compression [Process 14 (Selection Value 1)]
1372    #   * many (roughly 8) sequences, among which:
1373    #     - one with 0 (zero) length at tag 0029|204c/0#0029|28e0
1374    #     - many with length 0xffff
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 "256"                        # Rows
1380    0028|0011 "256"                        # 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.70"     # Transfer Syntax: jpeg Lossless,
1385                                           # ... Process 14 [Selection Value 1]
1386    0008|0060 "MR"                         # Modality
1387    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1388    # 7fe0|0010 Not present.
1389 ]
1390
1391 ###########################################################################
1392 # All the following files come from the LeadTools site (see
1393 #      http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm )
1394 # and (probably) serves as an illustration of many Dicom encoding/compression
1395 # modes. Those "hand made"  files were not produced by any acquisition engine
1396 # and hence are not from "real" life, but maybe one day some machine will
1397 # implement it. Some images, allthough using a perfectly "legal" Dicom format,
1398 # seem to be unique in their own encoding/compression category. Worth the
1399 # trial in a test suite!
1400 # All the following files share the same size (535x800), the same pixel
1401 # representation ("0") ;
1402 #  0028|0010 "535"                        # Rows
1403 #  0028|0011 "800"                        # Columns
1404 #  0028|0103 "0"                          # Pixel Representation
1405 # and hold the same picture: some flowers...
1406
1407 [ LEADTOOLS_FLOWERS-8-MONO2-JpegLossy.dcm
1408    # - Particularities:
1409    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1410    0028|0101 "8"                          # Bits Stored
1411    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1412    0028|0100 "8"                          # Bits Allocated
1413    0028|0102 "7"                          # High Bit
1414    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1415                                           # ... Process 1 
1416    # No "7fe0|0010"
1417 ]
1418
1419 [ LEADTOOLS_FLOWERS-8-PAL-RLE.dcm
1420    # - Particularities:
1421    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1422    0028|0101 "8"                          # Bits Stored
1423    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
1424    0028|0100 "8"                          # Bits Allocated
1425    0028|0102 "7"                          # High Bit
1426    0028|0006 "2"                          # Planar Configuration
1427    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1428    # No "7fe0|0010"
1429 ]
1430
1431 [ LEADTOOLS_FLOWERS-8-MONO2-RLE.dcm
1432    # - Particularities:
1433    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1434    0028|0101 "8"                          # Bits Stored
1435    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1436    0028|0100 "8"                          # Bits Allocated
1437    0028|0102 "7"                          # High Bit
1438    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1439    # No "7fe0|0010"
1440 ]
1441
1442 [ LEADTOOLS_FLOWERS-8-PAL-Uncompressed.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    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR -
1450                                           #                 Little Endian
1451    7fe0|0010 "gdcm::NotLoaded Address:3538 Length:428000 x(687e0)"
1452 ]
1453
1454 [ LEADTOOLS_FLOWERS-8-MONO2-Uncompressed.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.1"        # Transfer Syntax: Explicit VR -
1462                                           #                 Little Endian
1463    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:428000 x(687e0)"
1464 ]
1465
1466 [ LEADTOOLS_FLOWERS-16-MONO2-JpegLossless.dcm
1467    # - Particularities:
1468    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1469    0028|0101 "16"                         # Bits Stored
1470    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1471    0028|0100 "16"                         # Bits Allocated
1472    0028|0102 "15"                         # High Bit
1473    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1474                                           # ... Process 14 [Selection Value 1]
1475    # No "7fe0|0010"
1476 ]
1477
1478 [ LEADTOOLS_FLOWERS-16-MONO2-RLE.dcm
1479    # - Particularities:
1480    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1481    0028|0101 "16"                         # Bits Stored
1482    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1483    0028|0100 "16"                         # Bits Allocated
1484    0028|0102 "15"                         # High Bit
1485    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1486    # No "7fe0|0010"
1487 ]
1488
1489 [ LEADTOOLS_FLOWERS-16-MONO2-Uncompressed.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.1"        # Explicit VR - Little Endian
1497    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:856000 x(d0fc0)"
1498 ]
1499
1500 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossless.dcm
1501    # - Particularities:
1502    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1503    0028|0101 "8"                          # Bits Stored
1504    0028|0004 "RGB "                       # Photometric Interpretation
1505    0028|0100 "8"                          # Bits Allocated
1506    0028|0102 "7"                          # High Bit
1507    0028|0002 "3"                          # Samples per Pixel
1508    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1509                                           # ... Process 14 [Selection Value 1]
1510    # No "7fe0|0010"
1511 ]
1512
1513 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossy.dcm
1514    # - Particularities:
1515    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1516    0028|0101 "8"                          # Bits Stored
1517    0028|0004 "RGB "                       # Photometric Interpretation
1518    0028|0100 "8"                          # Bits Allocated
1519    0028|0102 "7"                          # High Bit
1520    0028|0002 "3"                          # Samples per Pixel
1521    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1522                                           # ... Process 1 
1523    # No "7fe0|0010"
1524 ]
1525
1526 [ LEADTOOLS_FLOWERS-24-RGB-Uncompressed.dcm
1527    # - Particularities:
1528    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1529    0028|0101 "8"                          # Bits Stored
1530    0028|0004 "RGB "                       # Photometric Interpretation
1531    0028|0100 "8"                          # Bits Allocated
1532    0028|0102 "7"                          # High Bit
1533    0028|0002 "3"                          # Samples per Pixel
1534    0002|0010 "1.2.840.10008.1.2.1"        # Explicit VR - Little Endian
1535    7fe0|0010 "gdcm::NotLoaded Address:1934 Length:1284000 x(1397a0)"
1536 ]
1537
1538 ###########################################################################
1539 ### LIBIDO format images
1540 ### The libido format is an "extension" of the old ACRNEMA version 1.1
1541 ### format. It was "designed" to embed images of float or double type
1542 ### (in the sense of the C language) within the ACRNEMA format.
1543 ### LIBIDO images are typically used as a temporary container for
1544 ### observing the internal stages of a computation image pipeline
1545 ### (i.e. some kind of file watch point), with a shallow compatibility 
1546 ### with the ACRNEMA format. By shallow compatibility we mean that
1547 ### a classical DICOM viewer has no knowledge of the LIBIDO format 
1548 ### and hence cannot display it (how to display a "double" image anyhow).
1549 ###    Very few tags are available (e.g. no "Manufacturer" related
1550 ### info, no medical information).
1551 ### LIBIDO images can be recognized by their "Recognition Code"
1552 ###########################################################################
1553 [ LIBIDO-16-ACR_NEMA-Volume.dcm
1554    # - Particularities:
1555    #   * this file represents a "volume" i.e. it has a "Number of Planes",
1556    #     (but no "Number of Frames")
1557    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1558    0028|0005 "3"                          # Image Dimensions (RET)
1559    0028|0010 "50"                         # Rows
1560    0028|0011 "50"                         # Columns
1561    0028|0012 "262"                        # Planes
1562    0028|0101 "16"                         # Bits Stored
1563    0028|0100 "16"                         # Bits Allocated
1564    0028|0102 "15"                         # High Bit
1565    0028|0103 "0"                          # Pixel Representation
1566    7fe0|0010 "gdcm::NotLoaded Address:210 Length:1310000 x(13fd30)"
1567 ]
1568
1569 [ LIBIDO-24-ACR_NEMA-Rectangle.dcm
1570    # FIXME TODO \todo
1571    # The Rows and Columns presence breaks this test !!! 
1572    #
1573    # - Particularities:
1574    #   * RGB encoding (24 bits).
1575    #   * Rectangle image : 100x400
1576    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1577    0028|0005 "2"                          # Image Dimensions (RET)
1578    #0028|0010 "100"                       # Rows
1579    #0028|0011 "400"                       # Columns
1580    0028|0101 "24"                         # Bits Stored
1581    0028|0100 "24"                         # Bits Allocated
1582    0028|0102 "23"                         # High Bit
1583    0028|0103 "0"                          # Pixel Representation
1584    7fe0|0010 "gdcm::NotLoaded Address:182 Length:120000 x(1d4c0)"
1585 ]
1586
1587 [ LIBIDO-8-ACR_NEMA-Lena_128_128.acr
1588    # FIXME TODO \todo
1589    # The Rows and Columns presence breaks this test !!! 
1590    #
1591    # - Particularities:
1592    #   * the classical lena image (with size 128x128), recoded as LIBIDO image
1593    0008|0010 "ACRNEMA_LIBIDO_1.1"         # Recognition Code (RET)
1594    0028|0005 "2"                          # Image Dimensions (RET)
1595    #0028|0010 "128"                       # Rows
1596    #0028|0011 "128"                       # Columns
1597    0028|0101 "8"                          # Bits Stored
1598    0028|0100 "8"                          # Bits Allocated
1599    0028|0102 "7"                          # High Bit
1600    0028|0103 "0"                          # Pixel Representation
1601    7fe0|0010 "gdcm::NotLoaded Address:182 Length:16384 x(4000)"
1602 ]
1603
1604 ###########################################################################
1605 ### A Philips Intera (NTSCAN) image. It has a private dicom sequence where the 
1606 ### field is being flip to BigEndian for no reason.
1607 ### Thanks to Peter Cech for providing images and patch !
1608 ###########################################################################
1609 [ PHILIPS_Intera-16-MONO2-Uncompress.dcm
1610    # - Particularities:
1611    #   Sequence difficult to read since we need to flip reading to BigEndian
1612    #   Only during the reading of the private sequence.
1613    0008|0070 "Philips Medical Systems "   # Manufacturer
1614    0008|1090 "Intera"                     # Manufacturer's Model Name
1615    0008|1010 "NTSCAN"                     # Station Name
1616    0028|0010 "1024"                       # Rows
1617    0028|0011 "1024"                       # Columns
1618    0028|2110 "00"                         # Lossy Image Compression
1619    0018|1250 "SENSE-head"                 # Receive Coil Name
1620    #0029|246a "DICOM "                     # unkn ... seems to be broken in the test
1621    2005|e027 "MAXIMUM "                   # unkn
1622    7fe0|0010 "gdcm::NotLoaded Address:9276 Length:2097152 x(200000)"
1623 ]
1624
1625
1626 ###########################################################################
1627 ### Documented images not yet integrated in the test suite
1628 ###########################################################################
1629 #
1630 #
1631 #
1632
1633 ###########################################################################
1634 ### Images present in gdcmData but whose peculiarity is not documented yet
1635 ###########################################################################
1636 # 00191113.dcm #Jpeg Lossless 4 frames X-Ray Angiography
1637 #
1638 # 012345.002.050.dcm # a lot of FL and FD entries in sahdow group 0027
1639 #
1640 # 3E768EB7.dcm # jpeg lossless, empty Basic Offset Table Item Length =4
1641 #
1642 # DermaColorLossLess.dcm  # native RBG image
1643 #
1644 # DICOMDIR #small DICOMDIR (4 patients, 1561 first-level SQItems, 
1645 #                           embedded second level sequences at 0008|1140)
1646 #
1647 # RadBWLossLess.dcm # jpeg lossless, empty Basic Offset Table Item Length= 0
1648 #
1649 # test.acr #ACR-LibIDO formated image. Was used as a test image by testSuite
1650 #