]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
- TestAllEntryVerifyReference.txt: removal of all TABS introduced by
[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    #   * possesses many sequences in group 0x0029
778    #   * Private BinEntry (DT) 21 1007
779    0008|0070 "Philips Medical Systems "   # Manufacturer
780    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
781    0028|0101 "12"                         # Bits Stored
782    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
783    0028|0010 "128"                        # Rows
784    0028|0011 "128"                        # Columns
785    0028|0100 "16"                         # Bits Allocated
786    0028|0102 "11"                         # High Bit
787    0028|0103 "0"                          # Pixel Representation
788    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
789    0008|0060 "MR"                         # Modality
790    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
791    7fe0|0010 "gdcm::NotLoaded Address:35846 Length:32768 x(8000)"
792 ]
793
794 [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
795    # - Particularities:
796    #   * probably generated with dcmtk (DICOM Toolkit, refer to
797    #     http://dicom.offis.de/dcmtk.php.en)
798    #   * Misses the "Samples Per Pixel" element which prevents
799    #     e-film from reading it.
800    #   * Misses the Manufacturer related info
801    0008|0070 "gdcm::Unfound"              # Manufacturer
802    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
803    0028|0101 "8"                          # Bits Stored
804    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
805    0028|0010 "750"                        # Rows
806    0028|0011 "750"                        # Columns
807    0028|0100 "8"                          # Bits Allocated
808    0028|0102 "7"                          # High Bit
809    0028|0103 "0"                          # Pixel Representation
810    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
811    0008|0060 "CR"                         # Modality
812    0002|0013 "OFFIS_DCMTK_341 "           # Implementation Version Name
813    0028|0002 "gdcm::Unfound"              # Samples per Pixel
814    7fe0|0010 "gdcm::NotLoaded Address:740 Length:562500 x(89544)"
815 ]
816
817 [ gdcm-MR-PHILIPS-16-NonRectPix.dcm
818    # - Particularities:
819    #   * Non rectangular pixels (see "Pixel Spacing" tag)
820    #   * private tags are in explicit VR (which is normal BTW)
821    #   *screen-flaher non printable characters in private elements (gdcmBinEntry ?)
822    #   * has FD fields (0029 218b, 29 218d)
823
824    0008|0070 "Philips Medical Systems "   # Manufacturer
825    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
826    0028|0101 "12"                         # Bits Stored
827    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
828    0028|0010 "64"                         # Rows
829    0028|0011 "160"                        # Columns
830    0028|0100 "16"                         # Bits Allocated
831    0028|0102 "11"                         # High Bit
832    0028|0103 "0"                          # Pixel Representation
833    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
834    0008|0060 "MR"                         # Modality
835    0028|0030 " 0.487416\0.194966"         # Pixel Spacing
836    7fe0|0010 "gdcm::NotLoaded Address:5010 Length:20480 x(5000)"
837 ]
838
839 [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
840    # - Particularities:
841    #   * contains a tag with value multiplicity bigger than 1: the
842    #     tag (0x0018, 0x1310) has "US" as value representation BUT
843    #     has a size of 8 bytes (i.e. it contains FOUR short integers)
844    0008|0070 "SIEMENS "                   # Manufacturer
845    0008|1090 "Sonata"                     # Manufacturer's Model Name
846    0028|0101 "12"                         # Bits Stored
847    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
848    0028|0010 "208"                        # Rows
849    0028|0011 "256"                        # Columns
850    0028|0100 "16"                         # Bits Allocated
851    0028|0102 "11"                         # High Bit
852    0028|0103 "0"                          # Pixel Representation
853    0002|0010 "1.2.840.10008.1.2.1"        # Transfer Syntax: Explicit VR, LE
854    0008|0060 "MR"                         # Modality
855    0018|1310 "256\0\0\166"                # Acquisition Matrix
856    7fe0|0010 "gdcm::NotLoaded Address:25686 Length:106496 x(1a000)"
857 ]
858
859 [ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
860    # - Particularities:
861    #   * looks like a DICOM V3 image but it misses the proper file
862    #     file preamble (of 200 bytes).
863    0008|0070 "Picker International, Inc." # Manufacturer
864    0008|1090 "HF1006"                     # Manufacturer's Model Name
865    0028|0101 "16"                         # Bits Stored
866    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
867    0028|0010 "512"                        # Rows
868    0028|0011 "512"                        # Columns
869    0028|0100 "16"                         # Bits Allocated
870    0028|0102 "15"                         # High Bit
871    0028|0103 "1"                          # Pixel Representation
872    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
873    0008|0060 "MR"                         # Modality
874    7fe0|0010 "gdcm::NotLoaded Address:1406 Length:524288 x(80000)"
875 ]
876
877 [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
878    # - Particularities:
879    #   * Contains an odd sequence at tag (0x0008, 0x1140).
880    #     JPR FIXME: in what sense is it odd ???
881    0008|0070 "Philips Medical Systems "   # Manufacturer
882    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
883    0028|0101 "8"                          # Bits Stored
884    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
885    0028|0010 "256"                        # Rows
886    0028|0011 "256"                        # Columns
887    0028|0100 "16"                         # Bits Allocated
888    0028|0102 "7"                          # High Bit
889    0028|0103 "0"                          # Pixel Representation
890    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
891    0008|0060 "MR"                         # Modality
892    7fe0|0010 "gdcm::NotLoaded Address:6584 Length:131072 x(20000)"
893 ]
894
895 [ PICKER-16-MONO2-Nested_icon.dcm
896    # - Particularities:
897    #   * contains TWO images:
898    #     - the original image 512x512
899    #     - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200)
900    #     This implies this image contains two 7fe0|0010 (among one is
901    #     burried in a sequence), two "Rows" entries, two "Columns" entries...
902    #     This makes it impossible to use the name of tag (e.g. Rows) as
903    #     as a key of dictionaries build on top of such an image....
904    0008|0070 "PICKER"                     # Manufacturer
905    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
906    0028|0101 "12"                         # Bits Stored
907    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
908    0028|0010 "512"                        # Rows
909    0028|0011 "512"                        # Columns
910    0028|0100 "16"                         # Bits Allocated
911    0028|0102 "11"                         # High Bit
912    0028|0103 "0"                          # Pixel Representation
913    0002|0010 "1.2.840.10008.1.2"          # Transfer Syntax: Implicit VR, LE
914    0008|0060 "CT"                         # Modality
915    7fe0|0010 "gdcm::NotLoaded Address:18228 Length:524288 x(80000)"
916 ]
917
918 [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
919    # - Particularities:
920    #   * within the sequence at tag (0x0028, 0x3000) we encounter
921    #     an "Item Delimitation" (0xfffe, 0xe00d) followed by an
922    #     "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after
923    #     the tag (0x0028, 0x3006) !!!
924    #   * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
925    #     (0x0008, 0x0010) is present].
926    0008|0070 "Kodak "                     # Manufacturer
927    0008|1090 "gdcm::Unfound"              # Manufacturer's Model Name
928    0028|0101 "12"                         # Bits Stored
929    0028|0004 "MONOCHROME1 "               # Photometric Interpretation
930    0028|0010 "2392"                       # Rows
931    0028|0011 "1792"                       # Columns
932    0028|0100 "16"                         # Bits Allocated
933    0028|0102 "11"                         # High Bit
934    0028|0103 "0"                          # Pixel Representation
935    0002|0010 "gdcm::Unfound"              # Transfer Syntax: Implicit VR, LE
936    0008|0060 "CR"                         # Modality
937    7fe0|0010 "gdcm::NotLoaded Address:9134 Length:8572928 x(82d000)"
938 ]
939
940
941 ############################################################
942 ### Jpeg compressed images.
943 ############################################################
944 [ gdcm-JPEG-Extended.dcm
945    # - Particularities:
946    #   * jpeg compression [Extended Process (2,4)]
947    #   * probably contains additional data after the pixels (see comments
948    #     of the gdcm-JPEG-LossLess3a.dcm entry)
949    #   * contains OB private fields (19 10b0, 21 1011, 29 1008, 29 1009,
950    #             29 1010, 29 1131, 29 1134)
951    0008|0070 "SIEMENS "                   # Manufacturer
952    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
953    0028|0101 "12"                         # Bits Stored
954    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
955    0028|0010 "512"                        # Rows
956    0028|0011 "512"                        # Columns
957    0028|0100 "16"                         # Bits Allocated
958    0028|0102 "11"                         # High Bit
959    0028|0103 "0"                          # Pixel Representation
960    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
961                                           #                  process (2,4)
962    0008|0060 "CT"                         # Modality
963    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
964 ]
965
966 [ gdcm-JPEG-Extended-Allready_present.dcm
967    # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
968    #            terms of features (actually I suspect gdcm-JPEG-Extended.dcm
969    #            is the anonymized version of this one)...
970    # - Particularities:
971    #   * jpeg compression [Extended Process (2,4)]
972    #   * private BinEntry (OB) in 19 10b0, 21 1011, 29 1008, 29 1009, 29 1010,
973    #                              29 1131, 29 1134
974    0008|0070 "SIEMENS "                   # Manufacturer
975    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
976    0028|0101 "12"                         # Bits Stored
977    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
978    0028|0010 "512"                        # Rows
979    0028|0011 "512"                        # Columns
980    0028|0100 "16"                         # Bits Allocated
981    0028|0102 "11"                         # High Bit
982    0028|0103 "0"                          # Pixel Representation
983    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
984                                           #                  process (2,4)
985    0008|0060 "CT"                         # Modality
986    7fe0|0010 "gdcm::NotLoaded Address:2946 Length:192218 x(2eeda)"
987 ]
988
989 [ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
990    # - Particularities:
991    #   * jpeg compression [Extended Process (2,4)]
992    0008|0070 "SIEMENS "                   # Manufacturer
993    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
994    0028|0101 "12"                         # Bits Stored
995    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
996    0028|0010 "512"                        # Rows
997    0028|0011 "512"                        # Columns
998    0028|0100 "16"                         # Bits Allocated
999    0028|0102 "11"                         # High Bit
1000    0028|0103 "0"                          # Pixel Representation
1001    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1002                                           #                  process (2,4)
1003    0008|0060 "CT"                         # Modality
1004    7fe0|0010 "gdcm::NotLoaded Address:3044 Length:66978 x(105a2)"
1005 ]
1006
1007 [ gdcm-JPEG-LossLess3a.dcm
1008    # - Particularities:
1009    #   * jpeg compression [Lossless, hierar., first-order prediction 
1010    #     (Process 14, Selection Value 1) ]
1011    #   * contains additional data after the pixels (see below)
1012    #   * contains a sequence at tag (0x0008, 0x2112)
1013    0008|0070 "SIEMENS "                   # Manufacturer
1014    0008|1090 "Volume Zoom "               # Manufacturer's Model Name
1015    0028|0101 "12"                         # Bits Stored
1016    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1017    0028|0010 "512"                        # Rows
1018    0028|0011 "512"                        # Columns
1019    0028|0100 "16"                         # Bits Allocated
1020    0028|0102 "11"                         # High Bit
1021    0028|0103 "0"                          # Pixel Representation
1022    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1023                                           #                  process (2,4)
1024    0008|0060 "CT"                         # Modality
1025    # It looks like the pixel data are corrupted:
1026    # As stated by "od -A d -c"
1027    #   0002528     à 177 020 \0  O  B \0 \0   ÿ  ÿ   ÿ   ÿ þ  ÿ \0  à
1028    #   0002544    \0  \0  \0 \0  þ  ÿ \0  à 202  ? 003  \0  ÿ  Ø  ÿ  Ã
1029    # which we interpret as follows:
1030    #   - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
1031    #   - 2532: OB i.e. encapsulated encoded Pixel Data,
1032    #   - 2534: Two bytes reserved,
1033    #   - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
1034    #   - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
1035    #           item tag
1036    #   - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
1037    #           item value for offset table.
1038    #   - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
1039    #           fragment of (encoded) pixel data.
1040    #   - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
1041    #           of (encoded) pixel data.
1042    # and so the next item tag should be found at the 2556+212866 th
1043    # octet i.e. at address 215422. But, as stated by od, we find:
1044    #   0215408   E   u Ö 026   Î   É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
1045    #   0215424   ¶ 016 P   Ñ 002 016
1046    # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
1047    # present (at least there should be a sequence delimiter), refer to
1048    # PS 3.5-2001 page 50.
1049    #
1050    # As stated by JPR in hexa:
1051    # at 9ec : ItemTag : fffe,e000
1052    # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
1053    # at 9f4 : ItemTag : fffe,e000
1054    #         at 9f8 : fragment length 212866 x(00033f82)
1055    # at 3497e : ItemTag  b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
1056    7fe0|0010 "gdcm::NotLoaded Address:2540 Length:212890 x(33f9a)"
1057 ]
1058
1059 [ gdcm-JPEG-LossLessThoravision.dcm
1060    # - Particularities:
1061    #   * jpeg compression [Lossless, hierar., first-order prediction
1062    #     (Process 14, Selection Value 1) ]
1063    #   * encoding is sligthly different from the one of entry
1064    #     gdcm-JPEG-LossLess3a.dcm (to check).
1065    #   * Large picture: 2076 by 1876 (I wonder what screens they have...)
1066    #     -> Just underscale it !
1067    #   Breaks all the DICOM viewers
1068    0008|0070 "Philips Medical Systems "   # Manufacturer
1069    0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
1070    0028|0101 "15"                         # Bits Stored
1071    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1072    0028|0010 "2076"                       # Rows
1073    0028|0011 "1876"                       # Columns
1074    0028|0100 "16"                         # Bits Allocated
1075    0028|0102 "14"                         # High Bit
1076    0028|0103 "0"                          # Pixel Representation
1077    0002|0010 "1.2.840.10008.1.2.4.70"     # Transfer Syntax: jpeg extended
1078                                           #                  process (2,4)
1079    0008|0060 "CR"                         # Modality
1080    7fe0|0010 "gdcm::NotLoaded Address:3144 Length:4795668 x(492d14)"
1081 ]
1082
1083 [ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
1084    # - Particularities:
1085    #   * jpeg compression [Extended Process (2,4)]
1086    #   * Allthough it is a DICOM V3 image, the "Recognition Code" tag
1087    #     announces it as "ACR-NEMA 1.0" !
1088    0008|0070 "Philips Medical Systems "   # Manufacturer
1089    0008|1090 "Gyroscan Intera "           # Manufacturer's Model Name
1090    0028|0101 "12"                         # Bits Stored
1091    0028|0004 "MONOCHROME2 "               # Photometric Interpretation
1092    0028|0010 "512"                        # Rows
1093    0028|0011 "512"                        # Columns
1094    0028|0100 "16"                         # Bits Allocated
1095    0028|0102 "11"                         # High Bit
1096    0028|0103 "0"                          # Pixel Representation
1097    0002|0010 "1.2.840.10008.1.2.4.51"     # Transfer Syntax: jpeg extended
1098                                           #                  process (2,4)
1099    0008|0060 "MR"                         # Modality
1100    0008|0010 "ACR-NEMA 1.0"               # Recognition Code (RET)
1101    7fe0|0010 "gdcm::NotLoaded Address:5956 Length:46602 x(b60a)"
1102 ]
1103
1104
1105 # dicom-sc_cs-1.dcm # Has a lot of private fields, with no VR.
1106                     # (groups 9, 11, 19, 21, 29, 31)
1107                     # Has a 'Zero length' integer field
1108                     # 0020|5000 lg :0 [US][Original Image Identification (RET)]
1109
1110 ###########################################################################
1111 ### JPR
1112 ### Images present in gdcmData but whose peculiarity is not documented
1113 ###########################################################################
1114 # 00191113.dcm
1115 # 012345.002.050.dcm
1116 # 'hand made' images (flowers), found on the net
1117 # Many of them are the sole sample we have of some compression methods
1118 # 16BitsJpegLosslessGrayScale.dcm
1119 # 16BitsRunLengthGrayScale.dcm
1120 # 16BitsUncompressedGrayScale.dcm
1121 # 24BitsJpegLosslessColor.dcm
1122 # 24BitsJpegLossyColor.dcm
1123 # 24BitsUncompressedColor.dcm
1124 # 8BitsJpegLossyGrayScale.dcm
1125 # 8BitsRunLengthColor.dcm
1126 # 8BitsRunLengthGrayScale.dcm
1127 # 8BitsUncompressedColor.dcm
1128 # 8BitsUncompressedGrayScale.dcm
1129 #
1130 # 3E768EB7.dcm
1131 # 8078283Leonardo.dcm # Comes from Siemens LEONARDO console, while producing buggy headered images
1132 # canadaAloka.dcm
1133 # CLIP0001-Sequoia-U11.dcm #Has trailing info (fffc|fffc OB lg=6ba)
1134 # DermaColorLossLess.dcm
1135 # DICOMDIR
1136 # DicomSampleNastyGEImage.dcm # Sample of well known GE buggy headered image (wrong length for some Sitems)
1137 # emptyImage.dcm  # used by Theralys as a template to produce as-little-header-as-possible efilm readable images
1138 # FMAG0001.dcm  #Has trailing info (fffc|fffc OB lg=4da)
1139 # QMAG0001.dcm
1140 # fromTheralys.dcm # has a 13 bytes length item !
1141 # 9000001.dcm
1142 # IMG00001.dcm # has many Private BinEntries (VR, DT, FD, OB)
1143 #        FL 19 105a, DT 19 109d, FD 23 1070, FL 27 1041, FL 27 1042, FL 27 1043,
1144 #        FL 27 1044,
1145 #        FL 27 1045, FL 27 1046, FL 27 1047, FL 27 1048, FL 27 1049, FL 27 104a,
1146 #        FL 27 104b, FL 27 104c, FL 27 104d, FL 27 1060, FL 27 1061, FL 27 1062,
1147 #        OB 43 1028 ,OB 43 1029 ,OB 43 102a ,FL 43 1033 ,FL 43 1038
1148
1149 # lena128x128.acr # ACR-LibIDO image. gdcm *can* read it!
1150 # mriThruVPRO.dcm
1151 # MxTwinLossLess.dcm
1152 # RadBWLossLess.dcm
1153 # test.acr
1154 # volSten.acr # is an ACR 'volume" (has a Number of Planes, not Number of Frames)
1155 # xa_integris.dcm #Has trailing info (fffc|fffc OB lg=622)
1156
1157 ###########################################################################
1158 ### JPR
1159 # Images NOT in gdcmData anymore (lost, renamed or not commited ???)
1160 # ==> I removed from the list the images I found with a new name . JPR
1161 #############################################################################
1162 # jpeglossles1.dcm
1163 #               Jpeg LossLess
1164 #               True Dicom
1165 #               Explicit VR
1166 #               SQ en (0008,2112)
1167 #               contient peut etre (?!) des curiosités apres les Pixels
1168 #               
1169 #               
1170 # US.1.3.dcm
1171 #       Ces deux examens, correspondant a 2 patients differents ont le meme Study ID
1172 #
1173 # acusson.dcm
1174 #               Echographie single Frame
1175 #               True Dicom
1176 #               Explicit VR
1177 #               3 LUT (R, G, B)
1178 #
1179 #               
1180 # sonata.dcm
1181 #               IRM Siemens Sonata (images taggees)
1182 #               SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois 
1183 #               
1184 # imageEcat.ecat
1185 #               Image au format ECAT (Medecine Nucleaire)
1186 #               On n'y echapera pas encore tres longtemps, a celles la :-( 
1187
1188 #
1189 # ------------------------------------
1190 #
1191 # Sequence related images 
1192 # =======================
1193 #
1194 # "peacefull images"
1195 # ------------------
1196 #
1197 #canadaAloka.dcm 2         # 0018|6011 x(2f6) [Sequence of Ultrasound Regions ] ffff
1198 #
1199 #CLIP0001-Sequoia-U11.dcm # 0018|6011 [Sequence of Ultrasound Regions ]
1200 #
1201 #cr172241.dcm 2           # 0028|3000  x(344) [Modality LUT Sequence]
1202 #
1203 #fromTheralys.dcm 2       # 0008|1140  x(2f1) [Referenced Image Sequence]
1204 #
1205 #gdcm-CR-DCMTK-16-NonSamplePerPix.dcm 2  # 0008|1140  x(39a) [Referenced Image Sequence]
1206 #                                        # 0008|2112  x(440) [Source Image Sequence]
1207 #
1208 #gdcm-JPEG-Extended.dcm          # ffff 0008|1140  x(39a) [Referenced Image Sequence]  # 'no lentgh' SQ
1209 #                                # ffff 0008|2112  x(440) [Source Image Sequence]      # 'no lentgh' SQ
1210 #
1211 ##gdcm-JPEG-LossLess3a.dcm      # 0008|2112  x(378) [Source Image Sequence]
1212 #
1213 #gdcm-MR-PHILIPS-16.dcm         # 0008|1140 x(33c)  [Referenced Image Sequence]
1214
1215 #I9000001.dcm     # ffff 0028|6100  x(c0e)  [Mask Subtraction Sequence]   # 'no lentgh' SQ
1216 #                 # ffff 0050|0010  x(c74)  [Device Sequence]             # 'no lentgh' SQ
1217 #
1218 #multiframe2GE.dcm    # 0028|6100  x(3e)  [Mask Subtraction Sequence]
1219 #                     # 0050|0010  x(3c)  [Device Sequence]
1220 #
1221 #irmPhlipsNew1.dcm    # 0008|1140  x(33c)  [Referenced Image Sequence]
1222 #
1223 #multiframe1Integris.dcm # 0028|3000  x(66c)  [Modality LUT Sequence]
1224 #
1225 #QMAG0001.dcm     # 0008|2112  x(2ac) [Source Image Sequence]
1226 #                 # 0018|6011  x(3b6) [Sequence of Ultrasound Regions ] 
1227 #
1228 #US.1.2.dcm    # 0018|6011 x(4b8)  [Sequence of Ultrasound Regions ]
1229 #
1230 #sonataMonaco.dcm     # 0008|1140  x(35a) [Referenced Image Sequence]
1231 #
1232 #xa_integris.dcm      # 0008|1111 x(32c)  [Referenced Performed Procedure Step Sequence]
1233 #                     # 0029|fd00  x(674) [unkn]
1234 #                
1235 #E00001S03I0015.dcm     # 0008|1111 x(342) [Referenced Performed Procedure Step Sequence] []
1236 #                       # 0008|1140 x(3ac) [Referenced Image Sequence]
1237 #                  
1238 #3E768EB7.dcm              
1239 #
1240 # Horror Picture Show
1241 # -------------------
1242 #
1243 #gdcm-MR-PHILIPS-16-Multi-Seq.dcm    # 400 SQ, embedded SQ 
1244 #                                    # with O length sequ
1245 #
1246 #gdcm-MR-PHILIPS-16-NonRectPix.dcm    # 22 SQ, embedded SQ 
1247 #                                     # with O length sequ
1248 #                                
1249 ##mriThruVPRO.dcm                 # 7 SQ  ffffffff length 
1250 #                                 # with O length sequ 
1251 #                                                           
1252 #MxTwinLossLess.dcm # 0088|0200  x(59c)  [Icon Image Sequence] 
1253 #                   # with O length sequ
1254 #
1255 #icone.dcm          # SQ        ffffffff length             
1256 #                   # 0008|2112  x(264)  [Source Image Sequence]
1257 #                                # with 130 useless Items (?!)
1258 #                   # 0088|0200   x(362a) [Icon Image Sequence]
1259 #                   # with Item Delimitation Item       e00d       
1260 #                   # with Sequence Delimitation Item   e0dd
1261 #                  
1262 #Wrist.pap          # PAPYRUS 3.0 image (gdcm Parsable, not gdcm readable ->  missing feature)
1263 #cinecard.pap       # PAPYRUS 3.0 multiframe (gdcm Parsable, not gdcm readable)
1264 #
1265 #
1266 #
1267 # COLOR images.
1268 # ============
1269 #
1270 #
1271 #RGB
1272 # ---
1273 #
1274 # 8BitsUncompressedColor.dcm # dimx=800 dimy=535
1275 #
1276 # US-RGB-8-epicard.dcm
1277 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1278 #echo "         PhotometricInterpretation=RGB"
1279 # dimx=640 dimy=480
1280
1281 # US-RGB-8-esopecho.dcm
1282 #echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1283 #echo "         PhotometricInterpretation=RGB"
1284 #dimx=256 dimy=120
1285
1286 # gdcm-RGB-LibIDORect.acr
1287 #DIMX=400 DIMY=100
1288
1289 #YBR_FULL_422
1290 #------------
1291
1292 # US.3405.1.dcm r
1293 # echo "expected  pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1294 # echo "          PhotometricInterpretation=RGB"
1295 # DIMX=768 DIMY=576
1296
1297 # US.1.2.dcm
1298 #echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)"
1299 #echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1300 #echo "          PhotometricInterpretation=YBR_FULL_422"
1301 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24
1302 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24 offset=13271040
1303 #affim filein=US.1.2.dcm.raw  DIMX=768 DIMY=576  nbit=24 offset=39813120
1304
1305
1306 #PALETTE COLOR
1307 #-------------
1308
1309 # gdcm-US-ALOKA-16.dcm
1310 #echo "expected  pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0"
1311 #echo "          PhotometricInterpretation=PALETTE COLOR"
1312 #echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account"
1313 #echo "neither e-film no DicomWorks deals with the color"
1314 #echo "breaks xmedcon"
1315 #ls -l gdcm-US-ALOKA-16.dcm*
1316 #echo "expected 1843200 (large enough to hold 3 16-bits planes)"
1317 #affim dimx=640 dimy=480 filein=gdcm-US-ALOKA-16.dcm.raw nbit=16
1318
1319 # US-PAL-8-10x-echo.dcm
1320 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0"
1321 #echo "         PhotometricInterpretation=PALETTE COLOR"
1322 #echo "         nb Frames (DIMZ): 10"
1323 #echo "expected : Parsing 10 'single fragment' Segments"
1324 #echo "           Reading 10 'single fragment' Segments (ouf!)"
1325 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24
1326 #affim filein=US-PAL-8-10x-echo.dcm.raw DIMX=600 DIMY=430 nbit=24 offset=774000
1327
1328 # 8BitsRunLengthColor.dcm
1329 #echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2"
1330 #echo "         PhotometricInterpretation=PALETTE COLOR"
1331 #affim filein=8BitsRunLengthColor.dcm.raw DIMX=800 DIMY=535 nbit=24
1332
1333 # OT-PAL-8-face.dcm
1334 #echo "expected  pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1"
1335 #echo "          PhotometricInterpretation=PALETTE COLOR"
1336 #affim filein=OT-PAL-8-face.dcm.raw dimx=640 dimy=480 nbit=24
1337
1338 #YBR_FULL
1339 #--------
1340 # FMAG0001.dcm
1341 #echo "expected pixelType=8U SamplesPerPixel=3"
1342 #echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1343 #echo "         nb Frames (DIMZ) : 1"
1344 #affim filein=FMAG0001.dcm.raw DIMX=768 DIMY=576 nbit=24
1345
1346
1347 # QMAG0001.dcm
1348 #echo "expected pixelType=8U SamplesPerPixel=3"
1349 #echo "         PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL"
1350 #affim filein=QMAG0001.dcm.raw DIMX=384 DIMY=288 nbit=24;
1351
1352 # images from :
1353 # http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
1354 #------------------------------------------------------
1355
1356 # 8BitsJpegLossyGrayScale.dcm r
1357
1358 # 8BitsRunLengthColor.dcm r
1359
1360 # 8BitsRunLengthGrayScale.dcm r
1361
1362 # 8BitsUncompressedColor.dcm r
1363
1364 # 8BitsUncompressedGrayScale.dcm r
1365
1366 # 16BitsJpegLosslessGrayScale.dcm r
1367
1368 # 16BitsRunLengthGrayScale.dcm r
1369 #echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=2"
1370 #echo "         PhotometricInterpretation=MONOCHROME2"
1371 #affim filein=16BitsRunLengthGrayScale.dcm.raw  DIMX=800 DIMY=535 nbit=16
1372
1373 # 16BitsUncompressedGrayScale.dcm r
1374 #affim filein=16BitsUncompressedGrayScale.dcm.raw DIMX=800 DIMY=535  nbit=16
1375
1376 # 24BitsJpegLosslessColor.dcm r
1377 #echo "expected  DIMX=800 DIMY=535 DIMZ=1 "
1378 #echo "          pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0"
1379 #echo "          PhotometricInterpretation=RGB "
1380 #affim filein=24BitsJpegLosslessColor.dcm.raw DIMX=800 DIMY=535  nbit=24
1381
1382 # 24BitsJpegLossyColor.dcm r
1383 #affim filein=24BitsJpegLossyColor.dcm.raw DIMX=800 DIMY=535  nbit=24
1384
1385 # 24BitsUncompressedColor.dcm r
1386 #affim filein=24BitsUncompressedColor.dcm.raw DIMX=800 DIMY=535 nbit=24