]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
To avoid pb when checking ou in "prune empty directory mode"
[gdcmData.git] / TestAllEntryVerifyReference.txt
1 # TestAllEntryVerifyReference.txt
2 #
3 # This file describes for (hopefully) all the images of this repository
4 # the Dicom field entries that we use for the test suite.
5 # Semantics:
6 #   For a given image file, we store the most sensible (to the state of
7 #   gdcm kernel) Dicom entries as a pair (key, value):
8 #   - key is the Dicom tag (i.e. the pair [group,element] represented
9 #     as a string (in hexadecimal with the pipe character acting as a
10 #     separator between the group and the element).
11 #   - value is the Dicom field that corresponds to the tag (and represented
12 #     as a string. For binary entries [like the Pixels (the tag is 7fe0|0010
13 #     usually)], which don't have a string representation, we use the
14 #     string constructed by gdcm e.g.
15 #         "gdcm::NotLoaded Address:776 Length:387200 x(5e880)".
16 # Format:
17 #   - Each image shall be contained in a block delimited by [ and ]
18 #     (square brackets). Nested blocks are an error.
19 #   - each (key, value) pair shall stand on a single line:
20 #     * key is of the form xxxx|yyyy (in hexadecimal) e.g. 0008|0060
21 #     * value is a string delimited by " (double quotes) e.g. "CR"
22 #   - the spaces are the one of C++ [i.e. space, TAB, endline (including
23 #     the empty line)...] 
24 #   - comments shall be preceded by # (sharp character) and be at the
25 #     end of meaningfull information
26 #   - All the information between blocks is discarded, but please use
27 #     the comment syntax (line for the lines you are just reading)
28 # Example:
29 #    [ filename.dcm
30 #      # some nice comments and problems of filename.dcm
31 #      0008|0060 "CR"   # Modality
32 #      0008|1090 "9000" # Manufacturer's model name
33 #      7fe0|0010 "gdcm::NotLoaded Address:776 Length:387200 x(5e880)"
34 #    ]
35 #    This info shall be discarded (and has no comment which is lack of taste)
36 #
37 #    [
38 #      otherFilename.dcm
39 #      # some really nice comments and documentation
40 #      0028|0010 "440"
41 #      0028|0011 "440" ] # Columns
42 #
43 #
44 # File naming conventions:
45 #  the general form shall be (unpresent or meaningfull field are optional)
46 #  [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[Description].EXT
47 #  where :
48 #   - [Manufacturer] represents at best the aquisition device. It can
49 #     can be a blend of the "Manufacturer" and "Manufacturer's Model Name"
50 #     Dicom entries.
51 #   - [BytesPerPixel] is the "Bits Stored" Dicom entry (or "Bits Allocated"
52 #     when "Bits Stored" is absent).
53 #   -[PhotoInterpretation] corresponds to the type of encoding of the image.
54 #     It is a short for the "Photometric Interpretation" Dicom entry e.g.
55 #     PAL (for "PALETTE COLOR"), RGB, YBR (for YBR_FULL),
56 #     YBR422 (for YBR_FULL_4220, MONO2 (for MONOCHROME2)...
57 #   - [SQ] when present indicates that the image contains a sequence.
58 #   - [Description] shall be a concise description of the features
59 #     specificities of the image (e.g. ACR_NEMA_1 to indicate it is an
60 #     old ACR Nema version 1 file format).
61 #   - .EXT is the extension and (allthough meaningless in terms of the
62 #     dicom standard) shall either be .acr (for ACR Nema version 1 and 2)
63 #     or .dcm for Dicom V3 images.
64 # Examples:
65 #   - SIEMENS_GBS_III-16-ACR_NEMA_1.acr does it's best to express
66 #     that this image was produced by a SIEMENS (manufacturer) "GBS III"
67 #     (model name) imaging device. It is encoded on 16 bits per pixel,
68 #     has no "Photometric Interpretation", no sequence, and uses the
69 #     old ACR Nema version 1 file format.
70 #
71 # Note: The files whose name starts with a modality (e.g. CR-MONO1-10-chest.dcm)
72 #       are taken from Sebastien Barre's Dicom2 highly recommendable site
73 #       http://www.barre.nom.fr/medical/samples/index.html
74
75 ############################################################
76 ### As taken from Sebastien Barre's Dicom2 (see note above).
77 ### CR modality examples:
78 ############################################################
79 [ CR-MONO1-10-chest.dcm
80    # - Particularities:
81    #   * "Transfer Syntax UID" is absent.
82    0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
83    0008|1090 "9000"                     # Manufacturer's Model Name
84    0028|0101 "10"                       # Bits Stored
85    0028|0004 "MONOCHROME1 "             # Photometric Interpretation
86    0028|0010 "440"                      # Rows
87    0028|0011 "440"                      # Columns
88    0028|0100 "16"                       # Bits Allocated
89    0028|0102 "9"                        # High Bit
90    0028|0103 "0"                        # Pixel Representation
91    0002|0010 "gdcm::Unfound"            # Transfer Syntax UID
92    0008|0060 "CR"                       # Modality
93    7fe0|0010 "gdcm::NotLoaded Address:776 Length:387200 x(5e880)"
94 ]
95
96 ############################################################
97 ### As taken from Sebastien Barre's Dicom2 (see note above).
98 ### CT modality examples:
99 ############################################################
100 [ CT-MONO2-16-brain.dcm
101    0008|0070 "Picker International, Inc." # Manufacturer
102    0008|1090 "PQ5000"                     # Manufacturer's Model Name
103    0028|0101 "16"                         # Bits Stored
104    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
105    0028|0010 "512"                        # Rows
106    0028|0011 "512"                        # Columns
107    0028|0100 "16"                         # Bits Allocated
108    0028|0102 "15"                         # High Bit
109    0028|0103 "1"                          # Pixel Representation
110    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
111    0008|0060 "CT"                         # Modality
112    7fe0|0010 "gdcm::NotLoaded Address:1680 Length:524288 x(80000)"
113 ]
114
115 [ CT-MONO2-16-ort.dcm
116    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
117    0008|1090 "HiSpeed CT/i"               # Manufacturer's Model Name
118    0028|0101 "16"                         # Bits Stored
119    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
120    0028|0010 "512"                        # Rows
121    0028|0011 "512"                        # Columns
122    0028|0100 "16"                         # Bits Allocated
123    0028|0102 "15"                         # High Bit
124    0028|0103 "1"                          # Pixel Representation
125    0008|0060 "CT"                         # Modality
126    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
127    7fe0|0010 "gdcm::NotLoaded Address:1674 Length:524288 x(80000)"
128 ]
129
130 [ CT-MONO2-16-ankle.dcm 
131    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
132    0008|1090 "GENESIS_ZEUS"               # Manufacturer's Model Name
133    0028|0101 "16"                         # Bits Stored
134    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
135    0028|0010 "512"                        # Rows
136    0028|0011 "512"                        # Columns
137    0028|0100 "16"                         # Bits Allocated
138    0028|0102 "15"                         # High Bit
139    0028|0103 "1"                          # Pixel Representation
140    0008|0060 "CT"                         # Modality
141    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
142    7fe0|0010 "gdcm::NotLoaded Address:1148 Length:524288 x(80000)"
143 ]
144
145 [ CT-MONO2-8-abdo.dcm
146    # - Particularities:
147    #   * "Manufacturer's Model Name" is absent.
148    0008|0070 "FUJI"                       # Manufacturer
149    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
150    0028|0101 "8"                          # Bits Stored
151    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
152    0028|0010 "512"                        # Rows
153    0028|0011 "512"                        # Columns
154    0028|0100 "8"                          # Bits Allocated
155    0028|0102 "7"                          # High Bit
156    0028|0103 "0"                          # Pixel Representation
157    0008|0060 "CT"                         # Modality
158    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
159    7fe0|0010 "gdcm::NotLoaded Address:796 Length:262144 x(40000)"
160 ]
161
162 [ CT-MONO2-12-lomb-an2.acr
163    # - Particularities:
164    #   * "Transfer Syntax UID" is absent.
165    #   * "Photometric Interpretation" is absent.
166    0008|0070 "SIEMENS "                   # Manufacturer
167    0008|1090 "SOMATOM PLUS 4"             # Manufacturer's Model Name
168    0028|0101 "12"                         # Bits Stored
169    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
170    0028|0010 "512"                        # Rows
171    0028|0011 "512"                        # Columns
172    0028|0100 "16"                         # Bits Allocated
173    0028|0102 "11"                         # High Bit
174    0028|0103 "0"                          # Pixel Representation
175    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
176    0008|0060 "CT"                         # Modality
177    7fe0|0010 "gdcm::NotLoaded Address:1230 Length:524288 x(80000)"
178 ]
179
180 [ CT-MONO2-16-chest.dcm
181    # - Particularities:
182    #   * jpeg compression [Lossless, hierar., first-order prediction
183    #     (Process 14, Selection Value 1) ]
184    #   * "Transfer Syntax UID" is absent.
185    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
186    0008|1090 "HiSpeed "                   # Manufacturer's Model Name
187    0028|0101 "16"                         # Bits Stored
188    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
189    0028|0010 "400"                        # Rows
190    0028|0011 "512"                        # Columns
191    0028|0100 "16"                         # Bits Allocated
192    0028|0102 "15"                         # High Bit
193    0028|0103 "1"                          # Pixel Representation
194    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
195                                           #                  process (2,4)
196    0008|0060 "CT"                         # Modality
197    7fe0|0010 "gdcm::NotLoaded Address:1638 Length:143498 x(2308a)"
198 ]
199
200 ############################################################
201 ### As taken from Sebastien Barre's Dicom2 (see note above).
202 ### MR modality examples:
203 ### Note: MR-MONO2-16-knee is not present in the test suite
204 ###       since it is too closely related to
205 ###       MR-MONO2-16-head.dcm to be of interest.
206 ############################################################
207 [ MR-MONO2-12-angio-an1.acr
208    # - Particularities:
209    #   * "Photometric Interpretation" is absent.
210    #   * "Transfer Syntax UID" is absent.
211    0008|0070 "Philips "                   # Manufacturer
212    0008|1090 "T5"                         # Manufacturer's Model Name
213    0028|0101 "12"                         # Bits Stored
214    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
215    0028|0010 "256"                        # Rows
216    0028|0011 "256"                        # Columns
217    0028|0100 "12"                         # Bits Allocated
218    0028|0102 "11"                         # High Bit
219    0028|0103 "0"                          # Pixel Representation
220    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
221    0008|0060 "MR"                         # Modality
222    # Note: 256*256*12/8 = 98304 i.e.
223    #       Rows * Columns * Bits_Stored / (8 bits per pixel) = Length in bytes
224    7fe0|0010 "gdcm::NotLoaded Address:650 Length:98304 x(18000)"
225 ]
226
227 [ MR-MONO2-12-an2.acr
228    # - Particularities:
229    #   * "Transfer Syntax UID" is absent.
230    0008|0070 "SIEMENS "                   # Manufacturer
231    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
232    0028|0101 "12"                         # Bits Stored
233    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
234    0028|0010 "256"                        # Rows
235    0028|0011 "256"                        # Columns
236    0028|0100 "16"                         # Bits Allocated
237    0028|0102 "11"                         # High Bit
238    0028|0103 "0"                          # Pixel Representation
239    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
240    0008|0060 "MR"                         # Modality
241    7fe0|0010 "gdcm::NotLoaded Address:1866 Length:131072 x(20000)"
242 ]
243
244 [ MR-MONO2-16-head.dcm
245    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
246    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
247    0028|0101 "16"                         # Bits Stored
248    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
249    0028|0010 "256"                        # Rows
250    0028|0011 "256"                        # Columns
251    0028|0100 "16"                         # Bits Allocated
252    0028|0102 "15"                         # High Bit
253    0028|0103 "1"                          # Pixel Representation
254    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
255    0008|0060 "MR"                         # Modality
256    7fe0|0010 "gdcm::NotLoaded Address:1804 Length:131072 x(20000)"
257 ]
258
259 [ MR-MONO2-12-shoulder.dcm
260    # - Particularities:
261    #   * jpeg encoding (see "Transfer Syntax UID" tag)
262    0008|0070 "Philips Medical Systems "   # Manufacturer
263    0008|1090 "Gyroscan NT "               # Manufacturer's Model Name
264    0028|0101 "12"                         # Bits Stored
265    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
266    0028|0010 "1024"                       # Rows
267    0028|0011 "1024"                       # Columns
268    0028|0100 "16"                         # Bits Allocated
269    0028|0102 "11"                         # High Bit
270    0028|0103 "0"                          # Pixel Representation
271    0002|0010 "1.2.840.10008.1.2.4.57"     # Transfer Syntax: jpeg,
272                                           #         Lossless, non-hierar. (14)
273    0008|0060 "MR"                         # Modality
274    7fe0|0010 "gdcm::NotLoaded Address:1580 Length:718948 x(af864)"
275 ]
276
277 ############################################################
278 ### As taken from Sebastien Barre's Dicom2 (see note above).
279 ### OT modality examples:
280 ### Note: OT-MONO2-8-hip and OT-MONO2-8-colon are not
281 ###       present in the test suite since they are too
282 ###       closely related to OT-MONO2-8-a7 to be of
283 ###       interest.
284 ############################################################
285 [ OT-PAL-8-face.dcm
286    # - Particularities:
287    #   * has a color palette (see Photometric Interpretation)
288    #   * "Manufacturer" is absent.
289    #   * "Manufacturer's Model Name" is absent.
290    0008|0070 "gdcm::Unfound"              # Manufacturer
291    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
292    0028|0101 "8"                          # Bits Stored
293    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
294    0028|0010 "480"                        # Rows
295    0028|0011 "640"                        # Columns
296    0028|0100 "8"                          # Bits Allocated
297    0028|0102 "7"                          # High Bit
298    0028|0103 "0"                          # Pixel Representation
299    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
300    0008|0060 "OT"                         # Modality
301    7fe0|0010 "gdcm::NotLoaded 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 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 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 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 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 *   = 106496 i.e.
422    #       Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes
423    7fe0|0010 "gdcm::NotLoaded 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 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 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 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    #   * Implicit VR --> all private entries are assumed as BinEntries
500    #                    (group 0019, group 0029)
501    0008|0070 "Philips Medical Systems (Netherlands) "    # Manufacturer
502    0008|1090 "P H I L I P S     INTEGRIS V" # Manufacturer's Model Name
503    0028|0101 "10"                         # Bits Stored
504    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
505    0028|0010 "1024"                       # Rows
506    0028|0011 "1024"                       # Columns
507    0028|0100 "16"                         # Bits Allocated
508    0028|0102 "9"                          # High Bit
509    0028|0103 "0"                          # Pixel Representation
510    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
511    0008|0060 "XA"                         # Modality
512    0028|0008 "31"                         # Number of Frames
513    # Note: 1024 * 1024 * 31 * 2 = 65011712 i.e.
514    #       Rows * Columns * Number_of_Frames * Bits_Allocated / 8 yields
515    #       the total number of bytes.
516   7fe0|0010 "gdcm::NotLoaded Address:4114 Length:65011712 x(3e00000)"
517 ]
518
519 [ GE_DLX-8-MONO2-Multiframe.dcm
520    # - Particularities:
521    #   * Multiframe image (see Number of Frames tag)
522    #   * the private tags are NOT in Explicit VR
523    #     --> assumed as BinEntries
524    #     ( groups 11, 15, 19)
525    #   * allmost groups (this is not the case of group 0x0008) contain
526    #     a "Group Length" tag (*, 0x0000)
527    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
528    0008|1090 "DLX "                       # Manufacturer's Model Name
529    0028|0101 "8"                          # Bits Stored
530    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
531    0028|0010 "512"                        # Rows
532    0028|0011 "512"                        # Columns
533    0028|0100 "8"                          # Bits Allocated
534    0028|0102 "7"                          # High Bit
535    0028|0103 "0"                          # Pixel Representation
536    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
537    0008|0060 "XA"                         # Modality
538    0028|0008 "56"                         # Number of Frames
539    # Note: 512 * 512 * 56 = 14680064 i.e.
540    #       Rows * Columns * Number_of_Frames = Total_number_of_bytes.
541    7fe0|0010 "gdcm::NotLoaded Address:4984 Length:14680064 x(e00000)"
542 ]
543
544 [ ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm
545    # - Particularities:
546    #   * Jpeg Baseline (Process 1) encoding.
547    #   * YBR_FULL_422 encoding and hence "Samples per Pixel" tag is 3 
548    #     (see "Photometric Interpretation" entry).
549    #   * has a sequence.
550    #   * WITHIN this sequence at tag (0x0018, 0x6011) we encounter
551    #     tags [e.g. (0x0018, 0x602c) ] with "FD" as value representation
552    #     that are "non printable" when interpreted as characters. "Non
553    #     printable" stands for "contains control characters that corrupts
554    #     a majority of UN*X shells"...
555    #   * Multiframe image (see Number of Frames tag)
556    0008|0070 "ACUSON"                     # Manufacturer
557    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
558    0028|0101 "8"                          # Bits Stored
559    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
560    0028|0010 "576"                        # Rows
561    0028|0011 "768"                        # Columns
562    0028|0100 "8"                          # Bits Allocated
563    0028|0102 "7"                          # High Bit
564    0028|0103 "0"                          # Pixel Representation
565    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: JPEG Baseline
566                                           #                  (Process 1)
567    0008|0060 "US"                         # Modality
568    0028|0002 "3"                          # Samples per Pixel
569    0028|0008 "40"                         # Number of Frames
570    7fe0|0010 "gdcm::NotLoaded Address:1872 Length:3291746 x(323a62)"
571 ]
572
573 ############################################################
574 ### ACR NEMA version 1.0 (ONE!) format:
575 ############################################################
576 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
577    # - Particularities:
578    #   * old (circa 1991) ACR NEMA version 1.0 format.
579    #   * apparently broken pixel data (see below)
580    #   * Pixel Representation (0028|0103) is absent
581    #   * wierd padding of "Manufacturer's Model Name" tag
582    #   * Group 20 does NOT contain:
583    #      - "Study"
584    #      - "Serie Instance UID"
585    #     Within this group, the following entries are empty:
586    #      - "Study"
587    #      - "Series Number"
588    #
589    # - This image pixel data looks corrupted, in the sense that the
590    #   following sizes do NOT match (as expected):
591    #   * it's pixel data is 132096 bytes long
592    #   * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
593    #     of 256*256*2 = 131072 bytes.
594    # - Because of this missmatch, TestReadWriteReadCompare segfaults
595    #   on this image.
596    #   In details, when segfault occurs we have the following call stack:
597    #       gdcmFile::GetImageData()
598    #          PixelData = new uint8_t[ImageDataSize];
599    #          \--->::GetImageDataIntoVector(destination, ImageDataSize)
600    #           \---> ::ReadPixelData(destination)
601    #            \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
602    #   which causes the segfault because :
603    #       - destination is ImageDataSize i.e. 131072 bytes long
604    #       - Header->GetPixelAreaLength() = 132096 bytes long
605    0008|0070 "SIEMENS "                   # Manufacturer
606    0008|1090 "GBS III     "               # Manufacturer's Model Name
607    0028|0101 "12"                         # Bits Stored
608    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
609    0028|0010 "256"                        # Rows
610    0028|0011 "256"                        # Columns
611    0028|0100 "16"                         # Bits Allocated
612    0028|0102 "11"                         # High Bit
613    0028|0103 "0"                          # Pixel Representation
614    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
615    0008|0060 "MR"                         # Modality
616    7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
617 ]
618
619 [ gdcm-MR-SIEMENS-16-1.acr
620    # - Particularities:
621    #   * old (circa 1991) ACR NEMA version 1.0 format.
622    #   * the image pixel data looks corrupted (see below)
623    #   * wierd padding of "Manufacturer's Model Name" tag
624    #   * "Photometric Interpretation" tag is absent
625    #   * Group 20 does NOT contain:
626    #      - "Study"
627    #      - "Serie Instance UID"
628    0008|0070 "SIEMENS "                   # Manufacturer
629    0008|1090 "GBS III     "               # Manufacturer's Model Name
630    0028|0101 "12"                         # Bits Stored
631    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
632    0028|0010 "256"                        # Rows
633    0028|0011 "256"                        # Columns
634    0028|0100 "16"                         # Bits Allocated
635    0028|0102 "11"                         # High Bit
636    0028|0103 "0"                          # Pixel Representation
637    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
638    0008|0060 "MR"                         # Modality
639    # Note: the image pixel data looks corrupted in the sense that the
640    #       following sizes do NOT match (as expected):
641    #       - it's pixel data is 132096 bytes long
642    #       - it has a size of 256x256 with 16 bytes per pixel, i.e. a size
643    #         of 256*256*2 = 131072 bytes.
644    7fe0|0010 "gdcm::NotLoaded Address:8192 Length:132096 x(20400)"
645 ]
646
647 ############################################################
648 ### ACR NEMA version 2.0 (TWO!) format:
649 ############################################################
650 [ gdcm-MR-SIEMENS-16-2.acr
651    # - Particularities:
652    #   * old (circa 2000) ACR NEMA version 2.0 format.
653    #   * wierd padding of "Series Number" tag
654    #  (ALL the -numerous- private fields are considered as 'BinEntries'
655    #        very few of them actually are :-(
656    #        groups 9, 11, 19, 21, 29, 51
657    # --> TODO : find a trick to guess (contains non printable characters ?)
658    0008|0070 "SIEMENS "                   # Manufacturer
659    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
660    0028|0101 "12"                         # Bits Stored
661    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
662    0028|0010 "512"                        # Rows
663    0028|0011 "512"                        # Columns
664    0028|0100 "16"                         # Bits Allocated
665    0028|0102 "11"                         # High Bit
666    0028|0103 "0"                          # Pixel Representation
667    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
668    0008|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
669    0008|0060 "MR"                         # Modality
670    0020|0011 "     7"                     # Series Number
671    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
672 ]
673
674 [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
675    # - Particularities:
676    #   * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
677    #     "Study Instance UID", "Study ID", "Series Number" and
678    #     "Serie Instance UID"
679    0008|0070 "SIEMENS "                   # Manufacturer
680    0008|1090 "MAGNETOM VISION "           # Manufacturer's Model Name
681    0028|0101 "12"                         # Bits Stored
682    0028|0004 "gdcm::Unfound"              # Photometric Interpretation
683    0028|0010 "512"                        # Rows
684    0028|0011 "512"                        # 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|0010 "ACR-NEMA 2.0"               # Recognition Code (RET)
690    0008|0060 "MR"                         # Modality
691    0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
692    0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
693                                                               #     UID
694    0020|0011 "     7"                     # Series Number
695    0020|0010 "     1"                     # Study ID
696    7fe0|0010 "gdcm::NotLoaded Address:6052 Length:524288 x(80000)"
697 ]
698
699 [ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
700    # - Particularities:
701    #   * ACR NEMA version 2.0 (circa 1994) format allthough the
702    #     "Recognition Code" is absent.
703    #   * all the groups are missing their "Group Length" tag i.e. no
704    #     tag of the form (*, 0x0000) present.
705    0008|0070 "Toshiba "                   # Manufacturer
706    0008|1090 "MRT150"                     # Manufacturer's Model Name
707    0028|0101 "16"                         # Bits Stored
708    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
709    0028|0010 "512"                        # Rows
710    0028|0011 "512"                        # Columns
711    0028|0100 "16"                         # Bits Allocated
712    0028|0102 "15"                         # High Bit
713    0028|0103 "0"                          # Pixel Representation
714    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
715    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
716    0008|0060 "MR"                         # Modality
717    0020|0011 "7 "                         # Series Number
718    0020|0010 "Run264.6653 "               # Study ID
719    7fe0|0010 "gdcm::NotLoaded Address:1130 Length:524288 x(80000)"
720 ]
721
722 [ FUJI-10-MONO1-ACR_NEMA_2.dcm
723    # - Particularities:
724    #   * ACR NEMA version 2.0 (circa 1995) format allthough the
725    #     "Recognition Code" is absent.
726    #   * large 1670x2010 image
727    0008|0070 "FUJI PHOTO FILM CO. LTD."   # Manufacturer
728    0008|1090 "CR201 "                     # Manufacturer's Model Name
729    0028|0101 "10"                         # Bits Stored
730    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
731    0028|0010 "2010"                       # Rows
732    0028|0011 "1670"                       # Columns
733    0028|0100 "16"                         # Bits Allocated
734    0028|0102 "9"                          # High Bit
735    0028|0103 "0"                          # Pixel Representation
736    0002|0010 "gdcm::Unfound"              # Transfer Syntax UID
737    0008|0010 "gdcm::Unfound"              # Recognition Code (RET)
738    0008|0060 "CR"                         # Modality
739    7fe0|0010 "gdcm::NotLoaded Address:862 Length:6713400 x(667038)"
740 ]
741
742 #############################################################################
743 ### Images with various oddities...
744 #############################################################################
745 [ gdcm-US-ALOKA-16.dcm
746    # - Particularities:
747    #   * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
748    #     Red and Blue.
749    #   * announced as implicit VR, but really explicit VR !
750    #   * has a color palette (see Photometric Interpretation)
751    0008|0070 "ALOKA CO., LTD. "            # Manufacturer
752    0008|1090 "SSD-4000"                   # Manufacturer's Model Name
753    0028|0101 "16"                         # Bits Stored
754    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
755    0028|0010 "480"                        # Rows
756    0028|0011 "640"                        # Columns
757    0028|0100 "16"                         # Bits Allocated
758    0028|0102 "15"                         # High Bit
759    0028|0103 "0"                          # Pixel Representation
760    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax (Implicit VR, LE)
761    0008|0060 "US"                         # Modality
762    # The Segmented Palette Color Lookup Table Data:
763    # Red
764    0028|1221 "gdcm::NotLoaded Address:1750 Length:87818 x(1570a)"
765    # Green
766    0028|1222 "gdcm::NotLoaded Address:89576 Length:113784 x(1bc78)"
767    # Blue
768    0028|1223 "gdcm::NotLoaded Address:203368 Length:55364 x(d844)"
769    7fe0|0010 "gdcm::NotLoaded Address:258740 Length:614400 x(96000)"
770 ]
771
772 [ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
773    # - Particularities:
774    #   * dicom file, with a recognition code of ACR-NEMA1
775    #   * Highly nested sequence (6 sublevels) with an impressive size
776    #     of 28808 bytes at tag (0x0029, 0x263d)
777    #   * some sequences have 0 (zero) length
778    #   * possesses many sequences in group 0x0029
779    #   * Private BinEntry (DT) 21 1007
780    0008|0070 "Philips Medical Systems "   # Manufacturer
781    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
782    0028|0101 "12"                         # Bits Stored
783    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
784    0028|0010 "128"                        # Rows
785    0028|0011 "128"                        # Columns
786    0028|0100 "16"                         # Bits Allocated
787    0028|0102 "11"                         # High Bit
788    0028|0103 "0"                          # Pixel Representation
789    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
790    0008|0060 "MR"                         # Modality
791    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
792    7fe0|0010 "gdcm::NotLoaded Address:35846 Length:32768 x(8000)"
793 ]
794
795 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
796    # - Particularities:
797    #   * probably generated with dcmtk (DICOM Toolkit, refer to
798    #     http://dicom.offis.de/dcmtk.php.en)
799    #   * Misses the "Samples Per Pixel" element which prevents
800    #     e-film from reading it.
801    #   * Misses the Manufacturer related info
802    0008|0070 "gdcm::Unfound"              # Manufacturer
803    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
804    0028|0101 "8"                          # Bits Stored
805    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
806    0028|0010 "750"                        # Rows
807    0028|0011 "750"                        # Columns
808    0028|0100 "8"                          # Bits Allocated
809    0028|0102 "7"                          # High Bit
810    0028|0103 "0"                          # Pixel Representation
811    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
812    0008|0060 "CR"                         # Modality
813    0002|0013 "OFFIS_DCMTK_341 "           # Implementation Version Name
814    0028|0002 "gdcm::Unfound"              # Samples per Pixel
815    7fe0|0010 "gdcm::NotLoaded Address:740 Length:562500 x(89544)"
816 ]
817
818 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
819    # - Particularities:
820    #   * Non rectangular pixels (see "Pixel Spacing" tag)
821    #   * private tags are in explicit VR (which is normal BTW)
822    #   *screen-flaher non printable characters in private elements (gdcmBinEntry ?)
823    #   * has FD fields (0029 218b, 29 218d)
824
825    0008|0070 "Philips Medical Systems "   # Manufacturer
826    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
827    0028|0101 "12"                         # Bits Stored
828    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
829    0028|0010 "64"                         # Rows
830    0028|0011 "160"                        # Columns
831    0028|0100 "16"                         # Bits Allocated
832    0028|0102 "11"                         # High Bit
833    0028|0103 "0"                          # Pixel Representation
834    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
835    0008|0060 "MR"                         # Modality
836    0028|0030 " 0.487416\0.194966"         # Pixel Spacing
837    7fe0|0010 "gdcm::NotLoaded Address:5010 Length:20480 x(5000)"
838 ]
839
840 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
841    # - Particularities:
842    #   * contains a tag with value multiplicity bigger than 1: the
843    #     tag (0x0018, 0x1310) has "US" as value representation BUT
844    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
845    0008|0070 "SIEMENS "                   # Manufacturer
846    0008|1090 "Sonata"                     # Manufacturer's Model Name
847    0028|0101 "12"                         # Bits Stored
848    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
849    0028|0010 "208"                        # Rows
850    0028|0011 "256"                        # Columns
851    0028|0100 "16"                         # Bits Allocated
852    0028|0102 "11"                         # High Bit
853    0028|0103 "0"                          # Pixel Representation
854    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
855    0008|0060 "MR"                         # Modality
856    0018|1310 "256\0\0\166"                # Acquisition Matrix
857    7fe0|0010 "gdcm::NotLoaded Address:25686 Length:106496 x(1a000)"
858 ]
859
860 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
861    # - Particularities:
862    #   * looks like a DICOM V3 image but it misses the proper file
863    #     file preamble (of 200 bytes).
864    0008|0070 "Picker International, Inc." # Manufacturer
865    0008|1090 "HF1006"                     # Manufacturer's Model Name
866    0028|0101 "16"                         # Bits Stored
867    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
868    0028|0010 "512"                        # Rows
869    0028|0011 "512"                        # Columns
870    0028|0100 "16"                         # Bits Allocated
871    0028|0102 "15"                         # High Bit
872    0028|0103 "1"                          # Pixel Representation
873    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
874    0008|0060 "MR"                         # Modality
875    7fe0|0010 "gdcm::NotLoaded Address:1406 Length:524288 x(80000)"
876 ]
877
878 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
879    # - Particularities:
880    #   * Contains an odd sequence at tag (0x0008, 0x1140).
881    #     JPR FIXME: in what sense is it odd ???
882    0008|0070 "Philips Medical Systems "   # Manufacturer
883    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
884    0028|0101 "8"                          # Bits Stored
885    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
886    0028|0010 "256"                        # Rows
887    0028|0011 "256"                        # Columns
888    0028|0100 "16"                         # Bits Allocated
889    0028|0102 "7"                          # High Bit
890    0028|0103 "0"                          # Pixel Representation
891    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
892    0008|0060 "MR"                         # Modality
893    7fe0|0010 "gdcm::NotLoaded Address:6584 Length:131072 x(20000)"
894 ]
895
896 [ PICKER-16-MONO2-Nested_icon.dcm
897    # - Particularities:
898    #   * contains TWO images:
899    #     - the original image 512x512
900    #     - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200)
901    #     This implies this image contains two 7fe0|0010 (among one is
902    #     burried in a sequence), two "Rows" entries, two "Columns" entries...
903    #     This makes it impossible to use the name of tag (e.g. Rows) as
904    #     as a key of dictionaries build on top of such an image....
905    0008|0070 "PICKER"                     # Manufacturer
906    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
907    0028|0101 "12"                         # Bits Stored
908    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
909    0028|0010 "512"                        # Rows
910    0028|0011 "512"                        # Columns
911    0028|0100 "16"                         # Bits Allocated
912    0028|0102 "11"                         # High Bit
913    0028|0103 "0"                          # Pixel Representation
914    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
915    0008|0060 "CT"                         # Modality
916    7fe0|0010 "gdcm::NotLoaded Address:18228 Length:524288 x(80000)"
917 ]
918
919 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
920    # - Particularities:
921    #   * within the sequence at tag (0x0028, 0x3000) we encounter
922    #     an "Item Delimitation" (0xfffe, 0xe00d) followed by an
923    #     "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after
924    #     the tag (0x0028, 0x3006) !!!
925    #   * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
926    #     (0x0008, 0x0010) is present].
927    0008|0070 "Kodak "                     # Manufacturer
928    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
929    0028|0101 "12"                         # Bits Stored
930    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
931    0028|0010 "2392"                       # Rows
932    0028|0011 "1792"                       # Columns
933    0028|0100 "16"                         # Bits Allocated
934    0028|0102 "11"                         # High Bit
935    0028|0103 "0"                          # Pixel Representation
936    0002|0010 "gdcm::Unfound"              # Transfer Syntax: Implicit VR, LE
937    0008|0060 "CR"                         # Modality
938    7fe0|0010 "gdcm::NotLoaded Address:9134 Length:8572928 x(82d000)"
939 ]
940
941 [ SIEMENS_SOMATOM-12-ACR_NEMA-ZeroLengthUs.acr
942    # - Particularities:
943    #   * Has a 'Zero length' integer field at tag 0020|5000 with VR "US"
944    #        [US][Original Image Identification (RET)]
945    #   * Has a lot of private fields, with no VR, see groups 9, 11, 19, 21,
946    #     29, 31
947    0008|0070 "SIEMENS "                   # Manufacturer
948    0008|1090 "SOMATOM PLUS 4            " # Manufacturer's Model Name
949    0028|0101 "12"                         # Bits Stored
950    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
951    0028|0010 "512"                        # Rows
952    0028|0011 "512"                        # Columns
953    0028|0100 "16"                         # Bits Allocated
954    0028|0102 "11"                         # High Bit
955    0028|0103 "0"                          # Pixel Representation
956    0008|0060 "CT"                         # Modality
957    0009|0010 "gdcm::Loaded (BinEntry)"    # Unknown
958    7fe0|0010 "gdcm::NotLoaded Address:5064 Length:524288 x(80000)"
959 ]
960
961 [ ACUSON-8-YBR_FULL-JPEG-TrailingInfo.dcm
962    # - Particularities:
963    #   * has some trailing (after the pixel data) info with tag "fffc|fffc",
964    #     VR of "OB", length = 1722 = 0x6ba
965    0008|0070 "ACUSON"                     # Manufacturer
966    0028|0101 "8"                          # Bits Stored
967    0028|0004 "YBR_FULL_422"               # Photometric Interpretation
968    0028|0010 "576"                        # Rows
969    0028|0011 "768"                        # Columns
970    0028|0100 "8"                          # Bits Allocated
971    0028|0102 "7"                          # High Bit
972    0028|0103 "0"                          # Pixel Representation
973    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg baseline
974                                           #                  process (1)
975    0008|0060 "US"                         # Modality
976    7fe0|0010 "gdcm::NotLoaded Address:2288 Length:1513128 x(1716a8)"
977    fffc|fffc "gdcm::Loaded (BinEntry)"    # Trailing info !
978 ]
979
980 [ GE_GENESIS-16-MONO2-WrongLengthItem.dcm
981    # - Particularities:
982    #   * Sample of well known GE buggy header: wrong length for some items
983    0008|0070 "GE MEDICAL SYSTEMS"         # Manufacturer
984    0008|1090 "GENESIS_SIGNA "             # Manufacturer's Model Name
985    0028|0101 "16"                         # Bits Stored
986    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
987    0028|0010 "256"                        # Rows
988    0028|0011 "256"                        # Columns
989    0028|0100 "16"                         # Bits Allocated
990    0028|0102 "15"                         # High Bit
991    0028|0103 "1"                          # Pixel Representation
992    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
993    0008|0060 "MR"                         # Modality
994    7fe0|0010 "gdcm::NotLoaded Address:1930 Length:131072 x(20000)"
995 ]
996
997 ############################################################
998 ### Jpeg compressed images.
999 ############################################################
1000 [ gdcm-JPEG-Extended.dcm
1001    # - Particularities:
1002    #   * jpeg compression [Extended Process (2,4)]
1003    #   * probably contains additional data after the pixels (see comments
1004    #     of the gdcm-JPEG-LossLess3a.dcm entry)
1005    #   * contains OB private fields (19 10b0, 21 1011, 29 1008, 29 1009,
1006    #             29 1010, 29 1131, 29 1134)
1007    0008|0070 "SIEMENS "                   # Manufacturer
1008    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1009    0028|0101 "12"                         # Bits Stored
1010    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1011    0028|0010 "512"                        # Rows
1012    0028|0011 "512"                        # Columns
1013    0028|0100 "16"                         # Bits Allocated
1014    0028|0102 "11"                         # High Bit
1015    0028|0103 "0"                          # Pixel Representation
1016    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1017                                           #                  process (2,4)
1018    0008|0060 "CT"                         # Modality
1019    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
1020 ]
1021
1022 [ gdcm-JPEG-Extended-Allready_present.dcm
1023    # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
1024    #            terms of features (actually I suspect gdcm-JPEG-Extended.dcm
1025    #            is the anonymized version of this one)...
1026    # - Particularities:
1027    #   * jpeg compression [Extended Process (2,4)]
1028    #   * private BinEntry (OB) in 19 10b0, 21 1011, 29 1008, 29 1009, 29 1010,
1029    #                              29 1131, 29 1134
1030    0008|0070 "SIEMENS "                   # Manufacturer
1031    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1032    0028|0101 "12"                         # Bits Stored
1033    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1034    0028|0010 "512"                        # Rows
1035    0028|0011 "512"                        # Columns
1036    0028|0100 "16"                         # Bits Allocated
1037    0028|0102 "11"                         # High Bit
1038    0028|0103 "0"                          # Pixel Representation
1039    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1040                                           #                  process (2,4)
1041    0008|0060 "CT"                         # Modality
1042    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
1043 ]
1044
1045 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
1046    # - Particularities:
1047    #   * jpeg compression [Extended Process (2,4)]
1048    0008|0070 "SIEMENS "                   # Manufacturer
1049    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1050    0028|0101 "12"                         # Bits Stored
1051    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1052    0028|0010 "512"                        # Rows
1053    0028|0011 "512"                        # Columns
1054    0028|0100 "16"                         # Bits Allocated
1055    0028|0102 "11"                         # High Bit
1056    0028|0103 "0"                          # Pixel Representation
1057    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1058                                           #                  process (2,4)
1059    0008|0060 "CT"                         # Modality
1060    7fe0|0010 "gdcm::NotLoaded Address:3044 Length:66978 x(105a2)"
1061 ]
1062
1063 [ gdcm-JPEG-LossLess3a.dcm
1064    # - Particularities:
1065    #   * jpeg compression [Lossless, hierar., first-order prediction 
1066    #     (Process 14, Selection Value 1) ]
1067    #   * contains additional data after the pixels (see below)
1068    #   * contains a sequence at tag (0x0008, 0x2112)
1069    0008|0070 "SIEMENS "                   # Manufacturer
1070    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1071    0028|0101 "12"                         # Bits Stored
1072    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1073    0028|0010 "512"                        # Rows
1074    0028|0011 "512"                        # Columns
1075    0028|0100 "16"                         # Bits Allocated
1076    0028|0102 "11"                         # High Bit
1077    0028|0103 "0"                          # Pixel Representation
1078    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1079                                           #                  process (2,4)
1080    0008|0060 "CT"                         # Modality
1081    # It looks like the pixel data are corrupted:
1082    # As stated by "od -A d -c"
1083    #   0002528     à 177 020 \0  O  B \0 \0   ÿ  ÿ   ÿ   ÿ þ  ÿ \0  à
1084    #   0002544    \0  \0  \0 \0  þ  ÿ \0  à 202  ? 003  \0  ÿ  Ø  ÿ  Ã
1085    # which we interpret as follows:
1086    #   - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1087    #   - 2532: OB i.e. encapsulated encoded Pixel Data,
1088    #   - 2534: Two bytes reserved,
1089    #   - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
1090    #   - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
1091    #           item tag
1092    #   - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1093    #           item value for offset table.
1094    #   - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
1095    #           fragment of (encoded) pixel data.
1096    #   - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1097    #           of (encoded) pixel data.
1098    # and so the next item tag should be found at the 2556+212866 th
1099    # octet i.e. at address 215422. But, as stated by od, we find:
1100    #   0215408   E   u Ö 026   Î   É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
1101    #   0215424   ¶ 016 P   Ñ 002 016
1102    # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
1103    # present (at least there should be a sequence delimiter), refer to
1104    # PS 3.5-2001 page 50.
1105    #
1106    # As stated by JPR in hexa:
1107    # at 9ec : ItemTag : fffe,e000
1108    # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1109    # at 9f4 : ItemTag : fffe,e000
1110    #         at 9f8 : fragment length 212866 x(00033f82)
1111    # at 3497e : ItemTag  b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1112    7fe0|0010 "gdcm::NotLoaded Address:2540 Length:212890 x(33f9a)"
1113 ]
1114
1115 [ gdcm-JPEG-LossLessThoravision.dcm
1116    # - Particularities:
1117    #   * jpeg compression [Lossless, hierar., first-order prediction
1118    #     (Process 14, Selection Value 1) ]
1119    #   * encoding is sligthly different from the one of entry
1120    #     gdcm-JPEG-LossLess3a.dcm (to check).
1121    #   * Large picture: 2076 by 1876 (I wonder what screens they have...)
1122    #     -> Just underscale it !
1123    #   Breaks all the DICOM viewers
1124    0008|0070 "Philips Medical Systems "   # Manufacturer
1125    0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1126    0028|0101 "15"                         # Bits Stored
1127    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1128    0028|0010 "2076"                       # Rows
1129    0028|0011 "1876"                       # Columns
1130    0028|0100 "16"                         # Bits Allocated
1131    0028|0102 "14"                         # High Bit
1132    0028|0103 "0"                          # Pixel Representation
1133    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1134                                           #                  process (2,4)
1135    0008|0060 "CR"                         # Modality
1136    7fe0|0010 "gdcm::NotLoaded Address:3144 Length:4795668 x(492d14)"
1137 ]
1138
1139 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1140    # - Particularities:
1141    #   * jpeg compression [Extended Process (2,4)]
1142    #   * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1143    #     announces it as "ACR-NEMA 1.0" !
1144    0008|0070 "Philips Medical Systems "   # Manufacturer
1145    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1146    0028|0101 "12"                         # Bits Stored
1147    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1148    0028|0010 "512"                        # Rows
1149    0028|0011 "512"                        # Columns
1150    0028|0100 "16"                         # Bits Allocated
1151    0028|0102 "11"                         # High Bit
1152    0028|0103 "0"                          # Pixel Representation
1153    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1154                                           #                  process (2,4)
1155    0008|0060 "MR"                         # Modality
1156    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1157    7fe0|0010 "gdcm::NotLoaded Address:5956 Length:46602 x(b60a)"
1158 ]
1159
1160 ###########################################################################
1161 # All the following files come from the LeadTools site (see
1162 #      http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm )
1163 # and (probably) serves as an illustration of many Dicom encoding/compression
1164 # modes. Those "hand made"  files were not produced by any acquisition engine
1165 # and hence are not from "real" life, but maybe one day some machine will
1166 # implement it. Some images, allthough using a perfectly "legal" Dicom format,
1167 # seem to be unique in their own encoding/compression category. Worth the
1168 # trial in a test suite!
1169 # All the following files share the same size (535x800), the same pixel
1170 # representation ("0") ;
1171 #  0028|0010 "535"                        # Rows
1172 #  0028|0011 "800"                        # Columns
1173 #  0028|0103 "0"                          # Pixel Representation
1174 # and hold the same picture: some flowers...
1175
1176 [ LEADTOOLS_FLOWERS-8-MONO2-JpegLossy.dcm
1177    # - Particularities:
1178    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1179    0028|0101 "8"                          # Bits Stored
1180    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1181    0028|0100 "8"                          # Bits Allocated
1182    0028|0102 "7"                          # High Bit
1183    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1184                                           # ... Process 1 
1185    # No "7fe0|0010"
1186 ]
1187
1188 [ LEADTOOLS_FLOWERS-8-PAL-RLE.dcm
1189    # - Particularities:
1190    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1191    0028|0101 "8"                          # Bits Stored
1192    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
1193    0028|0100 "8"                          # Bits Allocated
1194    0028|0102 "7"                          # High Bit
1195    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1196    # No "7fe0|0010"
1197 ]
1198
1199 [ LEADTOOLS_FLOWERS-8-MONO2-RLE.dcm
1200    # - Particularities:
1201    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1202    0028|0101 "8"                          # Bits Stored
1203    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1204    0028|0100 "8"                          # Bits Allocated
1205    0028|0102 "7"                          # High Bit
1206    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1207    # No "7fe0|0010"
1208 ]
1209
1210 [ LEADTOOLS_FLOWERS-8-PAL-Uncompressed.dcm
1211    # - Particularities:
1212    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1213    0028|0101 "8"                          # Bits Stored
1214    0028|0004 "PALETTE COLOR "             # Photometric Interpretation
1215    0028|0100 "8"                          # Bits Allocated
1216    0028|0102 "7"                          # High Bit
1217    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR -
1218                                           #                 Little Endian
1219    7fe0|0010 "gdcm::NotLoaded Address:3538 Length:428000 x(687e0)"
1220 ]
1221
1222 [ LEADTOOLS_FLOWERS-8-MONO2-Uncompressed.dcm
1223    # - Particularities:
1224    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1225    0028|0101 "8"                          # Bits Stored
1226    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1227    0028|0100 "8"                          # Bits Allocated
1228    0028|0102 "7"                          # High Bit
1229    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR -
1230                                           #                 Little Endian
1231    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:428000 x(687e0)"
1232 ]
1233
1234 [ LEADTOOLS_FLOWERS-16-MONO2-JpegLossless.dcm
1235    # - Particularities:
1236    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1237    0028|0101 "16"                         # Bits Stored
1238    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1239    0028|0100 "16"                         # Bits Allocated
1240    0028|0102 "15"                         # High Bit
1241    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1242                                           # ... Process 14 [Selection Value 1]
1243    # No "7fe0|0010"
1244 ]
1245
1246 [ LEADTOOLS_FLOWERS-16-MONO2-RLE.dcm
1247    # - Particularities:
1248    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1249    0028|0101 "16"                         # Bits Stored
1250    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1251    0028|0100 "16"                         # Bits Allocated
1252    0028|0102 "15"                         # High Bit
1253    0002|0010 "1.2.840.10008.1.2.5"        # Transfer Syntax: RLE Lossless
1254    # No "7fe0|0010"
1255 ]
1256
1257 [ LEADTOOLS_FLOWERS-16-MONO2-Uncompressed.dcm
1258    # - Particularities:
1259    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1260    0028|0101 "16"                         # Bits Stored
1261    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1262    0028|0100 "16"                         # Bits Allocated
1263    0028|0102 "15"                         # High Bit
1264    0002|0010 "1.2.840.10008.1.2.1"        # Explicit VR - Little Endian
1265    7fe0|0010 "gdcm::NotLoaded Address:1942 Length:856000 x(d0fc0)"
1266 ]
1267
1268 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossless.dcm
1269    # - Particularities:
1270    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1271    0028|0101 "8"                          # Bits Stored
1272    0028|0004 "RGB "                       # Photometric Interpretation
1273    0028|0100 "8"                          # Bits Allocated
1274    0028|0102 "7"                          # High Bit
1275    0028|0002 "3"                          # Samples per Pixel
1276    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg Lossless,
1277                                           # ... Process 14 [Selection Value 1]
1278    # No "7fe0|0010"
1279 ]
1280
1281 [ LEADTOOLS_FLOWERS-24-RGB-JpegLossy.dcm
1282    # - Particularities:
1283    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1284    0028|0101 "8"                          # Bits Stored
1285    0028|0004 "RGB "                       # Photometric Interpretation
1286    0028|0100 "8"                          # Bits Allocated
1287    0028|0102 "7"                          # High Bit
1288    0028|0002 "3"                          # Samples per Pixel
1289    0002|0010 "1.2.840.10008.1.2.4.50"     # Transfer Syntax: jpeg Baseline,
1290                                           # ... Process 1 
1291    # No "7fe0|0010"
1292 ]
1293
1294 [ LEADTOOLS_FLOWERS-24-RGB-Uncompressed.dcm
1295    # - Particularities:
1296    0002|0016 "LEADTOOLS "                 # Source Application Entity Title
1297    0028|0101 "8"                          # Bits Stored
1298    0028|0004 "RGB "                       # Photometric Interpretation
1299    0028|0100 "8"                          # Bits Allocated
1300    0028|0102 "7"                          # High Bit
1301    0028|0002 "3"                          # Samples per Pixel
1302    0002|0010 "1.2.840.10008.1.2.1"        # Explicit VR - Little Endian
1303    7fe0|0010 "gdcm::NotLoaded Address:1934 Length:1284000 x(1397a0)"
1304 ]
1305
1306 ###########################################################################
1307 ### JPR
1308 ### Images present in gdcmData but whose peculiarity is not documented
1309 ###########################################################################
1310 # 00191113.dcm
1311 # 012345.002.050.dcm
1312 # 3E768EB7.dcm
1313 # 8078283Leonardo.dcm # Comes from Siemens LEONARDO console, while producing buggy headered images
1314 # canadaAloka.dcm
1315 # DermaColorLossLess.dcm
1316 # DICOMDIR
1317 # emptyImage.dcm  # used by Theralys as a template to produce as-little-header-as-possible efilm readable images
1318 # FMAG0001.dcm  #Has trailing info (fffc|fffc OB lg=4da)
1319 # QMAG0001.dcm
1320 # fromTheralys.dcm # has a 13 bytes length item !
1321 # 9000001.dcm
1322 # IMG00001.dcm # has many Private BinEntries (VR, DT, FD, OB)
1323 #        FL 19 105a, DT 19 109d, FD 23 1070, FL 27 1041, FL 27 1042, FL 27 1043,
1324 #        FL 27 1044,
1325 #        FL 27 1045, FL 27 1046, FL 27 1047, FL 27 1048, FL 27 1049, FL 27 104a,
1326 #        FL 27 104b, FL 27 104c, FL 27 104d, FL 27 1060, FL 27 1061, FL 27 1062,
1327 #        OB 43 1028 ,OB 43 1029 ,OB 43 102a ,FL 43 1033 ,FL 43 1038
1328
1329 # lena128x128.acr # ACR-LibIDO image. gdcm *can* read it!
1330 # mriThruVPRO.dcm
1331 # MxTwinLossLess.dcm
1332 # RadBWLossLess.dcm
1333 # test.acr
1334 # volSten.acr # is an ACR 'volume" (has a Number of Planes, not Number of Frames)
1335 # xa_integris.dcm #Has trailing info (fffc|fffc OB lg=622)
1336
1337 ###########################################################################
1338 ### JPR
1339 # Images NOT in gdcmData anymore (lost, renamed or not commited ???)
1340 # ==> I removed from the list the images I found with a new name . JPR
1341 #############################################################################
1342 # jpeglossles1.dcm
1343 #               Jpeg LossLess
1344 #               True Dicom
1345 #               Explicit VR
1346 #               SQ en (0008,2112)
1347 #               contient peut etre (?!) des curiosités apres les Pixels
1348 #               
1349 #               
1350 # US.1.3.dcm
1351 #       Ces deux examens, correspondant a 2 patients differents ont le meme Study ID
1352 #
1353 # acusson.dcm
1354 #               Echographie single Frame
1355 #               True Dicom
1356 #               Explicit VR
1357 #               3 LUT (R, G, B)
1358 #
1359 #               
1360 # sonata.dcm
1361 #               IRM Siemens Sonata (images taggees)
1362 #               SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois 
1363 #               
1364 # imageEcat.ecat
1365 #               Image au format ECAT (Medecine Nucleaire)
1366 #               On n'y echapera pas encore tres longtemps, a celles la :-( 
1367
1368 #
1369 # ------------------------------------
1370 #
1371 # Sequence related images 
1372 # =======================
1373 #
1374 # "peacefull images"
1375 # ------------------
1376 #
1377 #canadaAloka.dcm 2         # 0018|6011 x(2f6) [Sequence of Ultrasound Regions ] ffff
1378 #
1379 #CLIP0001-Sequoia-U11.dcm # 0018|6011 [Sequence of Ultrasound Regions ]
1380 #
1381 #cr172241.dcm 2           # 0028|3000  x(344) [Modality LUT Sequence]
1382 #
1383 #fromTheralys.dcm 2       # 0008|1140  x(2f1) [Referenced Image Sequence]
1384 #
1385 #gdcm-CR-DCMTK-16-NonSamplePerPix.dcm 2  # 0008|1140  x(39a) [Referenced Image Sequence]
1386 #                                        # 0008|2112  x(440) [Source Image Sequence]
1387 #
1388 #gdcm-JPEG-Extended.dcm          # ffff 0008|1140  x(39a) [Referenced Image Sequence]  # 'no lentgh' SQ
1389 #                                # ffff 0008|2112  x(440) [Source Image Sequence]      # 'no lentgh' SQ
1390 #
1391 ##gdcm-JPEG-LossLess3a.dcm      # 0008|2112  x(378) [Source Image Sequence]
1392 #
1393 #gdcm-MR-PHILIPS-16.dcm         # 0008|1140 x(33c)  [Referenced Image Sequence]
1394
1395 #I9000001.dcm     # ffff 0028|6100  x(c0e)  [Mask Subtraction Sequence]   # 'no lentgh' SQ
1396 #                 # ffff 0050|0010  x(c74)  [Device Sequence]             # 'no lentgh' SQ
1397 #
1398 #multiframe2GE.dcm    # 0028|6100  x(3e)  [Mask Subtraction Sequence]
1399 #                     # 0050|0010  x(3c)  [Device Sequence]
1400 #
1401 #irmPhlipsNew1.dcm    # 0008|1140  x(33c)  [Referenced Image Sequence]
1402 #
1403 #multiframe1Integris.dcm # 0028|3000  x(66c)  [Modality LUT Sequence]
1404 #
1405 #QMAG0001.dcm     # 0008|2112  x(2ac) [Source Image Sequence]
1406 #                 # 0018|6011  x(3b6) [Sequence of Ultrasound Regions ] 
1407 #
1408 #US.1.2.dcm    # 0018|6011 x(4b8)  [Sequence of Ultrasound Regions ]
1409 #
1410 #sonataMonaco.dcm     # 0008|1140  x(35a) [Referenced Image Sequence]
1411 #
1412 #xa_integris.dcm      # 0008|1111 x(32c)  [Referenced Performed Procedure Step Sequence]
1413 #                     # 0029|fd00  x(674) [unkn]
1414 #                
1415 #E00001S03I0015.dcm     # 0008|1111 x(342) [Referenced Performed Procedure Step Sequence] []
1416 #                       # 0008|1140 x(3ac) [Referenced Image Sequence]
1417 #                  
1418 #3E768EB7.dcm              
1419 #
1420 # Horror Picture Show
1421 # -------------------
1422 #
1423 #gdcm-MR-PHILIPS-16-NonRectPix.dcm    # 22 SQ, embedded SQ 
1424 #                                     # with O length sequ
1425 #                                
1426 ##mriThruVPRO.dcm                 # 7 SQ  ffffffff length 
1427 #                                 # with O length sequ 
1428 #                                                           
1429 #MxTwinLossLess.dcm # 0088|0200  x(59c)  [Icon Image Sequence] 
1430 #                   # with O length sequ
1431 #
1432 #icone.dcm          # SQ        ffffffff length             
1433 #                   # 0008|2112  x(264)  [Source Image Sequence]
1434 #                                # with 130 useless Items (?!)
1435 #                   # 0088|0200   x(362a) [Icon Image Sequence]
1436 #                   # with Item Delimitation Item       e00d       
1437 #                   # with Sequence Delimitation Item   e0dd
1438 #                  
1439 #Wrist.pap          # PAPYRUS 3.0 image (gdcm Parsable, not gdcm readable ->  missing feature)
1440 #cinecard.pap       # PAPYRUS 3.0 multiframe (gdcm Parsable, not gdcm readable)
1441 #
1442 #
1443 #
1444 # COLOR images.
1445 # ============
1446 #
1447 #
1448 #RGB
1449 # ---
1450 #
1451 # 8BitsUncompressedColor.dcm # dimx=800 dimy=535
1452 #
1453 # US-RGB-8-epicard.dcm
1454 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1455 #echo "         PhotometricInterpretation=RGB"
1456 # dimx=640 dimy=480
1457
1458 # US-RGB-8-esopecho.dcm
1459 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1460 #echo "         PhotometricInterpretation=RGB"
1461 #dimx=256 dimy=120
1462
1463 # gdcm-RGB-LibIDORect.acr
1464 #DIMX=400 DIMY=100
1465
1466 #YBR_FULL_422
1467 #------------
1468
1469 # US.3405.1.dcm r
1470 # echo "expected  pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1471 # echo "          PhotometricInterpretation=RGB"
1472 # DIMX=768 DIMY=576
1473
1474 # US.1.2.dcm
1475 #echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)"
1476 #echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1477 #echo "          PhotometricInterpretation=YBR_FULL_422"
1478 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24
1479 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24 offset=13271040
1480 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24 offset=39813120
1481
1482
1483 #PALETTE COLOR
1484 #-------------
1485
1486 # gdcm-US-ALOKA-16.dcm
1487 #echo "expected  pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0"
1488 #echo "          PhotometricInterpretation=PALETTE COLOR"
1489 #echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account"
1490 #echo "neither e-film no DicomWorks deals with the color"
1491 #echo "breaks xmedcon"
1492 #ls -l gdcm-US-ALOKA-16.dcm*
1493 #echo "expected 1843200 (large enough to hold 3 16-bits planes)"
1494 #affim dimx=640 dimy=480 filein=gdcm-US-ALOKA-16.dcm.raw nbit=16
1495
1496 # US-PAL-8-10x-echo.dcm
1497 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1498 #echo "         PhotometricInterpretation=PALETTE COLOR"
1499 #echo "         nb Frames (DIMZ): 10"
1500 #echo "expected : Parsing 10 'single fragment' Segments"
1501 #echo "           Reading 10 'single fragment' Segments (ouf!)"
1502 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24
1503 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24 offset=774000
1504
1505 # 8BitsRunLengthColor.dcm
1506 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2"
1507 #echo "         PhotometricInterpretation=PALETTE COLOR"
1508 #affim filein=8BitsRunLengthColor.dcm.raw DIMX=800 DIMY=535 nbit=24
1509
1510 # OT-PAL-8-face.dcm
1511 #echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1512 #echo "          PhotometricInterpretation=PALETTE COLOR"
1513 #affim filein=OT-PAL-8-face.dcm.raw dimx=640 dimy=480 nbit=24
1514
1515 #YBR_FULL
1516 #--------
1517 # FMAG0001.dcm
1518 #echo "expected pixelType=8U SamplesPerPixel=3"
1519 #echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1520 #echo "         nb Frames (DIMZ) : 1"
1521 #affim filein=FMAG0001.dcm.raw DIMX=768 DIMY=576 nbit=24
1522
1523
1524 # QMAG0001.dcm
1525 #echo "expected pixelType=8U SamplesPerPixel=3"
1526 #echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1527 #affim filein=QMAG0001.dcm.raw DIMX=384 DIMY=288 nbit=24;