]> Creatis software - gdcm.git/blob - Doc/Website/ConformanceSummary.html
c9948ab636f4012e6f464a121c30ee3937bf5352
[gdcm.git] / Doc / Website / ConformanceSummary.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML>
3 <HEAD>
4    <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5    <TITLE>Gdcm supported formats</TITLE>
6 </HEAD>
7
8 <BODY>
9
10 <!#######################################################################>
11 <H1>Gdcm DICOM v3.0 conformance summary</H1>
12 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
13
14 <!#######################>
15 <H2>Introduction</H2>
16
17 This section is an abbreviated DICOM conformance statement for gdcm.
18 <BR>
19 It specifies the compliance of gdcm to file reading/writing
20 support to the
21 <A HREF="http://www.dclunie.com/dicom-status/status.html">
22           dicom base standard <B>part 5</B></A>.
23 <BR>
24 Gdcm <B>does not contain or support any of the DICOM services</B>
25 such as Storage, Query/Retrieve, Print, Verification...
26
27 <!##############################################>
28 <H2>Supported transfer syntaxes (Reading)</H2>
29 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
30
31 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
32        BGCOLOR="#ffffff">
33 <!####### Uncompressed #########>
34 <TR BGCOLOR="#99ccff">
35    <TH> Uncompressed Transfer Syntax </TH>
36    <TH> Description </TH>
37 </TR>
38 <TR>
39    <TD> 1.2.840.10008.1.2 </TD>
40    <TD> Implicit VR - Little Endian</TD>
41 </TR>
42 <TR>
43    <TD> 1.2.840.10008.1.2.1 </TD>
44    <TD> Explicit VR - Little Endian</TD>
45 </TR>
46 <TR>
47    <TD> 1.2.840.10008.1.2.1.99</TD>
48    <TD> Deflated Explicit VR - Little Endian</TD>
49 </TR>
50 <TR>
51    <TD> 1.2.840.10008.1.2.2 </TD>
52    <TD> Explicit VR - Big Endian </TD>
53 </TR>
54 <TR>
55    <TD> 1.2.840.113619.5.2 </TD>
56    <TD> Implicit VR - Big Endian (G.E Private) </TD>
57 </TR>
58
59
60 <!####### RLE #########>
61 <TR BGCOLOR="#99ccff">
62    <TD> RLE Transfer Syntax </TD>
63    <TD></TD>
64 </TR>
65 <TR>
66    <TD> 1.2.840.10008.1.2.5 </TD>
67    <TD> Run Length Encoding, Lossless</TD>
68 </TR>
69
70 <!####### JPEG #########>
71 <TR BGCOLOR="#99ccff">
72    <TD> JPEG Transfer Syntax </TD>
73    <TD></TD>
74 </TR>
75 <TR>
76    <TD> 1.2.840.10008.1.2.4.50 </TD>
77    <TD> JPEG Baseline (Process 1)</TD>
78 </TR>
79 <TR>
80    <TD> 1.2.840.10008.1.2.4.51 </TD>
81    <TD> JPEG Extended (Process 2 & 4) </TD>
82 </TR>
83 <TR>
84    <TD> 1.2.840.10008.1.2.4.57 </TD>
85    <TD> JPEG Lossless, Non-Hierarchical (Process 14) </TD>
86 </TR>
87 <TR>
88    <TD> 1.2.840.10008.1.2.4.70 </TD>
89    <TD> JPEG Lossless, Hierarchical, First-Order
90         Prediction (Process 14, [Selection Value 1]) </TD>
91 </TR>
92 </TABLE>
93
94 <!##############################################>
95 <H2>Supported transfer syntaxes (Writing)</H2>
96 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
97
98 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
99        BGCOLOR="#ffffff">
100 <!####### Uncompressed #########>
101 <TR BGCOLOR="#99ccff">
102    <TH> Uncompressed Transfer Syntax </TH>
103    <TH> Description </TH>
104 </TR>
105 <TR>
106    <TD> 1.2.840.10008.1.2 </TD>
107    <TD> Implicit VR - Little Endian</TD>
108 </TR>
109 <TR>
110    <TD> 1.2.840.10008.1.2.1 </TD>
111    <TD> Explicit VR - Little Endian</TD>
112 </TR>
113 </TABLE>
114 <!##############################################>
115 <H2>Supported "Photometric Interpretation" pixel format (Reading)</H2>
116 The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
117
118 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
119        BGCOLOR="#ffffff">
120 <TR BGCOLOR="#99ccff">
121    <TH> Photometric Interpretation" pixel format </TH>
122    <TH> Description </TH>
123 </TR>
124 <TR>
125    <TD> MONOCHROME1 </TD>
126    <TD> grey level image description (high values=dark, low values=bright)</TD>
127 </TR>
128 <TR>
129    <TD> MONOCHROME2 </TD>
130    <TD> grey level image description (high values=bright, low values=dark)</TD>
131 </TR>
132 <TR>
133    <TD> PALETTE COLOR </TD>
134    <TD> pseudo color image description</TD>
135 </TR>
136 <TR>
137    <TD> RGB </TD>
138    <TD> true color image description</TD>
139 </TR>
140 <TR>
141    <TD> YBR_FULL </TD>
142    <TD> true color image description</TD>
143 </TR>
144 <TR>
145    <TD> YBR_FULL_422 </TD>
146    <TD> true color image description</TD>
147 </TR>
148 </TABLE>
149
150 </TABLE>
151 <!##############################################>
152 <H2>Supported "Photometric Interpretation" pixel format (Writing)</H2>
153 The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
154
155 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
156        BGCOLOR="#ffffff">
157 <TR BGCOLOR="#99ccff">
158    <TH> Photometric Interpretation" pixel format </TH>
159    <TH> Description </TH>
160 </TR>
161 <TR>
162    <TD> MONOCHROME2 </TD>
163    <TD> grey level image description (high values=bright, low values=dark)</TD>
164 </TR>
165 <TR>
166    <TD> PALETTE COLOR </TD>
167    <TD> pseudo color image description</TD>
168 </TR>
169 <TR>
170    <TD> RGB </TD>
171    <TD> true color image description</TD>
172 </TR>
173
174 </TABLE>
175
176
177 <!##############################################>
178 <H2>Supported 'Bits Allocated' values (Reading)</H2>
179 The Bits Allocated value is in the file DICOM Tag field (0020,0100).
180
181 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
182        BGCOLOR="#ffffff">
183 <!####### Uncompressed #########>
184 <TR BGCOLOR="#99ccff">
185    <TH> Classical values </TH>
186    <TH> Description </TH>
187 </TR>
188 <TR>
189    <TD> 8, 12, 16 </TD>
190    <TD> 12 means that 4 pixels are stored in 3 'short int'</TD>
191 </TR>
192 <TR BGCOLOR="#99ccff">
193    <TH> Unusual values </TH>
194    <TH> Description </TH></TR>
195 <TR>
196    <TD> 24 </TD>
197    <TD> Some ACR-NEMA RGB files came with 'Bits Allocated' = 24
198      and 'Samples Per Pixel' = 1, or with no 'Samples Per Pixel' 
199      at all  </TD>
200 </TR>
201 <TR>  
202    <TD> 32 </TD>
203    <TD> Some ACR-NEMA files, from CT,  came with 'Bits Allocated' = 32
204       (probabely 65535 grey levels was not enough for them ...) 
205    </TD>
206 </TR>
207 </TABLE>
208
209 <!##############################################>
210 <H2> Note on odd length data elements</H2>
211
212 The Dicom Standard PS 3.5 (Data Structures and Encoding) specifies that
213 the data element values which make up a DICOM data stream must be padded
214 to an even length.
215 <BR>
216 Gdcm will <B>tolerate</B> an incorrectly formed odd length data field while
217 <B>reading</B> (thus not enforcing the standard).
218 <BR>
219 But gdcm will always <B>enforce</B> the standard while <B>writing</B>.
220
221 <!##############################################>
222 <H2> Note on undefined Value Representations</H2>
223
224 If gdcm encounters an undefined VR (either because in a private group,
225 or because it corresponds to an undocumented public dictionary entry
226 when in implicit VR) while reading a file, it will set that data
227 element's VR to be UN (unknown).
228
229 <!##############################################>
230 <H2> Note on missing 'Mandatory' Tags</H2>
231
232 Each time it's possible to assume a 'reasonable' default value for missing
233 'mandatory' tag, gdcm does it. <br>
234 For instance if the Tag 'Samples Per Pixels' is missing, we assume its value is
235 '1' (Grey pixels, as opposite to RGB); <br>if the tag 'High Bit' is missing, we
236 assume its value is 'Bits stored -1' (i.e. : no bad trick inside the pixels)<br>
237 As gdcm wants to read *as well* old ACR-NEMA files, it has to be widely
238 tolerant.
239
240
241 <!##############################################>
242 <H2> Note 'Value Multiplicity'</H2>
243
244 gdcm believes what's written on disc, better than the 'Dicom Dictionary'.<br>
245 For instance if the field 'Pixels Spacing' contains a single value -instead of
246 the mandatory two, gdcm will suppose both values are equal.
247
248
249 <!##############################################>
250 <H2>Note on retired data elements</H2>
251
252 Certain data elements are no longer supported under the v3.0 of the DICOM
253 standard but persist as retired element. Gdcm maintain them in its Dicom
254 Dictionary, postfix their names with the "(RET)" string, and goes on dealing
255 with them as standard data elements.
256
257
258 <!#######################################################################>
259 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
260 <H2><B>UN</B>Supported transfer syntaxes</H2>
261 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
262                                                                                 
263 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
264        BGCOLOR="#ffffff">
265 <!####### Uncompressed #########>
266 <TR BGCOLOR="#99ccff">
267    <TH> Jpeg UNSUPPORTED Transfer Syntax </TH>
268    <TH> Description </TH>
269 </TR>
270 <TR>
271    <TD> 1.2.840.10008.1.2.4.52 </TD>
272    <TD> JPEG Extended (Process 3 & 5) </TD>
273 </TR>
274 <TR>
275    <TD> 1.2.840.10008.1.2.4.53</TD>
276    <TD> JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8)</TD>
277 </TR>
278 <TR>
279    <TD> 1.2.840.10008.1.2.4.54 </TD>
280    <TD> JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9)</TD>
281 </TR>
282 <TR>
283    <TD> 1.2.840.10008.1.2.4.55 </TD>
284    <TD> JPEG Full Progression, Non-Hierarchical (Process 10 & 12)</TD>
285 </TR>
286 <TR>
287    <TD> 1.2.840.10008.1.2.4.56 </TD>
288    <TD> JPEG Full Progression, Non-Hierarchical (Process 11 & 13) </TD>
289 </TR>
290 <TR>
291    <TD> 1.2.840.10008.1.2.4.58 </TD>
292    <TD> JPEG Lossless, Non-Hierarchical (Process 15) </TD>
293 </TR>
294 <TR>
295    <TD> 1.2.840.10008.1.2.4.59 </TD>
296    <TD> JPEG Extended, Hierarchical (Process 16 & 18) </TD>
297 </TR>
298 <TR>
299    <TD> 1.2.840.10008.1.2.4.60 </TD>
300    <TD> JPEG Extended, Hierarchical (Process 17 & 19)</TD>
301 </TR>
302 <TR>
303    <TD> 1.2.840.10008.1.2.4.61 </TD>
304    <TD> JPEG Spectral Selection, Hierarchical (Process 20 & 22) </TD>
305 </TR>
306 <TR>
307    <TD> 1.2.840.10008.1.2.4.62 </TD>
308    <TD> JPEG Spectral Selection, Hierarchical (Process 21 & 23) </TD>
309 </TR>
310 <TR>
311    <TD> 1.2.840.10008.1.2.4.63 </TD>
312    <TD> JPEG Full Progression, Hierarchical (Process 24 & 26)</TD>
313 </TR>
314 <TR>
315    <TD> 1.2.840.10008.1.2.4.64 </TD>
316    <TD> JPEG Full Progression, Hierarchical (Process 25 & 27) </TD>
317 </TR>
318 <TR>
319    <TD> 1.2.840.10008.1.2.4.65 </TD>
320    <TD> JPEG Lossless, Hierarchical (Process 28)</TD>
321 </TR>
322 <TR>
323    <TD> 1.2.840.10008.1.2.4.66 </TD>
324    <TD> JPEG Lossless, Hierarchical (Process 29) </TD>
325 </TR>
326 <TR>
327    <TD> 1.2.840.10008.1.2.4.80 </TD>
328    <TD> JPEG-LS Lossless Image Compression </TD>
329 </TR>
330 <TR>
331    <TD> 1.2.840.10008.1.2.4.81 </TD>
332    <TD> JPEG-LS Lossy (Near-Lossless) Image Compression </TD>
333 </TR>
334 <TR>
335    <TD> 1.2.840.10008.1.2.4.90 </TD>
336    <TD> JPEG 2000 Image Compression (Lossless Only) </TD>
337 </TR>
338 <TR>
339    <TD> 1.2.840.10008.1.2.4.91 </TD>
340    <TD> JPEG 2000 Image Compression </TD>
341 </TR>
342 <TR>
343    <TD> 1.2.840.10008.1.2.4.100 </TD>
344    <TD> MPEG2 Main Profile @ Main Level </TD>
345 </TR>
346
347 </TABLE>
348
349
350 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
351
352 </BODY>
353 </HTML>