1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <TITLE>Gdcm supported formats</TITLE>
10 <!#######################################################################>
11 <H1>Gdcm DICOM v3.0 conformance summary</H1>
12 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
14 <!#######################>
17 This section is an abbreviated DICOM conformance statement for gdcm.
19 It specifies the compliance of gdcm to file reading/writing
21 <A HREF="http://www.dclunie.com/dicom-status/status.html">
22 dicom base standard <B>part 5</B></A>.
24 Gdcm <B>does not contain or support any of the DICOM services</B>
25 such as Storage, Query/Retrieve, Print, Verification...
27 <!##############################################>
28 <H2>Supported transfer syntaxes (Reading)</H2>
29 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
31 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
33 <!####### Uncompressed #########>
34 <TR BGCOLOR="#99ccff">
35 <TH> Uncompressed Transfer Syntax </TH>
36 <TH> Description </TH>
39 <TD> 1.2.840.10008.1.2 </TD>
40 <TD> Implicit VR - Little Endian</TD>
43 <TD> 1.2.840.10008.1.2.1 </TD>
44 <TD> Explicit VR - Little Endian</TD>
47 <TD> 1.2.840.10008.1.2.1.99</TD>
48 <TD> Deflated Explicit VR - Little Endian</TD>
51 <TD> 1.2.840.10008.1.2.2 </TD>
52 <TD> Explicit VR - Big Endian </TD>
55 <TD> 1.2.840.113619.5.2 </TD>
56 <TD> Implicit VR - Big Endian (G.E Private) </TD>
60 <!####### RLE #########>
61 <TR BGCOLOR="#99ccff">
62 <TD> RLE Transfer Syntax </TD>
66 <TD> 1.2.840.10008.1.2.5 </TD>
67 <TD> Run Length Encoding, Lossless</TD>
70 <!####### JPEG #########>
71 <TR BGCOLOR="#99ccff">
72 <TD> JPEG Transfer Syntax </TD>
76 <TD> 1.2.840.10008.1.2.4.50 </TD>
77 <TD> JPEG Baseline (Process 1)</TD>
80 <TD> 1.2.840.10008.1.2.4.51 </TD>
81 <TD> JPEG Extended (Process 2 & 4) </TD>
84 <TD> 1.2.840.10008.1.2.4.57 </TD>
85 <TD> JPEG Lossless, Non-Hierarchical (Process 14) </TD>
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>
94 <!##############################################>
95 <H2>Supported transfer syntaxes (Writing)</H2>
96 The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
98 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
100 <!####### Uncompressed #########>
101 <TR BGCOLOR="#99ccff">
102 <TH> Uncompressed Transfer Syntax </TH>
103 <TH> Description </TH>
106 <TD> 1.2.840.10008.1.2 </TD>
107 <TD> Implicit VR - Little Endian</TD>
110 <TD> 1.2.840.10008.1.2.1 </TD>
111 <TD> Explicit VR - Little Endian</TD>
114 <!##############################################>
115 <H2>Supported "Photometric Interpretation" pixel format (Reading)</H2>
116 The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
118 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
120 <TR BGCOLOR="#99ccff">
121 <TH> Photometric Interpretation" pixel format </TH>
122 <TH> Description </TH>
125 <TD> MONOCHROME1 </TD>
126 <TD> grey level image description (high values=dark, low values=bright)</TD>
129 <TD> MONOCHROME2 </TD>
130 <TD> grey level image description (high values=bright, low values=dark)</TD>
133 <TD> PALETTE COLOR </TD>
134 <TD> pseudo color image description</TD>
138 <TD> true color image description</TD>
142 <TD> true color image description</TD>
145 <TD> YBR_FULL_422 </TD>
146 <TD> true color image description</TD>
151 <!##############################################>
152 <H2>Supported "Photometric Interpretation" pixel format (Writing)</H2>
153 The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
155 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
157 <TR BGCOLOR="#99ccff">
158 <TH> Photometric Interpretation" pixel format </TH>
159 <TH> Description </TH>
162 <TD> MONOCHROME2 </TD>
163 <TD> grey level image description (high values=bright, low values=dark)</TD>
166 <TD> PALETTE COLOR </TD>
167 <TD> pseudo color image description</TD>
171 <TD> true color image description</TD>
177 <!##############################################>
178 <H2>Supported 'Bits Allocated' values (Reading)</H2>
179 The Bits Allocated value is in the file DICOM Tag field (0020,0100).
181 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
183 <!####### Uncompressed #########>
184 <TR BGCOLOR="#99ccff">
185 <TH> Classical values </TH>
186 <TH> Description </TH>
190 <TD> 12 means that 4 pixels are stored in 3 'short int'</TD>
192 <TR BGCOLOR="#99ccff">
193 <TH> Unusual values </TH>
194 <TH> Description </TH></TR>
197 <TD> Some ACR-NEMA RGB files came with 'Bits Allocated' = 24
198 and 'Samples Per Pixel' = 1, or with no 'Samples Per Pixel'
203 <TD> Some ACR-NEMA files, from CT, came with 'Bits Allocated' = 32
204 (probabely 65535 grey levels was not enough for them ...)
209 <!##############################################>
210 <H2> Note on odd length data elements</H2>
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
216 Gdcm will <B>tolerate</B> an incorrectly formed odd length data field while
217 <B>reading</B> (thus not enforcing the standard).
219 But gdcm will always <B>enforce</B> the standard while <B>writing</B>.
221 <!##############################################>
222 <H2> Note on undefined Value Representations</H2>
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).
229 <!##############################################>
230 <H2> Note on missing 'Mandatory' Tags</H2>
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
242 <!##############################################>
243 <H2> Note 'Value Multiplicity'</H2>
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.
250 <!##############################################>
251 <H2>Note on retired data elements</H2>
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.
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).
264 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
266 <!####### Uncompressed #########>
267 <TR BGCOLOR="#99ccff">
268 <TH> Jpeg UNSUPPORTED Transfer Syntax </TH>
269 <TH> Description </TH>
272 <TD> 1.2.840.10008.1.2.4.52 </TD>
273 <TD> JPEG Extended (Process 3 & 5) </TD>
276 <TD> 1.2.840.10008.1.2.4.53</TD>
277 <TD> JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8)</TD>
280 <TD> 1.2.840.10008.1.2.4.54 </TD>
281 <TD> JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9)</TD>
284 <TD> 1.2.840.10008.1.2.4.55 </TD>
285 <TD> JPEG Full Progression, Non-Hierarchical (Process 10 & 12)</TD>
288 <TD> 1.2.840.10008.1.2.4.56 </TD>
289 <TD> JPEG Full Progression, Non-Hierarchical (Process 11 & 13) </TD>
292 <TD> 1.2.840.10008.1.2.4.58 </TD>
293 <TD> JPEG Lossless, Non-Hierarchical (Process 15) </TD>
296 <TD> 1.2.840.10008.1.2.4.59 </TD>
297 <TD> JPEG Extended, Hierarchical (Process 16 & 18) </TD>
300 <TD> 1.2.840.10008.1.2.4.60 </TD>
301 <TD> JPEG Extended, Hierarchical (Process 17 & 19)</TD>
304 <TD> 1.2.840.10008.1.2.4.61 </TD>
305 <TD> JPEG Spectral Selection, Hierarchical (Process 20 & 22) </TD>
308 <TD> 1.2.840.10008.1.2.4.62 </TD>
309 <TD> JPEG Spectral Selection, Hierarchical (Process 21 & 23) </TD>
312 <TD> 1.2.840.10008.1.2.4.63 </TD>
313 <TD> JPEG Full Progression, Hierarchical (Process 24 & 26)</TD>
316 <TD> 1.2.840.10008.1.2.4.64 </TD>
317 <TD> JPEG Full Progression, Hierarchical (Process 25 & 27) </TD>
320 <TD> 1.2.840.10008.1.2.4.65 </TD>
321 <TD> JPEG Lossless, Hierarchical (Process 28)</TD>
324 <TD> 1.2.840.10008.1.2.4.66 </TD>
325 <TD> JPEG Lossless, Hierarchical (Process 29) </TD>
328 <TD> 1.2.840.10008.1.2.4.80 </TD>
329 <TD> JPEG-LS Lossless Image Compression </TD>
332 <TD> 1.2.840.10008.1.2.4.81 </TD>
333 <TD> JPEG-LS Lossy (Near-Lossless) Image Compression </TD>
336 <TD> 1.2.840.10008.1.2.4.90 </TD>
337 <TD> JPEG 2000 Image Compression (Lossless Only) </TD>
340 <TD> 1.2.840.10008.1.2.4.91 </TD>
341 <TD> JPEG 2000 Image Compression </TD>
344 <TD> 1.2.840.10008.1.2.4.100 </TD>
345 <TD> MPEG2 Main Profile @ Main Level </TD>
351 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>