]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
- jpeglossy1.dcm renamed to SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
[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 (BinEntry) 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 (BinEntry) Address:776 Length:387200 x(5e880)"
34 #    ]
35 #    This info shall be discarded (and has no comment which is lack of taste)
36 #
37 #    [
38 #      otherFilename.dcm
39 #      # some really nice comments and documentation
40 #      0028|0010 "440"
41 #      0028|0011 "440" ] # Columns
42 #
43 #
44 # File naming conventions:
45 #  the general form shall be (unpresent or meaningfull field are optional)
46 #  [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[Description].EXT
47 #  where :
48 #   - [Manufacturer] represents at best the aquisition device. It can
49 #     can be a blend of the "Manufacturer" and "Manufacturer's Model Name"
50 #     Dicom entries.
51 #   - [BytesPerPixel] is the "Bits Stored" Dicom entry (or "Bits Allocated"
52 #     when "Bits Stored" is absent).
53 #   -[PhotoInterpretation] corresponds to the type of encoding of the image.
54 #     It is a short for the "Photometric Interpretation" Dicom entry e.g.
55 #     PAL (for "PALETTE COLOR"), RGB, YBR (for YBR_FULL),
56 #     YBR422 (for YBR_FULL_4220, MONO2 (for MONOCHROME2)...
57 #   - [SQ] when present indicates that the image contains a sequence.
58 #   - [Description] shall be a concise description of the features
59 #     specificities of the image (e.g. ACR_NEMA_1 to indicate it is an
60 #     old ACR Nema version 1 file format).
61 #   - .EXT is the extension and (allthough meaningless in terms of the
62 #     dicom standard) shall either be .acr (for ACR Nema version 1 and 2)
63 #     or .dcm for Dicom V3 images.
64 # Examples:
65 #   - SIEMENS_GBS_III-16-ACR_NEMA_1.acr does it's best to express
66 #     that this image was produced by a SIEMENS (manufacturer) "GBS III"
67 #     (model name) imaging device. It is encoded on 16 bits per pixel,
68 #     has no "Photometric Interpretation", no sequence, and uses the
69 #     old ACR Nema version 1 file format.
70 #
71 # Note: The files whose name starts with a modality (e.g. CR-MONO1-10-chest.dcm)
72 #       are taken from Sebastien Barre's Dicom2 highly recommendable site
73 #       http://www.barre.nom.fr/medical/samples/index.html
74
75 ############################################################
76 ### As taken from Sebastien Barre's Dicom2 (see note above).
77 ### CR modality examples:
78 ############################################################
79 [ CR-MONO1-10-chest.dcm
80    # - Particularities:
81    #   * "Transfer Syntax UID" is absent.
82    0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
83    0008|1090 "9000"                     # Manufacturer's Model Name
84    0028|0101 "10"                       # Bits Stored
85    0028|0004 "MONOCHROME1 "             # Photometric Interpretation
86    0028|0010 "440"                      # Rows
87    0028|0011 "440"                      # Columns
88    0028|0100 "16"                       # Bits Allocated
89    0028|0102 "9"                        # High Bit
90    0028|0103 "0"                        # Pixel Representation
91    0002|0010 "gdcm::Unfound"            # Transfer Syntax UID
92    0008|0060 "CR"                       # Modality
93    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)"
94 ]
95
96 ############################################################
97 ### As taken from Sebastien Barre's Dicom2 (see note above).
98 ### CT modality examples:
99 ############################################################
100 [ CT-MONO2-16-brain.dcm
101    0008|0070 "Picker International, Inc." # Manufacturer
102    0008|1090 "PQ5000"                     # Manufacturer's Model Name
103    0028|0101 "16"                         # Bits Stored
104    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
105    0028|0010 "512"                        # Rows
106    0028|0011 "512"                        # Columns
107    0028|0100 "16"                         # Bits Allocated
108    0028|0102 "15"                         # High Bit
109    0028|0103 "1"                          # Pixel Representation
110    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
111    0008|0060 "CT"                         # Modality
112    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1680 Length:524288 x(80000)"
113 ]
114
115 [ CT-MONO2-16-ort.dcm
116    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
117    0008|1090 "HiSpeed CT/i"               # Manufacturer's Model Name
118    0028|0101 "16"                         # Bits Stored
119    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
120    0028|0010 "512"                        # Rows
121    0028|0011 "512"                        # Columns
122    0028|0100 "16"                         # Bits Allocated
123    0028|0102 "15"                         # High Bit
124    0028|0103 "1"                          # Pixel Representation
125    0008|0060 "CT"                         # Modality
126    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
127    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1674 Length:524288 x(80000)"
128 ]
129
130 [ CT-MONO2-16-ankle.dcm 
131    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
132    0008|1090 "GENESIS_ZEUS"               # Manufacturer's Model Name
133    0028|0101 "16"                         # Bits Stored
134    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
135    0028|0010 "512"                        # Rows
136    0028|0011 "512"                        # Columns
137    0028|0100 "16"                         # Bits Allocated
138    0028|0102 "15"                         # High Bit
139    0028|0103 "1"                          # Pixel Representation
140    0008|0060 "CT"                         # Modality
141    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
142    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1148 Length:524288 x(80000)"
143 ]
144
145 [ CT-MONO2-8-abdo.dcm
146    # - Particularities:
147    #   * "Manufacturer's Model Name" is absent.
148    0008|0070 "FUJI"                       # Manufacturer
149    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
150    0028|0101 "8"                          # Bits Stored
151    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
152    0028|0010 "512"                        # Rows
153    0028|0011 "512"                        # Columns
154    0028|0100 "8"                          # Bits Allocated
155    0028|0102 "7"                          # High Bit
156    0028|0103 "0"                          # Pixel Representation
157    0008|0060 "CT"                         # Modality
158    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
159    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:796 Length:262144 x(40000)"
160 ]
161
162 [ CT-MONO2-12-lomb-an2.acr
163    # - Particularities:
164    #   * "Transfer Syntax UID" is absent.
165    #   * "Photometric Interpretation" is absent.
166    0008|0070 "SIEMENS "                   # Manufacturer
167    0008|1090 "SOMATOM PLUS 4"             # Manufacturer's Model Name
168    0028|0101 "12"                         # Bits Stored
169    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
170    0028|0010 "512"                        # Rows
171    0028|0011 "512"                        # Columns
172    0028|0100 "16"                         # Bits Allocated
173    0028|0102 "11"                         # High Bit
174    0028|0103 "0"                          # Pixel Representation
175    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
176    0008|0060 "CT"                         # Modality
177    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1230 Length:524288 x(80000)"
178 ]
179
180 [ CT-MONO2-16-chest.dcm
181    # - Particularities:
182    #   * jpeg compression [Lossless, hierar., first-order prediction
183    #     (Process 14, Selection Value 1) ]
184    #   * "Transfer Syntax UID" is absent.
185    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
186    0008|1090 "HiSpeed "                   # Manufacturer's Model Name
187    0028|0101 "16"                         # Bits Stored
188    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
189    0028|0010 "400"                        # Rows
190    0028|0011 "512"                        # Columns
191    0028|0100 "16"                         # Bits Allocated
192    0028|0102 "15"                         # High Bit
193    0028|0103 "1"                          # Pixel Representation
194    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
195                                           #                  process (2,4)
196    0008|0060 "CT"                         # Modality
197    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1638 Length:143498 x(2308a)"
198 ]
199
200 ############################################################
201 ### As taken from Sebastien Barre's Dicom2 (see note above).
202 ### MR modality examples:
203 ### Note: MR-MONO2-16-knee is not present in the test suite
204 ###       since it is too closely related to
205 ###       MR-MONO2-16-head.dcm to be of interest.
206 ############################################################
207 [ MR-MONO2-12-angio-an1.acr
208    # - Particularities:
209    #   * "Photometric Interpretation" is absent.
210    #   * "Transfer Syntax UID" is absent.
211    0008|0070 "Philips "                   # Manufacturer
212    0008|1090 "T5"                         # Manufacturer's Model Name
213    0028|0101 "12"                         # Bits Stored
214    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
215    0028|0010 "256"                        # Rows
216    0028|0011 "256"                        # Columns
217    0028|0100 "12"                         # Bits Allocated
218    0028|0102 "11"                         # High Bit
219    0028|0103 "0"                          # Pixel Representation
220    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
221    0008|0060 "MR"                         # Modality
222    # Note: 256*256*12/8 = 98304 i.e.
223    #       Rows * Columns * Bits_Stored / (8 bits per pixel) = Length in bytes
224    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:650 Length:98304 x(18000)"
225 ]
226
227 [ MR-MONO2-12-an2.acr
228    # - Particularities:
229    #   * "Transfer Syntax UID" is absent.
230    0008|0070 "SIEMENS "                   # Manufacturer
231    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
232    0028|0101 "12"                         # Bits Stored
233    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
234    0028|0010 "256"                        # Rows
235    0028|0011 "256"                        # Columns
236    0028|0100 "16"                         # Bits Allocated
237    0028|0102 "11"                         # High Bit
238    0028|0103 "0"                          # Pixel Representation
239    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
240    0008|0060 "MR"                         # Modality
241    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1866 Length:131072 x(20000)"
242 ]
243
244 [ MR-MONO2-16-head.dcm
245    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
246    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
247    0028|0101 "16"                         # Bits Stored
248    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
249    0028|0010 "256"                        # Rows
250    0028|0011 "256"                        # Columns
251    0028|0100 "16"                         # Bits Allocated
252    0028|0102 "15"                         # High Bit
253    0028|0103 "1"                          # Pixel Representation
254    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
255    0008|0060 "MR"                         # Modality
256    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1804 Length:131072 x(20000)"
257 ]
258
259 [ MR-MONO2-12-shoulder.dcm
260    # - Particularities:
261    #   * jpeg encoding (see "Transfer Syntax UID" tag)
262    0008|0070 "Philips Medical Systems "   # Manufacturer
263    0008|1090 "Gyroscan NT "              # Manufacturer's Model Name
264    0028|0101 "12"                         # Bits Stored
265    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
266    0028|0010 "1024"                       # Rows
267    0028|0011 "1024"                       # Columns
268    0028|0100 "16"                         # Bits Allocated
269    0028|0102 "11"                         # High Bit
270    0028|0103 "0"                          # Pixel Representation
271    0002|0010 "1.2.840.10008.1.2.4.57"     # Transfer Syntax: jpeg,
272                                           #         Lossless, non-hierar. (14)
273    0008|0060 "MR"                         # Modality
274    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1580 Length:718948 x(af864)"
275 ]
276
277 ############################################################
278 ### As taken from Sebastien Barre's Dicom2 (see note above).
279 ### OT modality examples:
280 ### Note: OT-MONO2-8-hip and OT-MONO2-8-colon are not
281 ###       present in the test suite since they are too
282 ###       closely related to OT-MONO2-8-a7 to be of
283 ###       interest.
284 ############################################################
285 [ OT-PAL-8-face.dcm
286    # - Particularities:
287    #   * has a color palette (see Photometric Interpretation)
288    #   * "Manufacturer" is absent.
289    #   * "Manufacturer's Model Name" is absent.
290    0008|0070 "gdcm::Unfound"            # Manufacturer
291    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
292    0028|0101 "8"                          # Bits Stored
293    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
294    0028|0010 "480"                        # Rows
295    0028|0011 "640"                        # Columns
296    0028|0100 "8"                          # Bits Allocated
297    0028|0102 "7"                          # High Bit
298    0028|0103 "0"                          # Pixel Representation
299    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
300    0008|0060 "OT"                         # Modality
301    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1654 Length:307200 x(4b000)"
302 ]
303
304 [ OT-MONO2-8-a7.dcm
305    # - Particularities:
306    #   * "Manufacturer's Model Name" is absent.
307    #   * "Transfer Syntax UID" is absent.
308    0008|0070 "Philips Medical Systems "   # Manufacturer
309    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
310    0028|0101 "8"                          # Bits Stored
311    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
312    0028|0010 "512"                        # Rows
313    0028|0011 "512"                        # Columns
314    0028|0100 "8"                          # Bits Allocated
315    0028|0102 "7"                          # High Bit
316    0028|0103 "0"                          # Pixel Representation
317    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
318    0008|0060 "OT"                         # Modality
319    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:438 Length:262144 x(40000)"
320 ]
321
322 ############################################################
323 ### As taken from Sebastien Barre's Dicom2 (see note above).
324 ### US modality examples:
325 ############################################################
326 [ US-RGB-8-esopecho.dcm
327    # - Particularities:
328    #   * RGB image (see Photometric Interpretation)
329    #   * "Manufacturer's Model Name" is absent.
330    0008|0070 "Acme Products "             # Manufacturer
331    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
332    0028|0101 "8"                          # Bits Stored
333    0028|0004 "RGB "                       # Photometric Interpretation
334    0028|0010 "120"                        # Rows
335    0028|0011 "256"                        # Columns
336    0028|0100 "8"                          # Bits Allocated
337    0028|0102 "7"                          # High Bit
338    0028|0103 "0"                          # Pixel Representation
339    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
340    0008|0060 "US"                         # Modality
341    # Note: since "Planar configuration" is 0, the Pixels are layed out
342    #       as RGB, RGB, RGB... (as opposed to US-RGB-8-epicard.dcm)
343    0028|0006 "0"                          # Planar Configuration
344    0028|0002 "3"                          # Samples per Pixel
345    # Note: - 120 * 256 * 3 = 92160 i.e.
346    #       Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
347    #       "Samples per Pixel" is 3 since this is an RGB image (see
348    #       "Photometric Interpretation" entry).
349    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:904 Length:92160 x(16800)"
350 ]
351
352 [ US-RGB-8-epicard.dcm
353    # - Particularities:
354    #   * Big Endian transfer syntax
355    #   * RGB image (see Photometric Interpretation)
356    0008|0070 "G.E. Medical Systems"       # Manufacturer
357    0008|1090 "LOGIQ 700 "                 # Manufacturer's Model Name
358    0028|0101 "8"                          # Bits Stored
359    0028|0004 "RGB "                       # Photometric Interpretation
360    0028|0010 "480"                        # Rows
361    0028|0011 "640"                        # Columns
362    0028|0100 "8"                          # Bits Allocated
363    0028|0102 "7"                          # High Bit
364    0028|0103 "0"                          # Pixel Representation
365    0002|0010 "1.2.840.10008.1.2.2"        # Transfer Syntax: Big Endian
366    0008|0060 "US"                         # Modality
367    # Note: since "Planar configuration" is 1, the Pixels are layed out
368    #       as Plane R, Plane G, Plane B (as opposed to US-RGB-8-esopecho.dcm).
369    0028|0006 "1"                          # Planar Configuration
370    0028|0002 "3"                          # Samples per Pixel
371    # Note: 480 * 640 * 3 = 921600 i.e.
372    #       Rows * Columns * Samples_per_Pixel = Total_number_of_bytes
373    #       "Samples per Pixel" is 3 since this is an RGB image (see
374    #       "Photometric Interpretation" entry).
375    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1012 Length:921600 x(e1000)"
376 ]
377
378 ############################################################
379 ### Multi-frame images: the number of images is contained
380 ### in the "Number of Frames" tag. Note that this tag may
381 ### a value representation of "IS" which implies it's
382 ### content can be padded wich an extra space (refer to
383 ### US-PAL-8-10x-echo.dcm for an example).
384 ############################################################
385 [ MR-MONO2-8-16x-heart.dcm
386    # - Particularities:
387    #   * Multiframe image (see Number of Frames tag)
388    #   * "Manufacturer's Model Name" is absent.
389    0008|0070 "Philips "                   # Manufacturer
390    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
391    0028|0101 "8"                          # Bits Stored
392    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
393    0028|0010 "256"                        # Rows
394    0028|0011 "256"                        # Columns
395    0028|0100 "8"                          # Bits Allocated
396    0028|0102 "7"                          # High Bit
397    0028|0103 "0"                          # Pixel Representation
398    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
399    0008|0060 "MR"                         # Modality
400    0028|0008 "16"                         # Number of Frames
401    # Note: 256 * 256 * 16 = 1048576 i.e.
402    #       Rows * Columns * Number_of_Frames = Total_number_of_bytes
403    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:920 Length:1048576 x(100000)"
404 ]
405
406 [ NM-MONO2-16-13x-heart.dcm
407    # - Particularities:
408    #   * Multiframe image (see Number of Frames tag)
409    0008|0070 "ACME Products "             # Manufacturer
410    0008|1090 "P3000 "                     # Manufacturer's Model Name
411    0028|0101 "16"                         # Bits Stored
412    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
413    0028|0010 "64"                         # Rows
414    0028|0011 "64"                         # Columns
415    0028|0100 "16"                         # Bits Allocated
416    0028|0102 "15"                         # High Bit
417    0028|0103 "0"                          # Pixel Representation
418    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
419    0008|0060 "NM"                         # Modality
420    0028|0008 "13"                         # Number of Frames
421    # Note: 64 * 64 * 13 * 2 = 106496 i.e.
422    #       Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
423    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1234 Length:106496 x(1a000)"
424 ]
425
426 [ US-MONO2-8-8x-execho.dcm
427    # - Particularities:
428    #   * Multiframe image (see Number of Frames tag)
429    #   * Note the extra space for the Number of Frames tag: this is because
430    #     the value representation of this tag "IS"...
431    0008|0070 "Acme Products "             # Manufacturer
432    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
433    0028|0101 "8"                          # Bits Stored
434    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
435    0028|0010 "120"                        # Rows
436    0028|0011 "128"                        # Columns
437    0028|0100 "8"                          # Bits Allocated
438    0028|0102 "7"                          # High Bit
439    0028|0103 "0"                          # Pixel Representation
440    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
441    0008|0060 "US"                         # Modality
442    0028|0008 "8 "                         # Number of Frames
443    # Note: 120 * 128 * 8 * 1 = 122880 i.e.
444    #       Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
445    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:976 Length:122880 x(1e000)"
446 ]
447
448 [ US-PAL-8-10x-echo.dcm
449    # - Particularities:
450    #   * Has a color palette (see "Photometric Interpretation" tag)
451    #   * compressed as RLE Lossless (Run Length Encoded) (see Transfer Syntax)
452    #   * Multiframe image (see Number of Frames tag)
453    0008|0070 "ACME Products "             # Manufacturer
454    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
455    0028|0101 "8"                          # Bits Stored
456    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
457    0028|0010 "430"                        # Rows
458    0028|0011 "600"                        # Columns
459    0028|0100 "8"                          # Bits Allocated
460    0028|0102 "7"                          # High Bit
461    0028|0103 "0"                          # Pixel Representation
462    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
463    0008|0060 "US"                         # Modality
464    0028|0008 "10"                         # Number of Frames
465    # Note: 430 * 600 * 8 != 481182 because of compression !
466    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2428 Length:481182 x(7579e)"
467 ]
468
469 [ XA-MONO2-8-12x-catheter.dcm
470    # - Particularities:
471    #   * jpeg compression [Lossless, hierar., first-order prediction
472    #     (Process 14, Selection Value 1) ]
473    #   * Multiframe image (see Number of Frames tag)
474    #   * XA Modality
475    0008|0070 "Acme Products "             # Manufacturer
476    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
477    0028|0101 "8"                          # Bits Stored
478    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
479    0028|0010 "512"                        # Rows
480    0028|0011 "512"                        # Columns
481    0028|0100 "8"                          # Bits Allocated
482    0028|0102 "7"                          # High Bit
483    0028|0103 "0"                          # Pixel Representation
484    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
485                                           #                  process (2,4)
486    0008|0060 "XA"                         # Modality
487    0028|0008 "12"                         # Number of Frames
488    # Note: 512 * 512 * 12 != 920072 because of compression !
489    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1006 Length:920072 x(e0a08)"
490 ]
491
492 [ PHILIPS_Integris_V-10-MONO2-Multiframe.dcm
493    # - Particularities:
494    #   * Multiframe image (see Number of Frames tag)
495    #   * the private tags are NOT in Explicit VR
496    #   * allmost groups (this is not the case of group 0x0008) contain
497    #     a "Group Length" tag (*, 0x0000)
498    #   * Pixel data encoded on 10 bits.
499    0008|0070 "Philips Medical Systems (Netherlands) "    # Manufacturer
500    0008|1090 "P H I L I P S     INTEGRIS V" # Manufacturer's Model Name
501    0028|0101 "10"                         # Bits Stored
502    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
503    0028|0010 "1024"                       # Rows
504    0028|0011 "1024"                       # Columns
505    0028|0100 "16"                         # Bits Allocated
506    0028|0102 "9"                          # High Bit
507    0028|0103 "0"                          # Pixel Representation
508    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
509    0008|0060 "XA"                         # Modality
510    0028|0008 "31"                         # Number of Frames
511    # Note: 1024 * 1024 * 31 * 2 = 65011712 i.e.
512    #       Rows * Columns * Number_of_Frames * Bits_Allocated / 8 yields
513    #       the total number of bytes.
514   7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:4114 Length:65011712 x(3e00000)"
515 ]
516
517 [ GE_DLX-8-MONO2-Multiframe.dcm
518    # - Particularities:
519    #   * Multiframe image (see Number of Frames tag)
520    #   * the private tags are NOT in Explicit VR
521    #   * allmost groups (this is not the case of group 0x0008) contain
522    #     a "Group Length" tag (*, 0x0000)
523    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
524    0008|1090 "DLX "                       # Manufacturer's Model Name
525    0028|0101 "8"                          # Bits Stored
526    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
527    0028|0010 "512"                        # Rows
528    0028|0011 "512"                        # Columns
529    0028|0100 "8"                          # Bits Allocated
530    0028|0102 "7"                          # High Bit
531    0028|0103 "0"                          # Pixel Representation
532    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
533    0008|0060 "XA"                         # Modality
534    0028|0008 "56"                         # Number of Frames
535    # Note: 512 * 512 * 56 = 14680064 i.e.
536    #       Rows * Columns * Number_of_Frames = Total_number_of_bytes.
537    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:4984 Length:14680064 x(e00000)"
538 ]
539
540 [ ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm
541    # - Particularities:
542    #   * Jpeg Baseline (Process 1) encoding.
543    #   * YBR_FULL_422 encoding and hence "Samples per Pixel" tag is 3 
544    #     (see "Photometric Interpretation" entry).
545    #   * has a sequence.
546    #   * WITHIN this sequence at tag (0x0018, 0x6011) we encounter
547    #     tags [e.g. (0x0018, 0x602c) ] with "FD" as value representation
548    #     that are "non printable" when interpreted as characters. "Non
549    #     printable" stands for "contains control characters that corrupts
550    #     a majority of UN*X shells"...
551    #   * Multiframe image (see Number of Frames tag)
552    0008|0070 "ACUSON"                     # Manufacturer
553    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
554    0028|0101 "8"                          # Bits Stored
555    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
556    0028|0010 "576"                        # Rows
557    0028|0011 "768"                        # Columns
558    0028|0100 "8"                          # Bits Allocated
559    0028|0102 "7"                          # High Bit
560    0028|0103 "0"                          # Pixel Representation
561    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: JPEG Baseline
562                                           #                  (Process 1)
563    0008|0060 "US"                         # Modality
564    0028|0002 "3"                          # Samples per Pixel
565    0028|0008 "40"                         # Number of Frames
566    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1872 Length:3291746 x(323a62)"
567 ]
568
569 ############################################################
570 ### ACR NEMA version 1.0 (ONE!) format:
571 ############################################################
572 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
573    # - Particularities:
574    #   * old (circa 1991) ACR NEMA version 1.0 format.
575    #   * apparently broken pixel data (see below)
576    #   * Pixel Representation (0028|0103) is absent
577    #   * wierd padding of "Manufacturer's Model Name" tag
578    #   * Group 20 does NOT contain:
579    #      - "Study"
580    #      - "Serie Instance UID"
581    #     Within this group, the following entries are empty:
582    #      - "Study"
583    #      - "Series Number"
584    #
585    # - This image pixel data looks corrupted, in the sense that the
586    #   following sizes do NOT match (as expected):
587    #   * it's pixel data is 132096 bytes long
588    #   * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
589    #     of 256*256*2 = 131072 bytes.
590    # - Because of this missmatch, TestReadWriteReadCompare segfaults
591    #   on this image.
592    #   In details, when segfault occurs we have the following call stack:
593    #       gdcmFile::GetImageData()
594    #          PixelData = new uint8_t[ImageDataSize];
595    #          \--->::GetImageDataIntoVector(destination, ImageDataSize)
596    #           \---> ::ReadPixelData(destination)
597    #            \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
598    #   which causes the segfault because :
599    #       - destination is ImageDataSize i.e. 131072 bytes long
600    #       - Header->GetPixelAreaLength() = 132096 bytes long
601    0008|0070 "SIEMENS "                   # Manufacturer
602    0008|1090 "GBS III     "               # Manufacturer's Model Name
603    0028|0101 "12"                         # Bits Stored
604    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
605    0028|0010 "256"                        # Rows
606    0028|0011 "256"                        # Columns
607    0028|0100 "16"                         # Bits Allocated
608    0028|0102 "11"                         # High Bit
609    0028|0103 "0"                          # Pixel Representation
610    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
611    0008|0060 "MR"                         # Modality
612    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)"
613 ]
614
615 [ gdcm-MR-SIEMENS-16-1.acr
616    # - Particularities:
617    #   * old (circa 1991) ACR NEMA version 1.0 format.
618    #   * the image pixel data looks corrupted (see below)
619    #   * wierd padding of "Manufacturer's Model Name" tag
620    #   * "Photometric Interpretation" tag is absent
621    #   * Group 20 does NOT contain:
622    #      - "Study"
623    #      - "Serie Instance UID"
624    0008|0070 "SIEMENS "                   # Manufacturer
625    0008|1090 "GBS III     "               # Manufacturer's Model Name
626    0028|0101 "12"                         # Bits Stored
627    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
628    0028|0010 "256"                        # Rows
629    0028|0011 "256"                        # Columns
630    0028|0100 "16"                         # Bits Allocated
631    0028|0102 "11"                         # High Bit
632    0028|0103 "0"                          # Pixel Representation
633    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
634    0008|0060 "MR"                         # Modality
635    # Note: the image pixel data looks corrupted in the sense that the
636    #       following sizes do NOT match (as expected):
637    #       - it's pixel data is 132096 bytes long
638    #       - it has a size of 256x256 with 16 bytes per pixel, i.e. a size
639    #         of 256*256*2 = 131072 bytes.
640    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)"
641 ]
642
643 ############################################################
644 ### ACR NEMA version 2.0 (TWO!) format:
645 ############################################################
646 [ gdcm-MR-SIEMENS-16-2.acr
647    # - Particularities:
648    #   * old (circa 2000) ACR NEMA version 2.0 format.
649    #   * wierd padding of "Series Number" tag
650    0008|0070 "SIEMENS "                   # Manufacturer
651    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
652    0028|0101 "12"                         # Bits Stored
653    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
654    0028|0010 "512"                        # Rows
655    0028|0011 "512"                        # Columns
656    0028|0100 "16"                         # Bits Allocated
657    0028|0102 "11"                         # High Bit
658    0028|0103 "0"                          # Pixel Representation
659    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
660    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
661    0008|0060 "MR"                         # Modality
662    0020|0011 "     7"                     # Series Number
663    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)"
664 ]
665
666 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
667    # - Particularities:
668    #   * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
669    #     "Study Instance UID", "Study ID", "Series Number" and
670    #     "Serie Instance UID"
671    0008|0070 "SIEMENS "                   # Manufacturer
672    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
673    0028|0101 "12"                         # Bits Stored
674    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
675    0028|0010 "512"                        # Rows
676    0028|0011 "512"                        # Columns
677    0028|0100 "16"                         # Bits Allocated
678    0028|0102 "11"                         # High Bit
679    0028|0103 "0"                          # Pixel Representation
680    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
681    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
682    0008|0060 "MR"                         # Modality
683    0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
684    0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
685                                                               #     UID
686    0020|0011 "     7"                     # Series Number
687    0020|0010 "     1"                     # Study ID
688    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)"
689 ]
690
691 [ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
692    # - Particularities:
693    #   * ACR NEMA version 2.0 (circa 1994) format allthough the
694    #     "Recognition Code" is absent.
695    #   * all the groups are missing their "Group Length" tag i.e. no
696    #     tag of the form (*, 0x0000) present.
697    0008|0070 "Toshiba "                   # Manufacturer
698    0008|1090 "MRT150"                     # Manufacturer's Model Name
699    0028|0101 "16"                         # Bits Stored
700    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
701    0028|0010 "512"                        # Rows
702    0028|0011 "512"                        # Columns
703    0028|0100 "16"                         # Bits Allocated
704    0028|0102 "15"                         # High Bit
705    0028|0103 "0"                          # Pixel Representation
706    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
707    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
708    0008|0060 "MR"                         # Modality
709    0020|0011 "7 "                         # Series Number
710    0020|0010 "Run264.6653 "               # Study ID
711    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1130 Length:524288 x(80000)"
712 ]
713
714 [ FUJI-10-MONO1-ACR_NEMA_2.dcm
715    # - Particularities:
716    #   * ACR NEMA version 2.0 (circa 1995) format allthough the
717    #     "Recognition Code" is absent.
718    #   * large 1670x2010 image
719    0008|0070 "FUJI PHOTO FILM CO. LTD."   # Manufacturer
720    0008|1090 "CR201 "                     # Manufacturer's Model Name
721    0028|0101 "10"                         # Bits Stored
722    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
723    0028|0010 "2010"                       # Rows
724    0028|0011 "1670"                       # Columns
725    0028|0100 "16"                         # Bits Allocated
726    0028|0102 "9"                          # High Bit
727    0028|0103 "0"                          # Pixel Representation
728    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
729    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
730    0008|0060 "CR"                         # Modality
731    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:862 Length:6713400 x(667038)"
732 ]
733
734 #############################################################################
735 ### Images with various oddities...             
736 #############################################################################
737 [ gdcm-US-ALOKA-16.dcm
738    # - Particularities:
739    #   * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
740    #     Red and Blue.
741    #   * announced as implicit VR, but really explicit VR !
742    #   * has a color palette (see Photometric Interpretation)
743    0008|0070 "ALOKA CO., LTD. "            # Manufacturer
744    0008|1090 "SSD-4000"                   # Manufacturer's Model Name
745    0028|0101 "16"                         # Bits Stored
746    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
747    0028|0010 "480"                        # Rows
748    0028|0011 "640"                        # Columns
749    0028|0100 "16"                         # Bits Allocated
750    0028|0102 "15"                         # High Bit
751    0028|0103 "0"                          # Pixel Representation
752    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
753    0008|0060 "US"                         # Modality
754    # The Segmented Palette Color Lookup Table Data:
755    # Red
756    0028|1221 "gdcm::NotLoaded (BinEntry) Address:1750 Length:87818 x(1570a)"
757    # Green
758    0028|1222 "gdcm::NotLoaded (BinEntry) Address:89576 Length:113784 x(1bc78)"
759    # Blue
760    0028|1223 "gdcm::NotLoaded (BinEntry) Address:203368 Length:55364 x(d844)"
761    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:258740 Length:614400 x(96000)"
762 ]
763
764 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
765    # - Particularities:
766    #   * dicom file, with a recognition code of ACR-NEMA1
767    #   * Highly nested sequence (6 sublevels) with an impressive size
768    #     of 28808 bytes at tag (0x0029, 0x263d)
769    #   * possesses many sequences in group 0x0029
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 (BinEntry) Address:35846 Length: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 the Manufacturer related info
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 (BinEntry) Address:740 Length: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    0008|0070 "Philips Medical Systems "   # Manufacturer
813    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
814    0028|0101 "12"                         # Bits Stored
815    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
816    0028|0010 "64"                         # Rows
817    0028|0011 "160"                        # Columns
818    0028|0100 "16"                         # Bits Allocated
819    0028|0102 "11"                         # High Bit
820    0028|0103 "0"                          # Pixel Representation
821    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
822    0008|0060 "MR"                         # Modality
823    0028|0030 " 0.487416\0.194966"         # Pixel Spacing
824    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:5010 Length:20480 x(5000)"
825 ]
826
827 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
828    # - Particularities:
829    #   * contains a tag with value multiplicity bigger than 1: the
830    #     tag (0x0018, 0x1310) has "US" as value representation BUT
831    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
832    0008|0070 "SIEMENS "                   # Manufacturer
833    0008|1090 "Sonata"                     # Manufacturer's Model Name
834    0028|0101 "12"                         # Bits Stored
835    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
836    0028|0010 "208"                        # Rows
837    0028|0011 "256"                        # Columns
838    0028|0100 "16"                         # Bits Allocated
839    0028|0102 "11"                         # High Bit
840    0028|0103 "0"                          # Pixel Representation
841    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
842    0008|0060 "MR"                         # Modality
843    0018|1310 "256\0\0\166"                # Acquisition Matrix
844    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:25686 Length:106496 x(1a000)"
845 ]
846
847 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
848    # - Particularities:
849    #   * looks like a DICOM V3 image but it misses the proper file
850    #     file preamble (of 200 bytes).
851    0008|0070 "Picker International, Inc." # Manufacturer
852    0008|1090 "HF1006"                     # Manufacturer's Model Name
853    0028|0101 "16"                         # Bits Stored
854    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
855    0028|0010 "512"                        # Rows
856    0028|0011 "512"                        # Columns
857    0028|0100 "16"                         # Bits Allocated
858    0028|0102 "15"                         # High Bit
859    0028|0103 "1"                          # Pixel Representation
860    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
861    0008|0060 "MR"                         # Modality
862    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1406 Length:524288 x(80000)"
863 ]
864
865 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
866    # - Particularities:
867    #   * Contains an odd sequence at tag (0x0008, 0x1140).
868    #     JPR FIXME: in what sense is it odd ???
869    0008|0070 "Philips Medical Systems "   # Manufacturer
870    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
871    0028|0101 "8"                          # Bits Stored
872    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
873    0028|0010 "256"                        # Rows
874    0028|0011 "256"                        # Columns
875    0028|0100 "16"                         # Bits Allocated
876    0028|0102 "7"                          # High Bit
877    0028|0103 "0"                          # Pixel Representation
878    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
879    0008|0060 "MR"                         # Modality
880    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6584 Length:131072 x(20000)"
881 ]
882
883 [ PICKER-16-MONO2-Nested_icon.dcm
884    # - Particularities:
885    #   * contains TWO images:
886    #     - the original image 512x512
887    #     - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200)
888    #     This implies this image contains two 7fe0|0010 (among one is
889    #     burried in a sequence), two "Rows" entries, two "Columns" entries...
890    #     This makes it impossible to use the name of tag (e.g. Rows) as
891    #     as a key of dictionaries build on top of such an image....
892    0008|0070 "PICKER"                     # Manufacturer
893    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
894    0028|0101 "12"                         # Bits Stored
895    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
896    0028|0010 "512"                        # Rows
897    0028|0011 "512"                        # Columns
898    0028|0100 "16"                         # Bits Allocated
899    0028|0102 "11"                         # High Bit
900    0028|0103 "0"                          # Pixel Representation
901    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
902    0008|0060 "CT"                         # Modality
903    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:18228 Length:524288 x(80000)"
904 ]
905
906 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
907    # - Particularities:
908    #   * within the sequence at tag (0x0028, 0x3000) we encounter
909    #     an "Item Delimitation" (0xfffe, 0xe00d) followed by an
910    #     "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after
911    #     the tag (0x0028, 0x3006) !!!
912    #   * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
913    #     (0x0008, 0x0010) is present].
914    0008|0070 "Kodak "                     # Manufacturer
915    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
916    0028|0101 "12"                         # Bits Stored
917    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
918    0028|0010 "2392"                       # Rows
919    0028|0011 "1792"                       # Columns
920    0028|0100 "16"                         # Bits Allocated
921    0028|0102 "11"                         # High Bit
922    0028|0103 "0"                          # Pixel Representation
923    0002|0010 "gdcm::Unfound"              # Transfer Syntax: Implicit VR, LE
924    0008|0060 "CR"                         # Modality
925    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:9134 Length:8572928 x(82d000)"
926 ]
927
928
929 ############################################################
930 ### Jpeg compressed images.
931 ############################################################
932 [ gdcm-JPEG-Extended.dcm
933    # - Particularities:
934    #   * jpeg compression [Extended Process (2,4)]
935    #   * probably contains additional data after the pixels (see comments
936    #     of the gdcm-JPEG-LossLess3a.dcm entry)
937    0008|0070 "SIEMENS "                   # Manufacturer
938    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
939    0028|0101 "12"                         # Bits Stored
940    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
941    0028|0010 "512"                        # Rows
942    0028|0011 "512"                        # Columns
943    0028|0100 "16"                         # Bits Allocated
944    0028|0102 "11"                         # High Bit
945    0028|0103 "0"                          # Pixel Representation
946    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
947                                           #                  process (2,4)
948    0008|0060 "CT"                         # Modality
949    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2946 Length:192218 x(2eeda)"
950 ]
951
952 [ gdcm-JPEG-Extended-Allready_present.dcm
953    # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
954    #            terms of features (actually I suspect gdcm-JPEG-Extended.dcm
955    #            is the anoymized version of this one)...
956    # - Particularities:
957    #   * jpeg compression [Extended Process (2,4)]
958    0008|0070 "SIEMENS "                   # Manufacturer
959    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
960    0028|0101 "12"                         # Bits Stored
961    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
962    0028|0010 "512"                        # Rows
963    0028|0011 "512"                        # Columns
964    0028|0100 "16"                         # Bits Allocated
965    0028|0102 "11"                         # High Bit
966    0028|0103 "0"                          # Pixel Representation
967    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
968                                           #                  process (2,4)
969    0008|0060 "CT"                         # Modality
970    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2946 Length:192218 x(2eeda)"
971 ]
972
973 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
974    # - Particularities:
975    #   * jpeg compression [Extended Process (2,4)]
976    0008|0070 "SIEMENS "                   # Manufacturer
977    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
978    0028|0101 "12"                         # Bits Stored
979    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
980    0028|0010 "512"                        # Rows
981    0028|0011 "512"                        # Columns
982    0028|0100 "16"                         # Bits Allocated
983    0028|0102 "11"                         # High Bit
984    0028|0103 "0"                          # Pixel Representation
985    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
986                                           #                  process (2,4)
987    0008|0060 "CT"                         # Modality
988    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:3044 Length:66978 x(105a2)"
989 ]
990
991 [ gdcm-JPEG-LossLess3a.dcm
992    # - Particularities:
993    #   * jpeg compression [Lossless, hierar., first-order prediction 
994    #     (Process 14, Selection Value 1) ]
995    #   * contains additional data after the pixels (see below)
996    #   * contains a sequence at tag (0x0008, 0x2112)
997    0008|0070 "SIEMENS "                   # Manufacturer
998    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
999    0028|0101 "12"                         # Bits Stored
1000    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1001    0028|0010 "512"                        # Rows
1002    0028|0011 "512"                        # Columns
1003    0028|0100 "16"                         # Bits Allocated
1004    0028|0102 "11"                         # High Bit
1005    0028|0103 "0"                          # Pixel Representation
1006    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1007                                           #                  process (2,4)
1008    0008|0060 "CT"                         # Modality
1009    # It looks like the pixel data are corrupted:
1010    # As stated by "od -A d -c"
1011    #   0002528     à 177 020 \0  O  B \0 \0   ÿ  ÿ   ÿ   ÿ þ  ÿ \0  à
1012    #   0002544    \0  \0  \0 \0  þ  ÿ \0  à 202  ? 003  \0  ÿ  Ø  ÿ  Ã
1013    # which we interpret as follows:
1014    #   - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1015    #   - 2532: OB i.e. encapsulated encoded Pixel Data,
1016    #   - 2534: Two bytes reserved,
1017    #   - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
1018    #   - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
1019    #           item tag
1020    #   - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1021    #           item value for offset table.
1022    #   - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
1023    #           fragment of (encoded) pixel data.
1024    #   - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1025    #           of (encoded) pixel data.
1026    # and so the next item tag should be found at the 2556+212866 th
1027    # octet i.e. at address 215422. But, as stated by od, we find:
1028    #   0215408   E   u Ö 026   Î   É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
1029    #   0215424   ¶ 016 P   Ñ 002 016
1030    # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
1031    # present (at least there should be a sequence delimiter), refer to
1032    # PS 3.5-2001 page 50.
1033    #
1034    # As stated by JPR in hexa:
1035    # at 9ec : ItemTag : fffe,e000
1036    # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1037    # at 9f4 : ItemTag : fffe,e000
1038    #         at 9f8 : fragment length 212866 x(00033f82)
1039    # at 3497e : ItemTag  b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1040    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2540 Length:212890 x(33f9a)"
1041 ]
1042
1043 [ gdcm-JPEG-LossLessThoravision.dcm
1044    # - Particularities:
1045    #   * jpeg compression [Lossless, hierar., first-order prediction
1046    #     (Process 14, Selection Value 1) ]
1047    #   * encoding is sligthly different from the one of entry
1048    #     gdcm-JPEG-LossLess3a.dcm (to check).
1049    #   * Large picture: 2076 by 1876 (I wonder what screens they have...)
1050    0008|0070 "Philips Medical Systems "   # Manufacturer
1051    0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1052    0028|0101 "15"                         # Bits Stored
1053    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1054    0028|0010 "2076"                       # Rows
1055    0028|0011 "1876"                       # Columns
1056    0028|0100 "16"                         # Bits Allocated
1057    0028|0102 "14"                         # High Bit
1058    0028|0103 "0"                          # Pixel Representation
1059    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1060                                           #                  process (2,4)
1061    0008|0060 "CR"                         # Modality
1062    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:3144 Length:4795668 x(492d14)"
1063 ]
1064
1065 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1066    # - Particularities:
1067    #   * jpeg compression [Extended Process (2,4)]
1068    #   * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1069    #     announces it as "ACR-NEMA 1.0" !
1070    0008|0070 "Philips Medical Systems "   # Manufacturer
1071    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1072    0028|0101 "12"                         # Bits Stored
1073    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1074    0028|0010 "512"                        # Rows
1075    0028|0011 "512"                        # Columns
1076    0028|0100 "16"                         # Bits Allocated
1077    0028|0102 "11"                         # High Bit
1078    0028|0103 "0"                          # Pixel Representation
1079    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1080                                           #                  process (2,4)
1081    0008|0060 "MR"                         # Modality
1082    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1083    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:5956 Length:46602 x(b60a)"
1084 ]
1085
1086 ###########################################################################
1087 ### JPR
1088 ### Images present in gdcmData but whose peculiarity is not documented
1089 ###########################################################################
1090 # 00191113.dcm
1091 # 012345.002.050.dcm
1092 # 16BitsJpegLosslessGrayScale.dcm
1093 # 16BitsRunLengthGrayScale.dcm
1094 # 16BitsUncompressedGrayScale.dcm
1095 # 24BitsJpegLosslessColor.dcm
1096 # 24BitsJpegLossyColor.dcm
1097 # 24BitsUncompressedColor.dcm
1098 # 3E768EB7.dcm
1099 # 8078283Leonardo.dcm
1100 # 8BitsJpegLossyGrayScale.dcm
1101 # 8BitsRunLengthColor.dcm
1102 # 8BitsRunLengthGrayScale.dcm
1103 # 8BitsUncompressedColor.dcm
1104 # 8BitsUncompressedGrayScale.dcm
1105 # canadaAloka.dcm
1106 # CLIP0001-Sequoia-U11.dcm
1107 # DermaColorLossLess.dcm
1108 # DICOMDIR
1109 # DicomSampleNastyGEImage.dcm
1110 # dicom-sc_cs-1.dcm
1111 # emptyImage.dcm
1112 # FMAG0001.dcm
1113 # fromTheralys.dcm
1114 # 9000001.dcm
1115 # IMG00001.dcm
1116 # lena128x128.acr
1117 # mriThruVPRO.dcm
1118 # MxTwinLossLess.dcm
1119 # QMAG0001.dcm
1120 # RadBWLossLess.dcm
1121 # test.acr
1122 # volSten.acr
1123 # xa_integris.dcm
1124
1125 ###########################################################################
1126 ### JPR
1127 # Images NOT in gdcmData anymore (lost, renamed or not commited ???)
1128 #############################################################################
1129 # jpeglossles1.dcm
1130 #               Jpeg LossLess
1131 #               True Dicom
1132 #               Explicit VR     
1133 #               SQ en (0008,2112)       
1134 #               contient peut etre (?!) des curiosités apres les Pixels 
1135 #               
1136 # jpeglossless2.dcm
1137 #               CR Thoravision Philips Cardio
1138 #               Jpeg LossLess
1139 #               True Dicom
1140 #               Explicit VR     
1141 #               Jpeg mal decodé par les fonctions utilisees
1142 #               
1143 # US.1.3.dcm
1144 #       Ces deux examens, correspondant a 2 patients differents ont le meme Study ID
1145 #
1146 # acusson.dcm
1147 #               Echographie single Frame
1148 #               True Dicom
1149 #               Explicit VR
1150 #               3 LUT (R, G, B)
1151 #
1152 # pixelNonRect.dcm
1153 #               Irm Philips Marseille
1154 #               True Dicom
1155 #               Explicit VR     
1156 #               les champs prives *sont* Explicit VR            
1157 #               les champs prives contiennent des caract non imprimables 
1158 #               Pixels non Rectangulaires       
1159 #               
1160 # sonata.dcm
1161 #               IRM Siemens Sonata (images taggees)
1162 #               SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois 
1163 #               
1164 # esrf1.dcm
1165 #               Vg Studio Max
1166 #               True Dicom
1167 #               Explicit VR     
1168 #               Manque 'Samples Per Pixel' pour etre lue par e-film     
1169 #               
1170 # jpeglossy3.dcm
1171 #               Jpeg Lossy
1172 #               Decodage non traite par mes fonctions
1173 #
1174 # imageEcat.ecat
1175 #               Image au format ECAT (Medecine Nucleaire)
1176 #               On n'y echapera pas encore tres longtemps, a celles la :-( 
1177 #