]> Creatis software - gdcm.git/blobdiff - Doc/Website/ConformanceSummary.html
ENH: Yes we handle j2k and lossless now
[gdcm.git] / Doc / Website / ConformanceSummary.html
index c747091c1f0a21fce1b3075d0bda32f8f4a3df4d..122e68f871f5cf6580641b3514e4acb2fc0a04ff 100644 (file)
@@ -25,8 +25,8 @@ Gdcm <B>does not contain or support any of the DICOM services</B>
 such as Storage, Query/Retrieve, Print, Verification...
 
 <!##############################################>
-<H2>Supported transfer syntaxes</H2>
-The Transfer Syntax UID is in the file's DICOM Tag field (0002,0010).
+<H2>Supported transfer syntaxes (Reading)</H2>
+The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
 
 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
        BGCOLOR="#ffffff">
@@ -89,10 +89,68 @@ The Transfer Syntax UID is in the file's DICOM Tag field (0002,0010).
    <TD> JPEG Lossless, Hierarchical, First-Order
         Prediction (Process 14, [Selection Value 1]) </TD>
 </TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.90 </TD>
+   <TD> JPEG 2000 Image Compression (Lossless Only) </TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.91 </TD>
+   <TD> JPEG 2000 Image Compression </TD>
+</TR>
 </TABLE>
 
 <!##############################################>
-<H2>Supported "Photometric Interpretation" pixel format</H2>
+<H2>Supported transfer syntaxes (Writing)</H2>
+The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
+
+<TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
+       BGCOLOR="#ffffff">
+<!####### Uncompressed #########>
+<TR BGCOLOR="#99ccff">
+   <TH> Uncompressed Transfer Syntax </TH>
+   <TH> Description </TH>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2 </TD>
+   <TD> Implicit VR - Little Endian</TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.1 </TD>
+   <TD> Explicit VR - Little Endian</TD>
+</TR>
+<!####### JPEG #########>
+<TR BGCOLOR="#99ccff">
+   <TD> JPEG Transfer Syntax </TD>
+   <TD></TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.50 </TD>
+   <TD> JPEG Baseline (Process 1)</TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.51 </TD>
+   <TD> JPEG Extended (Process 2 & 4) </TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.57 </TD>
+   <TD> JPEG Lossless, Non-Hierarchical (Process 14) </TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.70 </TD>
+   <TD> JPEG Lossless, Hierarchical, First-Order
+        Prediction (Process 14, [Selection Value 1]) </TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.90 </TD>
+   <TD> JPEG 2000 Image Compression (Lossless Only) </TD>
+</TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.91 </TD>
+   <TD> JPEG 2000 Image Compression </TD>
+</TR>
+</TABLE>
+<!##############################################>
+<H2>Supported "Photometric Interpretation" pixel format (Reading)</H2>
 The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
 
 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
@@ -103,27 +161,86 @@ The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
 </TR>
 <TR>
    <TD> MONOCHROME1 </TD>
-   <TD> grey level image description</TD>
+   <TD> grey level image description (high values=dark, low values=bright)</TD>
 </TR>
 <TR>
    <TD> MONOCHROME2 </TD>
-   <TD> grey level image description</TD>
+   <TD> grey level image description (high values=bright, low values=dark)</TD>
 </TR>
 <TR>
    <TD> PALETTE COLOR </TD>
-   <TD> color image description</TD>
+   <TD> pseudo color image description</TD>
 </TR>
 <TR>
    <TD> RGB </TD>
-   <TD> color image description</TD>
+   <TD> true color image description</TD>
 </TR>
 <TR>
    <TD> YBR_FULL </TD>
-   <TD> color image description</TD>
+   <TD> true color image description</TD>
 </TR>
 <TR>
    <TD> YBR_FULL_422 </TD>
-   <TD> color image description</TD>
+   <TD> true color image description</TD>
+</TR>
+</TABLE>
+
+</TABLE>
+<!##############################################>
+<H2>Supported "Photometric Interpretation" pixel format (Writing)</H2>
+The Photometric Interpretation UID is in the file DICOM Tag field (0028,0004).
+
+<TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
+       BGCOLOR="#ffffff">
+<TR BGCOLOR="#99ccff">
+   <TH> Photometric Interpretation" pixel format </TH>
+   <TH> Description </TH>
+</TR>
+<TR>
+   <TD> MONOCHROME2 </TD>
+   <TD> grey level image description (high values=bright, low values=dark)</TD>
+</TR>
+<TR>
+   <TD> PALETTE COLOR </TD>
+   <TD> pseudo color image description</TD>
+</TR>
+<TR>
+   <TD> RGB </TD>
+   <TD> true color image description</TD>
+</TR>
+
+</TABLE>
+
+
+<!##############################################>
+<H2>Supported 'Bits Allocated' values (Reading)</H2>
+The Bits Allocated value is in the file DICOM Tag field (0020,0100).
+
+<TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
+       BGCOLOR="#ffffff">
+<!####### Uncompressed #########>
+<TR BGCOLOR="#99ccff">
+   <TH> Classical values </TH>
+   <TH> Description </TH>
+</TR>
+<TR>
+   <TD> 8, 12, 16 </TD>
+   <TD> 12 means that 4 pixels are stored in 3 'short int'</TD>
+</TR>
+<TR BGCOLOR="#99ccff">
+   <TH> Unusual values </TH>
+   <TH> Description </TH></TR>
+<TR>
+   <TD> 24 </TD>
+   <TD> Some ACR-NEMA RGB files came with 'Bits Allocated' = 24
+     and 'Samples Per Pixel' = 1, or with no 'Samples Per Pixel' 
+     at all  </TD>
+</TR>
+<TR>  
+   <TD> 32 </TD>
+   <TD> Some ACR-NEMA files, from CT,  came with 'Bits Allocated' = 32
+      (probabely 65535 grey levels was not enough for them ...) 
+   </TD>
 </TR>
 </TABLE>
 
@@ -137,7 +254,7 @@ to an even length.
 Gdcm will <B>tolerate</B> an incorrectly formed odd length data field while
 <B>reading</B> (thus not enforcing the standard).
 <BR>
-But gdcm will allways <B>enforce</B> the standard while <B>writing</B>.
+But gdcm will always <B>enforce</B> the standard while <B>writing</B>.
 
 <!##############################################>
 <H2> Note on undefined Value Representations</H2>
@@ -153,24 +270,34 @@ element's VR to be UN (unknown).
 Each time it's possible to assume a 'reasonable' default value for missing
 'mandatory' tag, gdcm does it. <br>
 For instance if the Tag 'Samples Per Pixels' is missing, we assume its value is
-'1' (Grey pixels, as opposite to RGB); if the tag 'High BIt' is missing, we
+'1' (Grey pixels, as opposite to RGB); <br>
+if the tag 'High Bit' is missing, we
 assume its value is 'Bits stored -1' (i.e. : no bad trick inside the pixels)<br>
 As gdcm wants to read *as well* old ACR-NEMA files, it has to be widely
-tolreant.
+tolerant.
+
+
+<!##############################################>
+<H2> Note 'Value Multiplicity'</H2>
+
+gdcm believes what's written on disc, better than the 'Dicom Dictionary'.<br>
+For instance if the field 'Pixels Spacing' contains a single value -instead of
+the mandatory two, gdcm will suppose both values are equal.
+
 
 <!##############################################>
-<H2>Note on retired and private data elements</H2>
+<H2>Note on retired data elements</H2>
 
 Certain data elements are no longer supported under the v3.0 of the DICOM
-standard but persist as retired element. Gdcm will consider those
-elements as standard data element, except that the tag name will be postfixed
-with the "(RET)" string.
+standard but persist as retired element. Gdcm maintain them in its Dicom
+Dictionary, postfix their names with the "(RET)" string, and goes on dealing
+with them as standard data elements.
 
 
 <!#######################################################################>
 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
 <H2><B>UN</B>Supported transfer syntaxes</H2>
-The Transfer Syntax UID is in the file's DICOM Tag field (0002,0010).
+The Transfer Syntax UID is in the file DICOM Tag field (0002,0010).
                                                                                 
 <TABLE WIDTH="800" BORDER="0" CELLSPACING="1" CELLPADDING="10"
        BGCOLOR="#ffffff">
@@ -199,10 +326,6 @@ The Transfer Syntax UID is in the file's DICOM Tag field (0002,0010).
    <TD> 1.2.840.10008.1.2.4.56 </TD>
    <TD> JPEG Full Progression, Non-Hierarchical (Process 11 & 13) </TD>
 </TR>
-<TR>
-   <TD> 1.2.840.10008.1.2.4.58 </TD>
-   <TD> JPEG Lossless, Non-Hierarchical (Process 15) </TD>
-</TR>
 <TR>
    <TD> 1.2.840.10008.1.2.4.59 </TD>
    <TD> JPEG Extended, Hierarchical (Process 16 & 18) </TD>
@@ -228,13 +351,18 @@ The Transfer Syntax UID is in the file's DICOM Tag field (0002,0010).
    <TD> JPEG Full Progression, Hierarchical (Process 25 & 27) </TD>
 </TR>
 <TR>
-   <TD> 1.2.840.10008.1.2.4.65 </TD>
-   <TD> JPEG Lossless, Hierarchical (Process 28)</TD>
+   <TD> 1.2.840.10008.1.2.4.80 (partial)</TD>
+   <TD> JPEG-LS Lossless Image Compression </TD>
 </TR>
 <TR>
-   <TD> 1.2.840.10008.1.2.4.66 </TD>
-   <TD> JPEG Lossless, Hierarchical (Process 29) </TD>
+   <TD> 1.2.840.10008.1.2.4.81 (partial)</TD>
+   <TD> JPEG-LS Lossy (Near-Lossless) Image Compression </TD>
 </TR>
+<TR>
+   <TD> 1.2.840.10008.1.2.4.100 (partial)</TD>
+   <TD> MPEG2 Main Profile @ Main Level </TD>
+</TR>
+
 </TABLE>