]> Creatis software - gdcm.git/blob - Doc/Website/ConformanceSummary.html
90b9c31018dcabfac645e1c2fa0e283f2e6b9999
[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>
236 if the tag 'High Bit' is missing, we
237 assume its value is 'Bits stored -1' (i.e. : no bad trick inside the pixels)<br>
238 As gdcm wants to read *as well* old ACR-NEMA files, it has to be widely
239 tolerant.
240
241
242 <!##############################################>
243 <H2> Note 'Value Multiplicity'</H2>
244
245 gdcm believes what's written on disc, better than the 'Dicom Dictionary'.<br>
246 For instance if the field 'Pixels Spacing' contains a single value -instead of
247 the mandatory two, gdcm will suppose both values are equal.
248
249
250 <!##############################################>
251 <H2>Note on retired data elements</H2>
252
253 Certain data elements are no longer supported under the v3.0 of the DICOM
254 standard but persist as retired element. Gdcm maintain them in its Dicom
255 Dictionary, postfix their names with the "(RET)" string, and goes on dealing
256 with them as standard data elements.
257
258
259 <!#######################################################################>
260 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
261 <H2><B>UN</B>Supported transfer syntaxes</H2>
262 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
263                                                                                 
264 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
265        BGCOLOR="#ffffff">
266 <!####### Uncompressed #########>
267 <TR BGCOLOR="#99ccff">
268    <TH> Jpeg UNSUPPORTED Transfer Syntax </TH>
269    <TH> Description </TH>
270 </TR>
271 <TR>
272    <TD> 1.2.840.10008.1.2.4.52 </TD>
273    <TD> JPEG Extended (Process 3 & 5) </TD>
274 </TR>
275 <TR>
276    <TD> 1.2.840.10008.1.2.4.53</TD>
277    <TD> JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8)</TD>
278 </TR>
279 <TR>
280    <TD> 1.2.840.10008.1.2.4.54 </TD>
281    <TD> JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9)</TD>
282 </TR>
283 <TR>
284    <TD> 1.2.840.10008.1.2.4.55 </TD>
285    <TD> JPEG Full Progression, Non-Hierarchical (Process 10 & 12)</TD>
286 </TR>
287 <TR>
288    <TD> 1.2.840.10008.1.2.4.56 </TD>
289    <TD> JPEG Full Progression, Non-Hierarchical (Process 11 & 13) </TD>
290 </TR>
291 <TR>
292    <TD> 1.2.840.10008.1.2.4.58 </TD>
293    <TD> JPEG Lossless, Non-Hierarchical (Process 15) </TD>
294 </TR>
295 <TR>
296    <TD> 1.2.840.10008.1.2.4.59 </TD>
297    <TD> JPEG Extended, Hierarchical (Process 16 & 18) </TD>
298 </TR>
299 <TR>
300    <TD> 1.2.840.10008.1.2.4.60 </TD>
301    <TD> JPEG Extended, Hierarchical (Process 17 & 19)</TD>
302 </TR>
303 <TR>
304    <TD> 1.2.840.10008.1.2.4.61 </TD>
305    <TD> JPEG Spectral Selection, Hierarchical (Process 20 & 22) </TD>
306 </TR>
307 <TR>
308    <TD> 1.2.840.10008.1.2.4.62 </TD>
309    <TD> JPEG Spectral Selection, Hierarchical (Process 21 & 23) </TD>
310 </TR>
311 <TR>
312    <TD> 1.2.840.10008.1.2.4.63 </TD>
313    <TD> JPEG Full Progression, Hierarchical (Process 24 & 26)</TD>
314 </TR>
315 <TR>
316    <TD> 1.2.840.10008.1.2.4.64 </TD>
317    <TD> JPEG Full Progression, Hierarchical (Process 25 & 27) </TD>
318 </TR>
319 <TR>
320    <TD> 1.2.840.10008.1.2.4.65 </TD>
321    <TD> JPEG Lossless, Hierarchical (Process 28)</TD>
322 </TR>
323 <TR>
324    <TD> 1.2.840.10008.1.2.4.66 </TD>
325    <TD> JPEG Lossless, Hierarchical (Process 29) </TD>
326 </TR>
327 <TR>
328    <TD> 1.2.840.10008.1.2.4.80 </TD>
329    <TD> JPEG-LS Lossless Image Compression </TD>
330 </TR>
331 <TR>
332    <TD> 1.2.840.10008.1.2.4.81 </TD>
333    <TD> JPEG-LS Lossy (Near-Lossless) Image Compression </TD>
334 </TR>
335 <TR>
336    <TD> 1.2.840.10008.1.2.4.90 </TD>
337    <TD> JPEG 2000 Image Compression (Lossless Only) </TD>
338 </TR>
339 <TR>
340    <TD> 1.2.840.10008.1.2.4.91 </TD>
341    <TD> JPEG 2000 Image Compression </TD>
342 </TR>
343 <TR>
344    <TD> 1.2.840.10008.1.2.4.100 </TD>
345    <TD> MPEG2 Main Profile @ Main Level </TD>
346 </TR>
347
348 </TABLE>
349
350
351 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
352
353 </BODY>
354 </HTML>