<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0">
    <title>CP-1843</title>
    <subtitle>JPEG-LS Planar Configuration constraints conflict with WSI, US, VL, Enhanced Color MR and compressed RGB images</subtitle>
    <chapter>
        <title></title>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Status</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>Jan 2019 Voting Packet</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Date of Last Update</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>2018/11/12</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Person Assigned</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>David Clunie</para><para><link
                    xl:href="mailto:dclunie@dclunie.com"/></para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Submitter Name</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>Markus Daniel Herrmann</para><para><link
                    xl:href="mailto:mdherrmann@partners.org"/></para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Submission Date</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>2018/06/26</para></td>
            </tr>
        </informaltable>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Correction Number CP-1843</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Log Summary: JPEG-LS Planar Configuration constraints conflict with WSI, US, Enhanced Color MR and compressed RGB images</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top">
                    <para>Name of Standard</para>
                    <para>PS3.3, PS3.5</para>
                </td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Rationale for Correction:</para>
                    <para>Planar Configuration is required to be 0 for WSI, US, VL and Multi-frame SC True Color RGB images.</para>
                    <para>CP 1653 specified that Planar Configuration is required to be 1 for JPEG-LS (unlike most other JPEG family compression schemes, which specify 0).</para>
                    <para>YBR_FULL may be used as the Photometric Interpretation for some compressed images, or RGB when no decorrelating reversible color space transformation is used, e.g., JPEG-LS.</para>
                    <para>JPEG-LS specifies line and sample as well as component interleave methods in its bitstream, not that there is any need for the DICOM attributes to recapitulate that since it is handled by the codec.</para>
                    <para>RLE described the Planar Configuration as being required to be 1 and this is reflected in US image constraints.</para>
                    <para>Historically, the intent of constraining Planar Configuration at all was to avoid gratuitously different uncompressed encoding, and such constraints are meaningless for compressed images.</para>
                    <para>Clarify that Planar Configuration is required to be 0 instead of 1 (constrained in CP 1653) for JPEG-LS to be consistent with the other JPEG family schemes, and relax the constraint on RLE to be and to allow 0, except for US where it has traditionally been sent as 1.</para>
                    <para>The US requirements in Table C.8-23 for RGB and YBR_FULL are historically different and there is a large installed base, so these are not changed to be consistent with each other, since this would be too disruptive.</para>
                    <para>Ideally, the requirement for Planar Configuration to be present at all for compressed Transfer Syntaxes would be removed since it is meaningless, as is already stated in C.7.6.3.1.3, but this would be too disruptive.</para>
                    <para><emphasis role="italic">[Ed.Note. A separate CP will address the matter of JPEG-LS decorrelating color space transformations, whether or not a SPIFF header may be present, the use (or not) of the 14495-2 reversible color transform from Annex F and Annex G.1.2.8, as well as other transforms such as YCoCg24, and corresponding new Photometric Interpretations.</emphasis></para>
                </td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top">Correction Wording:</td>
            </tr>
        </informaltable>
    </chapter>
    <chapter>
        <title/>

      <informaltable rules="all" frame="box">
        <tr>
          <td>
            <para><emphasis role="italic">Amend DICOM PS3.3 as follows (changes to existing text are bold and <emphasis role="bold"><emphasis role="underline">underlined</emphasis></emphasis> for additions and <emphasis role="bold"><emphasis role="strikethrough">struckthrough</emphasis></emphasis> for removals):</emphasis></para>
          </td>
        </tr>
      </informaltable>
        
        
        <section label="A.8.5.4" status="4" xml:id="sect_A.8.5.4">
            <title>Multi-frame True Color SC Image IOD Content Constraints</title>
            <para xml:id="para_aebd2293-14b9-49dd-9a20-849417ddc3ef">In the Image Pixel Module<!--<xref linkend="sect_C.7.6.3" xrefstyle="select: title"/>-->, the following constraints apply:</para>
            <itemizedlist>
                <listitem>
                    <para xml:id="para_609ed3a4-a36d-4963-bffa-556b0ff252da">Samples per Pixel (0028,0002) shall be 3</para>
                </listitem>
                <listitem>
                    <para xml:id="para_7c596bcb-cf26-4d80-a56b-c48c96cfc03d">Photometric Interpretation (0028,0004) shall be RGB for uncompressed or lossless compressed Transfer Syntaxes that do not have defined color space transformations, YBR_ICT for irreversible JPEG 2000 Transfer Syntaxes, YBR_RCT for reversible JPEG 2000 Transfer Syntaxes, YBR_PARTIAL_420 for MPEG2, MPEG-4 AVC/H.264, HEVC/H.265 Transfer Syntaxes and YBR_FULL_422 for JPEG lossy compressed Transfer Syntaxes and YBR_FULL or RGB for RLE Transfer Syntaxes</para>
                    <note>
                        <para xml:id="para_36f43a08-0225-4b43-bb87-b1e1246ae3dd">Future lossless and lossy Transfer Syntaxes may lead to the need for new definitions and choices for Photometric Interpretation.</para>
                    </note>
                </listitem>
                <listitem>
                    <para xml:id="para_f00a1cf9-e152-4d4e-b537-20e8e3b9ac5f">...</para>
                </listitem>
                <listitem>
                    <para xml:id="para_fbb97425-14d1-4743-ab15-c29edba43d83">Planar Configuration (0028,0006) shall be 0 (color-by-pixel) if Photometric Interpretation (0028,0004) is RGB</para>
                </listitem>
            </itemizedlist>
        </section>
        
        
        
        <section label="C.7.6.3.1.2" status="6" xml:id="sect_C.7.6.3.1.2">
            <title>Photometric Interpretation</title>
            <para xml:id="para_8ea9c814-7320-42b2-afeb-001d2b215dbd">...</para>
            <para xml:id="para_3d7cf56b-f9c6-44df-a10f-d1c3c101c814">See <olink targetdoc="PS3.5" targetptr="PS3.5" xrefstyle="select: labelnumber"/> for additional restrictions imposed by compressed Transfer Syntaxes.</para>
            <para xml:id="para_962639f9-f777-4fc0-bd94-8860e59f5ecb">The following values are defined. Other values are permitted if supported by the Transfer Syntax but the meaning is not defined by this Standard.</para>
            <variablelist>
                <title>Defined Terms:</title>
                <varlistentry>
                    <term>RGB</term>
                    <listitem>
                        <para xml:id="para_88bb278f-860b-462f-8313-c017f15e4fc2">Pixel data represent a color image described by red, green, and blue image planes. The minimum sample value for each color plane represents minimum intensity of the color. This value may be used only when Samples per Pixel (0028,0002) has a value of 3. Planar Configuration (0028,0006) may be 0 or 1. May be used for pixel data in a Native (uncompressed) or Encapsulated (compressed) format; see <olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_FULL</term>
                    <listitem>
                        <para xml:id="para_28ad2fb0-4d52-47ed-9d4f-3a88de11c906">Pixel data represent a color image described by one luminance (Y) and two chrominance planes (CB and CR). This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. May be used for pixel data in a Native (uncompressed) or Encapsulated (compressed) format; see <xref linkend="sect_8.2" xrefstyle="select: label"/><!--<olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>-->. Planar Configuration (0028,0006) may be 0 or 1.</para>
                        <para xml:id="para_c99ced72-a5c9-46f0-949f-6bc06d351c85">This Photometric Interpretation is primarily used with RLE compressed bit streams, for which the Planar Configuration (0028,0006) <emphasis role="bold"><emphasis role="strikethrough">is required to</emphasis><emphasis role="underline">may</emphasis></emphasis> be <emphasis role="bold"><emphasis role="underline">0 or </emphasis></emphasis>1; see PS3.5 <xref linkend="sect_8.2.2" xrefstyle="select: label"/><!--<olink targetdoc="PS3.5" targetptr="sect_8.2.2" xrefstyle="select: docname label"/>--><emphasis role="bold"><emphasis role="underline"> and PS3.5 <xref linkend="sect_G.2" xrefstyle="select: label"/><!--<olink targetdoc="PS3.5" targetptr="sect_G.2" xrefstyle="select: docname label"/>--></emphasis></emphasis>. When used in the US Image Module, the Planar Configuration (0028,0006) is required to be 1; see <xref linkend="sect_C.8.5.6.1.16" xrefstyle="select: label quotedtitle"/>.</para>
                        <para xml:id="para_4382f25f-0686-4dfd-9904-1f2cfa105025">Black is represented by Y equal to zero. The absence of color is represented by both CB and CR values equal to half full scale.</para>
                        <note>
                            <para xml:id="para_d63ebf2f-9363-4b46-bf67-3db76a39310c">In the case where Bits Allocated (0028,0100) has value of 8 half full scale is 128.</para>
                        </note>
                        <para xml:id="para_0a80eafe-b06b-49bf-887e-a9ee4db9ee20">In the case where Bits Allocated (0028,0100) has a value of 8 then the following equations convert between RGB and YCBCR Photometric Interpretation.</para>
                        <para xml:id="para_6d856863-9ffb-4dca-abbe-89eb5e021a0a">Y = + .2990R + .5870G + .1140B</para>
                        <para xml:id="para_f0d67560-d2b8-4323-be43-d0dad1fa3e18">CB= - .1687R - .3313G + .5000B + 128</para>
                        <para xml:id="para_1f88a61c-5517-4897-943e-27cc8ab2b1e1">CR= + .5000R - .4187G - .0813B + 128</para>
                        <note>
                            <para xml:id="para_7ac69d6d-1a7e-46c1-8ede-1b7a17b43069">The above is based on CCIR Recommendation 601-2 dated 1990.</para>
                        </note>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_FULL_422</term>
                    <listitem>
                        <para xml:id="para_10f0e14b-ff96-40af-b5a6-070f05125b83">The same as YBR_FULL except that the CB and CR values are sampled horizontally at half the Y rate and as a result there are half as many CB and CR values as Y values.</para>
                        <para xml:id="para_4347d9f2-c4d9-43ce-81e7-0261e12813c8">Planar Configuration (0028,0006) shall be 0. May be used for pixel data in a Native (uncompressed) or Encapsulated (compressed) format; see <olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>.</para>
                        <note>
                            <orderedlist>
                                <listitem>
                                    <para xml:id="para_bfec2204-e8c1-413e-b12c-f098b668e055">This Photometric Interpretation is primarily used with JPEG compressed bit streams, but is also occasionally used for pixel data in a Native (uncompressed) format.</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_442b66ec-6d91-42ba-bfeb-738c94d2d6d3">Though the chrominance channels are downsampled, there are still nominally three channels, hence Samples per Pixel (0028,0002) has a value of 3, not 2. I.e., for pixel data in a Native (uncompressed) format, the Value Length of Pixel Data (7FE0,0010) is not:</para>
                                    <para xml:id="para_d392f9b3-d50b-4aa0-bf23-751a73e77683">Rows (0028,0010) * Columns (0028,0011) * Number of Frames (0028,0008) * Samples per Pixel (0028,0002) * (⌊(Bits Allocated (0028,0100)-1)/8⌋+1)</para>
                                    <para xml:id="para_038b33db-c192-490b-90e1-8145936052a9">padded to an even length, as it would otherwise be, but rather is:</para>
                                    <para xml:id="para_8e12882c-befe-436b-bdf5-95acc2106a61">Rows (0028,0010) * Columns (0028,0011) * Number of Frames (0028,0008) * 2 * (⌊(Bits Allocated (0028,0100)-1)/8⌋+1)</para>
                                    <para xml:id="para_1d7cbb7e-b365-4910-b3ca-6e1d8c789e52">padded to an even length.</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_054ed567-c63e-4450-a128-0c8af7adc764">When used to describe JPEG compressed bit streams, the chrominance sub-sampling in the JPEG bit stream may differ from this description. E.g., though many JPEG codecs produce only horizontally sub-sampled chrominance components (4:2:2), some sub-sample vertically as well (4:2:0). Though inaccurate, the use of YBR_FULL_422 to describe both has proven harmless. For a discussion of the sub-sampling notation, see <xref linkend="biblio_Poynton_Chroma"/>.</para>
                                </listitem>
                            </orderedlist>
                        </note>
                        <para xml:id="para_cbf1f014-22f2-4fa5-8fe2-b13908bd975f">Two Y values shall be stored followed by one CB and one CR value. The CB and CR values shall be sampled at the location of the first of the two Y values. For each Row of Pixels, the first CB and CR samples shall be at the location of the first Y sample. The next CB and CR samples shall be at the location of the third Y sample etc.</para>
                        <note>
                            <para xml:id="para_f95aac28-98ac-42e1-b7db-f5a1a95ed6be">This subsampling sited on the even luminance pixels is often referred to as cosited sampling. The cositing applies when describing pixel data in a Native (uncompressed) form. When used to describe compressed bit streams, the siting depends on the compression scheme. E.g., for JPEG according to JFIF <xref linkend="biblio_ISOIEC10918-5"/>, the siting is midway between luminance samples, whereas for MPEG2 <xref linkend="biblio_ISOIEC13818-2"/>, the sampling is cosited with the even luminance pixels. See also <xref linkend="biblio_Poynton_Chroma"/>.</para>
                        </note>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_PARTIAL_422</term>
                    <listitem>
                        <para xml:id="para_c2c3c216-0657-4e77-8313-2cf4ef501b94">Retired. See PS3.3 2017b.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_PARTIAL_420</term>
                    <listitem>
                        <para xml:id="para_f18af114-0f09-438c-8554-a9e85c8a82f3">Pixel data represent a color image described by one luminance (Y) and two chrominance planes (CB and CR).</para>
                        <para xml:id="para_af2c2d32-0f4b-46c8-8086-41e62f7d9382">This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. The CB and CR values are sampled horizontally and vertically at half the Y rate and as a result there are four times less CB and CR values than Y values.</para>
                        <para xml:id="para_d99b3757-3218-4f30-88d8-a672a65e3f13">Planar Configuration (0028,0006) shall be 0. Shall only be used for pixel data in an Encapsulated (compressed) format; see <olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>.</para>
                        <note>
                            <para xml:id="para_17826a3c-9e3c-42c4-a873-452018575754">This Photometric Interpretation is primarily used with MPEG compressed bit streams. For a discussion of the sub-sampling notation and siting, see <xref linkend="biblio_Poynton_Chroma"/>.</para>
                        </note>
                        <para xml:id="para_edd24ce9-8ae3-47a2-9265-5ff9ffec5dc7">Luminance and chrominance values are represented as follows:</para>
                        <orderedlist numeration="arabic">
                            <listitem>
                                <para xml:id="para_68c2df27-d754-415e-bdaf-943c0774480b">black corresponds to Y = 16;</para>
                            </listitem>
                            <listitem>
                                <para xml:id="para_29e5e871-34d5-45c2-9a86-3074d295b122">Y is restricted to 220 levels (i.e., the maximum value is 235);</para>
                            </listitem>
                            <listitem>
                                <para xml:id="para_b3898e3b-005b-4631-a964-d95d415abf9a">CB and CR each has a minimum value of 16;</para>
                            </listitem>
                            <listitem>
                                <para xml:id="para_bfdf57d8-12e3-4958-a742-9c1d675230c8">CB and CR are restricted to 225 levels (i.e., the maximum value is 240);</para>
                            </listitem>
                            <listitem>
                                <para xml:id="para_00cfc386-7699-4642-949c-c743329b8681">lack of color is represented by CB and CR equal to 128.</para>
                            </listitem>
                        </orderedlist>
                        <para xml:id="para_937c01e6-81aa-4080-a50f-bbcbd3e4d09a">In the case where Bits Allocated (0028,0100) has value of 8 then the following equations convert between RGB and YBR_PARTIAL_420 Photometric Interpretation</para>
                        <para xml:id="para_c877d543-a629-4f40-9b45-9a73cebf59e2">Y = + .2568R + .5041G + .0979B + 16</para>
                        <para xml:id="para_5b6d75aa-ea01-4dcd-9b94-0694d3a6b7f9">CB= - .1482R - .2910G + .4392B + 128</para>
                        <para xml:id="para_fd20139a-26cd-4c0d-9f4a-5d706d46bbf7">CR= + .4392R - .3678G - .0714B + 128</para>
                        <note>
                            <para xml:id="para_a035976e-e8bb-4971-934d-cc01779a044f">The above is based on CCIR Recommendation 601-2 dated 1990.</para>
                        </note>
                        <para xml:id="para_3757bd2d-2f1d-472e-9aa2-016c5a9fad7f">The CB and CR values shall be sampled at the location of the first of the two Y values. For the first Row of Pixels (etc.), the first CB and CR samples shall be at the location of the first Y sample. The next CB and CR samples shall be at the location of the third Y sample etc. The next Rows of Pixels containing CB and CR samples (at the same locations than for the first Row) will be the third etc.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_ICT</term>
                    <listitem>
                        <para xml:id="para_d8353953-87c9-46a0-b863-1b0d57001701">Irreversible Color Transformation:</para>
                        <para xml:id="para_0f411b52-056e-4808-81ce-9cccdbe8c34c">Pixel data represent a color image described by one luminance (Y) and two chrominance planes (CB and CR).</para>
                        <para xml:id="para_24a945f8-f133-4954-9f51-a17fa06a803f">This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. Planar Configuration (0028,0006) shall be 0. Shall only be used for pixel data in an Encapsulated (compressed) format; see <olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>.</para>
                        <note>
                            <para xml:id="para_53ae92cd-6fef-4c89-be07-97978699cc3e">This Photometric Interpretation is primarily used with JPEG 2000 compressed bit streams.</para>
                        </note>
                        <para xml:id="para_1edec279-3403-4208-abf1-c2eccdf4eb2c">Black is represented by Y equal to zero. The absence of color is represented by both CB and CR values equal to zero.</para>
                        <para xml:id="para_de17b0cc-7ca1-4257-9eb8-1a0ce448796f">Regardless of the value of Bits Allocated (0028,0100), the following equations convert between RGB and YCBCR Photometric Interpretation.</para>
                        <para xml:id="para_9025e6d0-ef50-44ef-bb3d-7093c981480c">Y = + .29900R + .58700G + .11400B</para>
                        <para xml:id="para_06f4bf7d-994f-4d10-bb28-6d9576f03214">CB= - .16875R - .33126G + .50000B</para>
                        <para xml:id="para_b793919c-c941-4cfc-a581-9fbfd3fa478f">CR= + .50000R - .41869G - .08131B</para>
                        <note>
                            <orderedlist numeration="arabic">
                                <listitem>
                                    <para xml:id="para_66a41f1c-b53a-45ab-84fe-1f9b262f59da">The above is based on <xref linkend="biblio_ISOIEC15444-1"/> (JPEG 2000).</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_41a1f240-9a76-4645-8437-6543dd73dfe9">In a JPEG 2000 bit stream, DC level shifting (used if the untransformed components are unsigned) is applied before forward color transformation, and the transformed components may be signed (unlike in JPEG ISO/IEC 10918-1).</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_54f14642-5650-4ffa-92fe-89b51fab0ada">In JPEG 2000, spatial down-sampling of the chrominance components, if performed, is signaled in the JPEG 2000 bit stream.</para>
                                </listitem>
                            </orderedlist>
                        </note>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_RCT</term>
                    <listitem>
                        <para xml:id="para_94300c5e-92bc-4c38-b349-20d2af4bfe22">Reversible Color Transformation:</para>
                        <para xml:id="para_5dd8f16b-896b-429c-a166-e5576d5ce3e2">Pixel data represent a color image described by one luminance (Y) and two chrominance planes (CB and CR).</para>
                        <para xml:id="para_a34a11b9-75e5-4388-ba14-c23c044a1929">This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. Planar Configuration (0028,0006) shall be 0. Shall only be used for pixel data in an Encapsulated (compressed) format; see <olink targetdoc="PS3.5" targetptr="sect_8.2" xrefstyle="select: docname label"/>.</para>
                        <note>
                            <para xml:id="para_efaff2d7-dbbc-450a-a22e-adc7728274d9">This Photometric Interpretation is primarily used with JPEG 2000 compressed bit streams.</para>
                        </note>
                        <para xml:id="para_024fb805-a9dd-45d8-873e-65c8704d650e">Black is represented by Y equal to zero. The absence of color is represented by both CB and CR values equal to zero.</para>
                        <para xml:id="para_d7c5bcce-bf7f-444e-8638-0fa93b157419">Regardless of the value of Bits Allocated (0028,0100), the following equations convert between RGB and YBR_RCT Photometric Interpretation.</para>
                        <para xml:id="para_e5cf3a5e-063e-4d09-af30-f386b137745c">Y = ⌊(R + 2G +B) / 4⌋ (Note: ⌊…⌋ mean floor)</para>
                        <para xml:id="para_70070abb-39ae-44c0-a611-0fd6ae6d3684">CB= B - G</para>
                        <para xml:id="para_ceb05edc-b162-430b-bffb-afb269c29c6f">CR= R - G</para>
                        <para xml:id="para_f3deeb00-3ef5-4836-816e-efb41ace56fd">The following equations convert between YBR_RCT and RGB Photometric Interpretation.</para>
                        <para xml:id="para_50635fe3-6000-4472-890c-6dc302bd0b73">G = Y - ⌊ (CR+ CB) / 4⌋</para>
                        <para xml:id="para_7a3e22b7-6492-4ba6-b77a-b5cb46b0ea24">R = CR+ G</para>
                        <para xml:id="para_015901ac-7676-49a4-96ae-48b8b1e14d4b">B = CB+ G</para>
                        <note>
                            <orderedlist numeration="arabic">
                                <listitem>
                                    <para xml:id="para_40112d2d-6cdb-40a7-8845-4601f70c7337">The above is based on <xref linkend="biblio_ISOIEC15444-1"/> (JPEG 2000).</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_65ff255f-3d89-495e-838b-5ced1c459ee5">In a JPEG 2000 bit stream, DC level shifting (used if the untransformed components are unsigned) is applied before forward color transformation, and the transformed components may be signed (unlike in JPEG ISO/IEC 10918-1).</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_48bd9bf7-9999-4713-a6e4-4bae29eaa018">This photometric interpretation is a reversible approximation to the YUV transformation used in PAL and SECAM.</para>
                                </listitem>
                            </orderedlist>
                        </note>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>
        
        <section label="C.7.6.3.1.3" status="6" xml:id="sect_C.7.6.3.1.3">
            <title>Planar Configuration</title>
            <para xml:id="para_80a38ce3-6b56-42e6-9941-a3db04694c7d">Planar Configuration (0028,0006) indicates whether the color pixel data are encoded color-by-plane or color-by-pixel. This Attribute shall be present if Samples per Pixel (0028,0002) has a value greater than 1. It shall not be present otherwise.</para>
            <variablelist spacing="compact">
                <title>Enumerated Values:</title>
                <varlistentry>
                    <term>0</term>
                    <listitem>
                        <para xml:id="para_d8963355-e071-451b-8fb3-f8ec32dc8097">The sample values for the first pixel are followed by the sample values for the second pixel, etc. For RGB images, this means the order of the pixel values encoded shall be R1, G1, B1, R2, G2, B2, …, etc.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>1</term>
                    <listitem>
                        <para xml:id="para_8eab4794-0f34-46d8-ba6d-118d39ee9f1a">Each color plane shall be encoded contiguously. For RGB images, this means the order of the pixel values encoded is R1, R2, R3, …, G1, G2, G3, …, B1, B2, B3, etc.</para>
                    </listitem>
                </varlistentry>
            </variablelist>
            <note>
                <para xml:id="para_a1dcc4bc-a0cd-40a6-914e-4f25a5f52e2a">Planar Configuration (0028,0006) is not meaningful when a compression Transfer Syntax is used that involves reorganization of sample components in the compressed bit stream. In such cases, since the Attribute is required to be present, then an appropriate value to use may be specified in the description of the Transfer Syntax in <olink targetdoc="PS3.5" targetptr="PS3.5" xrefstyle="select: labelnumber"/>, though in all likelihood the value of the Attribute will be ignored by the receiving implementation.</para>
            </note>
        </section>
        
        <section label="C.8.5.6.1.16" status="6" xml:id="sect_C.8.5.6.1.16">
            <title>Planar Configuration</title>
            <para xml:id="para_e6482045-1b8f-4a38-83d3-905165a7ebd7">For US Images, Planar Configuration (0028,0006) is specified to use the following values for specific Photometric Interpretations:</para>
            <table frame="box" label="C.8-23" rules="all" xml:id="table_C.8-23">
                <caption>US Planar Configuration</caption>
                <thead>
                    <tr valign="top">
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_c3991e48-e96f-446a-8740-189a5518d5be">
                                <emphasis role="bold">Photometric Interpretation</emphasis>
                            </para>
                        </th>
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_bd64ab14-ad84-4aec-829b-394eeb45c01a">
                                <emphasis role="bold">Planar Configuration Value</emphasis>
                            </para>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_d37ef974-6f6a-4a9b-99b2-e4bf909bc799">RGB</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_ee37d0ed-e83f-44bc-b968-439091cb7c96">0 - color-by-pixel, or</para>
                            <para xml:id="para_023163f6-ddd5-4b40-869e-57bb3ae0d5e4">1 - color-by-plane</para>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_ee93d8e8-b1bb-4dbe-9202-720a1d32feb4">YBR_FULL</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_461d5e65-55b5-4717-a174-5311178ef870">0 or 1 if uncompressed</para>
                            <para xml:id="para_4f597617-968e-4eea-8f96-342a10c08640">0 if lossless JPEG, lossless JPEG-LS or reversible JPEG 2000</para>
                            <para xml:id="para_b589f6c2-7397-47f2-8f9e-0cc0f5c22ef2">1 if RLE</para>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_f87afa49-3aa7-4ece-bceb-b9c2a9fd8917">YBR_FULL_422</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_c6c5809c-cbfb-43c0-b7d7-3a53fee8df27">0</para>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_fe7ec753-0580-4afb-9402-c30bccc1f068">YBR_RCT</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_45c9674d-f0a8-4cac-a5f6-c7fd7624a78e">0</para>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_6e06d97e-e3a1-4929-bff4-5f71a8a0f462">YBR_ICT</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_a572a1a1-010f-4c3f-b794-ab75e5fb384e">0</para>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_5243007b-3f35-4f15-bf2e-67642695f58c">YBR_PARTIAL_420</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_33f42dc2-60f0-46b0-a146-dc663233ad24">0</para>
                        </td>
                    </tr>
                </tbody>
            </table>
        </section>
        
        <section label="C.8.12.1.1" status="5" xml:id="sect_C.8.12.1.1">
            <title>VL Image Module Attribute Descriptions</title>
            <para>...</para>
        <section label="C.8.12.1.1.5" status="6" xml:id="sect_C.8.12.1.1.5">
            <title>Planar Configuration</title>
            <para xml:id="para_f44a6e32-ca7a-4943-9521-f7481a2d4253">This value shall be present if Samples per Pixel (0028,0002) has a value greater than 1.</para>
            <variablelist spacing="compact">
                <title>Enumerated Values:</title>
                <varlistentry>
                    <term>0</term>
                    <listitem>
                        <para xml:id="para_a64e32c4-e71b-4fff-951b-8c36eec5cef5"/>
                    </listitem>
                </varlistentry>
            </variablelist>
            <note>
                <para xml:id="para_38b4b8ad-7827-48a9-93a7-4e6b41a5da90"><emphasis role="bold"><emphasis role="strikethrough">The prohibition of a value of 1 for Planar Configuration (0028,0006) prevents the use of the RLE Transfer Syntax.</emphasis></emphasis></para>
            </note>
        </section>
        </section>
        
        <section label="C.8.12.4" status="4" xml:id="sect_C.8.12.4">
          <title>Whole Slide Microscopy Image Module</title>
          <table frame="box" label="C.8.12.4-1" rules="all" xml:id="table_C.8.12.4-1">
            <caption>Whole Slide Microscopy Image Module Attributes</caption>
            <thead>
              <tr valign="top">
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_19b0b4dc-4e92-4c95-9988-804684315cb7">Attribute Name</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_96a09a1d-8879-43be-97e5-121291459369">Tag</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_3e3024bf-3c64-498a-ba60-ec15eea8abd4">Type</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_18f4a093-c520-4639-ae1b-71059a30ef26">Attribute Description</para>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_b901cd97-630b-460b-8fb9-5ecd391b891a">...</para>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_a90c60cf-95f3-442d-bab1-2b5eea6471d2"/>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_e6350d0d-e1ca-4849-921d-1ad0633f8f22"/>
                </td>
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_aba4e967-fb41-4de2-8184-214954b135f8"/>
                </td>
              </tr>
              <tr valign="top">
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_63c1173d-3763-41c0-a408-078fecd4aa67">Planar Configuration</para>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_6260b60b-a1bf-450b-919d-e4685346d45a">(0028,0006)</para>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_f839f027-1fe1-4e64-9bda-26012e891afd">1C</para>
                </td>
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_530c8d2f-6fdd-4c40-b504-f4a8dc0bd8cd">Indicates whether the pixel data are encoded color-by-plane or color-by-pixel. Required if Samples per Pixel (0028,0002) has a value greater than 1.</para>        
                  <variablelist spacing="compact">
                      <title>Enumerated Values:</title>
                    <varlistentry>
                        <term>0</term>
                      <listitem>
                          <para xml:id="para_d71dcda1-b1f9-4c98-a61f-549395d87f02">color-by-pixel</para>
                      </listitem>
                    </varlistentry>
                  </variablelist>
                </td>
              </tr>
              <tr valign="top">
                        <td>..</td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_b35b2b79-4aeb-4806-88cc-eb002a89af1e"/>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_df7f6e9c-de29-4a8a-8fc0-c33eeb2a82d3"/>
                </td>
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_60b26676-3382-4932-b4fc-fdf092f8966d"/>
                </td>
              </tr>
            </tbody>
          </table>
        </section>
        
        <section label="C.8.12.4.1.5" status="6" xml:id="sect_C.8.12.4.1.5">
            <title>Photometric Interpretation and Samples Per Pixel</title>
            <para xml:id="para_56895ea3-86e6-4c57-b92c-284a40a61c76">See <xref linkend="sect_C.7.6.3.1.2" xrefstyle="select: label"/>.</para>
            <variablelist spacing="compact">
                <title>Enumerated Values for Photometric Interpretation (0028,0004):</title>
                <varlistentry>
                    <term>MONOCHROME2</term>
                    <listitem>
                        <para xml:id="para_7a7f7d7f-3c23-4ec2-990e-a3fad60a5863"/>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>RGB</term>
                    <listitem>
                        <para xml:id="para_2ba62380-d35e-429a-9f39-f2af10ca8dfb"/>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_FULL_422</term>
                    <listitem>
                        <para xml:id="para_ac059e64-c865-431e-8215-0e8ab5171439"/>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_ICT</term>
                    <listitem>
                        <para xml:id="para_69b8ed8a-f1a0-4923-b6b9-f3a043a27316"/>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>YBR_RCT</term>
                    <listitem>
                        <para xml:id="para_9803d2c1-5de8-4fcf-8d0d-afa795455453"/>
                    </listitem>
                </varlistentry>
            </variablelist>
            <para xml:id="para_1e7b1466-5988-40c6-aef9-eb8724c622f3">The value shall be appropriate to the compression Transfer Syntax used, if any, and shall be MONOCHROME2 or RGB for uncompressed or lossless compressed Transfer Syntaxes that do not have defined color space transformations, YBR_ICT for irreversible JPEG 2000 Transfer Syntaxes, YBR_RCT for reversible JPEG 2000 Transfer Syntaxes, and YBR_FULL_422 for JPEG lossy compressed Transfer Syntaxes.</para>
            <note>
                <orderedlist>
                    <listitem>
                        <para xml:id="para_e090e831-1242-4f28-af43-447e04d0ae88">Future lossless and lossy Transfer Syntaxes may lead to the need for new definitions and choices for Photometric Interpretation. The Enumerated Values may therefore be extended with additional Photometric Interpretation values directly associated with new Transfer Syntaxes that are negotiated, and hence do not render existing implementations non-conformant.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_46b455c6-7067-418e-ada6-8f8b8adfceae">Motion compression Transfer Syntaxes are not expected to be used for Whole Slide Imaging, so the use of YBR_PARTIAL_420 for MPEG2, MPEG-4 AVC/H.264 and HEVC/H.265 Transfer Syntaxes is not permitted.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_cc0e9295-ddb5-42f1-ac48-bea245181380"><emphasis role="bold"><emphasis role="strikethrough">The prohibition of a value of 1 for Planar Configuration (0028,0006) prevents the use of the RLE Transfer Syntax.</emphasis></emphasis></para>
                    </listitem>
                </orderedlist>
            </note>
            <para xml:id="para_908e5dfc-1bcb-4e36-9579-4321b584d7a9">...</para>
            <variablelist spacing="compact">
                <title>Enumerated Values for Samples per Pixel (0028,0002) when Photometric Interpretation (0028,0004) is not MONOCHROME2:</title>
                <varlistentry>
                    <term>3</term>
                    <listitem>
                        <para xml:id="para_502ba4c0-30a4-4341-833f-f73c2cde930d"/>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>
        
        <section label="C.8.13.1.1" status="5" xml:id="sect_C.8.13.1.1">
            <title>Enhanced MR Image Module Attribute Description</title>
            <section label="C.8.13.1.1.2" status="6" xml:id="sect_C.8.13.1.1.2">
              <title>Photometric Interpretation, Pixel Representation, Samples Per Pixel, Planar Configuration, Bits Allocated and Bits Stored</title>
              <para xml:id="para_310c3276-5781-4152-8f3a-749b8720d403">
<xref linkend="table_C.8-82" xrefstyle="select: label"/> specifies the Enumerated Values and allowed combinations of Samples per Pixel (0028,0002), Planar Configuration (0028,0006), Pixel Representation (0028,0103), Bits Allocated (0028,0100) and Bits Stored (0028,0101) for each allowable Photometric Interpretation allowed by the IOD that invokes this Module.</para>
              <table frame="box" label="C.8-82" rules="all" xml:id="table_C.8-82">
                <caption>Allowed Combinations of Attribute Values for Photometric Interpretation, Samples Per Pixel, Planar Configuration, Pixel Representation, Bits Allocated and Bits Stored</caption>
                <thead>
                  <tr valign="top">
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_6d1a2b1f-c531-4a6d-ba3f-8428aeb69abf">
                        <emphasis role="bold">Photometric Interpretation</emphasis>
                      </para>
                    </th>
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_cbb44440-f319-4fb6-b829-88fdee66f1f4">
                        <emphasis role="bold">Samples per Pixel</emphasis>
                      </para>
                    </th>
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_ff293a76-74ef-444b-ac3c-5d27f949aa63">
                        <emphasis role="bold">Planar Configuration</emphasis>
                      </para>
                    </th>
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_8a7ca290-f69c-4bae-a953-7548c7afd519">
                        <emphasis role="bold">Pixel Representation</emphasis>
                      </para>
                    </th>
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_5c1873ac-bf44-4966-a6c1-06a10b0d2fdb">
                        <emphasis role="bold">Bits Allocated</emphasis>
                      </para>
                    </th>
                    <th align="center" colspan="1" rowspan="1">
                      <para xml:id="para_62d7bcb4-0178-455d-9f3b-b05735581727">
                        <emphasis role="bold">Bits Stored</emphasis>
                      </para>
                    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_a7295525-b046-42ad-ab9d-169231e42106">MONOCHROME2</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_e0546659-7861-46a6-bc62-287e7b7ec3cf">1</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_6582e79c-bd33-422c-b711-f6046ccc7521">-</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_96c47867-9854-4162-9f37-d1d63deac667">0 or 1</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_c2b058eb-03ce-4f68-81ae-22cda891fd32">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_8ccb545f-e66a-451b-a8d8-8c02b9bfa4de">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_746d49c0-1620-48fc-af0a-eeb8710c2920">MONOCHROME2</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_bcceae04-1c02-43ea-a79d-bdcb52f87b0e">1</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_6b0ab1dc-6bae-45e7-aa5c-8a17d0159b1e">-</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_840baad1-8476-48b3-8fc2-8d3bb20d5d1e">0 or 1</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_bd9fbf3f-02e4-454c-886b-2595f279f401">16</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_64ea14f0-9d75-4530-afc7-4c14f5206d90">12, 16</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_50f53a87-f973-467f-b901-ee45954cef2e">RGB</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_24bc6149-0580-4d55-8998-2a528bee731a">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_b3ba7bbf-75a3-4fe5-b166-28e6cbf80592">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_a9a9160b-53fd-4cb6-ab36-b19fe8b72b49">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_14f2fece-a67b-4be7-a964-9cfb0a28a584">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_596cdf90-39de-427e-9826-6a469922b25c">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_af29b421-6532-4928-824a-00cf4b410645">YBR_ICT</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_20eaf89d-b722-451a-82d0-b1bfa74f6fa3">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_930da09e-c20e-443e-97ef-39ee8bcb27df">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_23d4ee0e-017a-4f0a-b64e-b02344ad3081">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_8281d337-6a45-4755-b68e-d8ec9283432e">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_e96fd3f0-049d-447b-8f5c-1eec0ee2a4db">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_7afbbc9b-44de-4fbe-92c9-31eb924e2fee">YBR_RCT</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_f04afa0a-ddb4-46eb-a703-26909f01f8c9">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_d233bb7e-7890-416e-9158-50374fa76672">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_57df8cc8-3d25-444a-a41b-37d7c2679cf1">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_46909d8d-7abb-4996-b759-15c5719a3720">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_49a391bb-77b3-492f-88ed-040fc057efac">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_dbb92341-3a4e-43d9-bc5b-acf910f1a0e0">YBR_PARTIAL_420</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_06590220-af1c-4ca0-86de-5fe1c877c8a4">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_399473c8-72c5-4e89-84cf-966053a8ce43">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_3ca9100e-f5b4-4940-91ef-266ee4841fb9">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_3f85dc6c-4442-4a11-b46f-f74e9ac8d224">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_5043d311-aa81-4f7d-87e0-5500a2fae1a0">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_ac644e47-cbf4-4292-8ca1-24389a428b4c">YBR_FULL_422</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_82ade6d5-178f-4cba-aa12-d9effb1dda7e">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_a3f88e98-1967-43c8-83e7-6dca889e0b2d">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_b1f56789-583d-47c9-a489-315c8bb88ecf">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_d0513ca4-abbe-4afd-9962-c222114dce65">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_d3cf021f-7188-482d-9295-ef3a5c6cd295">8</para>
                    </td>
                  </tr>
                  <tr valign="top">
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_d191ba6b-486c-471b-90a6-42750e583eda">YBR_FULL</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_a2ad358e-c149-43c8-8032-85fb4df09377">3</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_7c62d24a-0380-4fae-a253-16f3073f41bf"><emphasis role="bold"><emphasis role="strikethrough">1</emphasis><emphasis role="underline">0</emphasis></emphasis></para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_7438e368-28a2-486f-8835-47acb5b0a24b">0</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_8198a3bc-c6f7-4359-83a0-c3173a076ded">8</para>
                    </td>
                    <td align="left" colspan="1" rowspan="1">
                      <para xml:id="para_c10aaa86-8d6f-4241-b144-90a1ce1a0eba">8</para>
                    </td>
                  </tr>
                </tbody>
              </table>
            </section>
          </section>
        
        <section label="C.8.17.2.1" status="5" xml:id="sect_C.8.17.2.1">
            <title>Ophthalmic Photography Image Module Attribute Descriptions</title>
            <section label="C.8.17.2.1.3" status="6" xml:id="sect_C.8.17.2.1.3">
                <title>Photometric Interpretation</title>
                <para xml:id="para_ccc881c7-c7c8-41d8-8300-5ea9dd72b528">Specifies the intended interpretation of the pixel data.</para>
                <variablelist spacing="compact">
                    <title>Enumerated Values:</title>
                    <varlistentry>
                        <term>MONOCHROME2</term>
                        <listitem>
                            <para xml:id="para_f3498835-c567-4b69-9f64-066959bee4af"/>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>RGB</term>
                        <listitem>
                            <para xml:id="para_3e2738a9-5964-4c19-9025-2b098d7ef4af"/>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>YBR_FULL_422</term>
                        <listitem>
                            <para xml:id="para_b3a08a4a-159c-485d-87aa-fd3186378efb"/>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>YBR_PARTIAL_420</term>
                        <listitem>
                            <para xml:id="para_d7aced0a-1b82-428f-a869-a67779035124"/>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>YBR_ICT</term>
                        <listitem>
                            <para xml:id="para_14535b46-9980-4ee7-a049-7acb3ca6593e"/>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>YBR_RCT</term>
                        <listitem>
                            <para xml:id="para_b0c814b2-b119-4c3d-a78b-286829f5458a"/>
                        </listitem>
                    </varlistentry>
                </variablelist>
                <para xml:id="para_2af8641c-5500-4b57-9a6e-bdfb8ed2ca7d">When Samples per Pixel (0028,0002) is greater than 1, Photometric Interpretation (0028,0004) shall be RGB for uncompressed or lossless compressed Transfer Syntaxes that do not have defined color space transformations, YBR_ICT for irreversible JPEG 2000 Transfer Syntaxes, YBR_RCT for reversible JPEG 2000 Transfer Syntaxes, YBR_PARTIAL_420 for MPEG2, MPEG-4 AVC/H.264 and HEVC/H.265 Transfer Syntaxes and YBR_FULL_422 for JPEG lossy compressed Transfer Syntaxes.</para>
                <note>
                    <para xml:id="para_5a7f5a1e-8cb0-460b-88cb-def5cb89f571"><emphasis role="bold"><emphasis role="strikethrough">The prohibition of a value of 1 for Planar Configuration (0028,0006) prevents the use of the RLE Transfer Syntax.</emphasis></emphasis></para>
                </note>
            </section>
        </section>
      
        <informaltable rules="all" frame="box">
            <tr>
                <td>
                    <para><emphasis role="italic">Amend DICOM PS3.5 as follows (changes to existing text are bold and <emphasis role="bold"><emphasis role="underline">underlined</emphasis></emphasis> for additions and <emphasis role="bold"><emphasis role="strikethrough">struckthrough</emphasis></emphasis> for removals):</emphasis></para>
                </td>
            </tr>
        </informaltable>
        
        <section label="8.2" status="2" xml:id="sect_8.2">
      <title>Native or Encapsulated Format Encoding</title>
      <para xml:id="para_f9b54410-31ad-4044-9be0-651dd86c84b3">Pixel data conveyed in the Pixel Data (7FE0,0010) may be sent either in a Native (uncompressed) Format or in an Encapsulated Format (e.g., compressed) defined outside the DICOM standard.</para>
      <para xml:id="para_1767d1f2-fcf4-46b9-a6fa-21b2e61e9b5d">If Pixel Data (7FE0,0010) is sent in a Native Format, then the Photometric Interpretation (0028,0004) shall be other than:</para>
      <itemizedlist>
        <listitem>
          <para xml:id="para_774003a0-209a-48f5-af47-8e9300923ac7">YBR_RCT</para>
        </listitem>
        <listitem>
          <para xml:id="para_27a4a868-af1f-459a-8812-7fa85c078cd9">YBR_ICT</para>
        </listitem>
        <listitem>
          <para xml:id="para_03cacdb3-b82e-42e2-abe3-be054301c5f2">YBR_PARTIAL_420</para>
        </listitem>
      </itemizedlist>
      <note>
        <para xml:id="para_14b7aa28-e3b2-4f0f-ae44-6c1be9f58fce">These values are not permitted because they are not encodable in an uncompressed form.</para>
      </note>
      <para xml:id="para_7bc14864-77a5-4409-8ec0-c246cace4681">...</para>
      <section label="8.2.1" status="3" xml:id="sect_8.2.1">
        <title>JPEG Image Compression</title>
        <para xml:id="para_d1f3d3c5-fcdf-4dc2-b38b-0bd7fbf79491">DICOM provides a mechanism for supporting the use of JPEG Image Compression through the Encapsulated Format (see PS3.3<!--<olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>-->). Annex A<!--<xref linkend="chapter_A" xrefstyle="template:Annex %n"/>--> defines a number of Transfer Syntaxes that reference the JPEG Standard and provide a number of lossless (bit preserving) and lossy compression schemes.</para>
        <note>
          <para xml:id="para_8cd648e8-6c76-459a-ad3a-f3c2b1c8fb4c">The context where the usage of lossy compression of medical images is clinically acceptable is beyond the scope of the DICOM Standard. The policies associated with the selection of appropriate compression parameters (e.g., compression ratio) for JPEG lossy compression is also beyond the scope of this standard.</para>
        </note>
        <para xml:id="para_9d46a7e0-da15-452f-b8d4-02d7a4b6b25b">In order to facilitate interoperability of implementations conforming to the DICOM Standard that elect to use one or more of the Transfer Syntaxes for JPEG Image Compression, the following policy is specified:</para>
        <itemizedlist>
          <listitem>
              <para xml:id="para_4d36fc54-f14b-4417-ada8-8b839895c1d3">Any implementation that conforms to the DICOM Standard and has elected to support any one of the Transfer Syntaxes for lossless JPEG Image Compression, shall support the following lossless compression: The subset (first-order horizontal prediction [Selection Value 1) of JPEG Process 14 (DPCM, non-hierarchical with Huffman coding) (see Annex F<!--<xref linkend="chapter_F" xrefstyle="template:Annex %n"/>-->).</para>
          </listitem>
          <listitem>
            <para xml:id="para_f7127df5-ae83-4a2f-ac8d-fd3356d5be0c">Any implementation that conforms to the DICOM Standard and has elected to support any one of the Transfer Syntaxes for 8-bit lossy JPEG Image Compression, shall support the JPEG Baseline Compression (coding Process 1).</para>
          </listitem>
          <listitem>
            <para xml:id="para_3df4846f-15b7-45ca-8705-582504847dfe">Any implementation that conforms to the DICOM Standard and has elected to support any one of the Transfer Syntaxes for 12-bit lossy JPEG Image Compression, shall support the JPEG Compression Process 4.</para>
          </listitem>
        </itemizedlist>
        <note>
          <para xml:id="para_80e3247d-ca00-45fb-9c75-56d6805533ad">The DICOM conformance statement shall differentiate whether or not the implementation is capable of simply receiving or receiving and processing JPEG encoded images (see <olink targetdoc="PS3.2" targetptr="PS3.2" xrefstyle="select: labelnumber"/>).</para>
        </note>
        <para xml:id="para_4bcb841e-c6bf-4e26-82a5-3fad3c942da0">The use of the DICOM Encapsulated Format to support JPEG Compressed Pixel Data requires that the Data Elements that are related to the Pixel Data encoding (e.g., Photometric Interpretation, Samples per Pixel, Planar Configuration, Bits Allocated, Bits Stored, High Bit, Pixel Representation, Rows, Columns, etc.) shall contain values that are consistent with the characteristics of the compressed data stream.</para>
        <para xml:id="para_e85c4e05-8672-41cc-b179-25140f06e76c">The requirements when using a Standard Photometric Interpretation (i.e., a Defined Term from <olink targetdoc="PS3.3" targetptr="sect_C.7.6.3.1.2" xrefstyle="select: docname label"/>) are specified in <xref linkend="table_8.2.1-1" xrefstyle="select: label"/> and <xref linkend="table_8.2.1-2" xrefstyle="select: label"/>. No other Standard Photometric Interpretation values shall be used.</para>
        <table frame="box" label="8.2.1-1" rules="all" xml:id="table_8.2.1-1">
          <caption>Valid Values of Pixel Data Related Attributes for JPEG Lossy Transfer Syntaxes using Standard Photometric Interpretations</caption>
          <thead>
            <tr valign="top">
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_a7d246d9-3778-4932-8b2a-82d8a8dc168b">Photometric Interpretation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_fd49f3b7-cad2-4bab-a7ae-770361959347">Transfer Syntax</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_76506fba-44e8-4da7-a10e-e9beb79fbfd3">Transfer Syntax UID</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_456f2265-a5c3-4a15-8965-11973122f4f5">Samples per Pixel</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_f86eeeaa-f979-4b04-a1f7-b6729586f999">Planar Configuration</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_eda82aae-bc04-44f8-99ed-ddbeed92c344">Pixel Representation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_bbbb3826-f6bf-4a4a-baf7-de9256760236">Bits Allocated</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_cef69c9e-3d58-4158-8fa4-16db44257d04">Bits Stored</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_943ad4aa-2971-4f80-9b14-ff0be535be65">High Bit</para>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_06313e0f-d1d7-4cd8-8498-3754925681c0">MONOCHROME1</para>
                <para xml:id="para_e1bf87e1-46f4-4018-8dd5-786488b6ea1b">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_7dae7ef7-2568-4fd3-9318-3b8dc615dd46">JPEG Baseline</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_d4aab92e-7d0c-4176-a018-0b959b76057b">1.2.840.10008.1.2.4.50</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_f4881ca5-e2f9-433a-b069-41b186f503f6">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_9a3fb788-7faf-4931-b350-38d502d4ecb6">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_e938c494-e0e0-4b3c-9bd4-641b9ef15d87">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_57f94afe-e261-40ea-b2f0-0ad993e7c7de">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_08fca125-a23a-49f2-b179-d616c6efd80b">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_f58c0385-f5d6-4cce-80cc-72a461979262">7</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_11870e59-7644-439f-a511-c42db55ded28">MONOCHROME1</para>
                <para xml:id="para_230cf81e-635b-4ab2-81eb-1165754c7fef">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_f45cc0bc-573b-4fe0-9e67-6f342ebe1224">JPEG Extended</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_1d698b55-e3b4-4a5a-b879-44f9aab6d8e4">1.2.840.10008.1.2.4.51</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_663e7a5f-0817-4de5-bae0-f50680b70bb0">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3f6558ca-be73-447e-a1e4-9558cc44a2e0">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_ecf77926-d06e-4ed6-a9d9-55bec9630ea4">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_541957b7-58b4-4385-872c-0b0560a852f4">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_1bc421c9-d998-42cf-bafe-c3c68a09850c">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_a8350cfa-1280-4517-b7f5-172f1690d2eb">7</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_197d9691-a705-49c5-9b19-ed864aa82415">MONOCHROME1</para>
                <para xml:id="para_594bd44f-97d2-4914-9d1a-9183814c3135">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_b1bd452a-09cf-4792-9516-77f404530a0b">JPEG Extended</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_f435ebde-6ddf-4a26-825f-9358c0777751">1.2.840.10008.1.2.4.51</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_bea28c2d-d5e3-4374-ac34-aaf9901744c8">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_006a053d-8240-4a0b-a0c7-443ca8ae6f5e">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_bb5ed856-00f5-4260-bee5-9b53358f9691">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_8895f4ee-07ea-4350-ab71-fb8f6d2889b3">16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_57f38d9c-5fe2-41e7-a93f-f7554f8de271">12</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_69110862-0332-4b29-8dbf-c81b02defe81">11</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_2af116cd-cdcb-4d6c-ba69-0c56967a88c2">YBR_FULL_422</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
               <para xml:id="para_8f836445-dbe9-42a1-831d-d17c75e084f3">JPEG Baseline</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
               <para xml:id="para_366ccc69-3761-4eb9-96ce-8c4698039430">1.2.840.10008.1.2.4.50</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_29e3a35b-26d7-48f5-8be9-73dc65756704">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_8829d1de-e453-43fc-9c82-c23ebdb02e9c">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_464971a3-3698-45b6-85d6-d11191ff9e86">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_acdb439e-5b2d-4c10-bdba-115508ecd27b">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_e5954653-58d7-462c-8806-03e8fb831474">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_98c2777c-1138-4e1c-98b9-7e9a519502c5">7</para>
              </td>
            </tr>
          </tbody>
        </table> 
        <table frame="box" label="8.2.1-2" rules="all" xml:id="table_8.2.1-2">
          <caption>Valid Values of Pixel Data Related Attributes for JPEG Lossless Transfer Syntaxes using Standard Photometric Interpretations</caption>
          <thead>
            <tr valign="top">
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_fc2d258a-29ab-4297-b0cc-004585b87ab6">Photometric Interpretation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_09dc880b-c6d8-447a-b3f0-3f2ed4963257">Transfer Syntax</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_e3f59c6b-a6ca-4c79-aeb1-3dcc802b533d">Transfer Syntax UID</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_37ef8219-d5cc-4af7-879f-5b01973471dd">Samples per Pixel</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_e81e5c35-ab28-4ee1-a0a2-21546d55f02c">Planar Configuration</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_47d577ae-4207-40ca-a2f0-62ed1955e993">Pixel Representation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_20ecfe7c-81cb-43c2-b841-4eb2df26bc97">Bits Allocated</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_3541a82d-e480-424e-99cf-8e5750a734d5">Bits Stored</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_c2954b63-8874-4cf2-a499-d14810a896ce">High Bit</para>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a6921f95-72d8-4719-9a19-871911ea8422">MONOCHROME1</para>
                <para xml:id="para_e34c73e4-38a6-4572-80e1-8901113f8daf">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_079f2d09-c539-4d91-a44c-bad4658b33c8">JPEG Lossless, Non-Hierarchical</para>
                <para xml:id="para_45a5e156-21ca-4bf0-9c9f-ec2afc5ec924">JPEG Lossless, Non-Hierarchical, SV1</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_9f150637-8044-47d1-a5c1-b666a6fa563a">1.2.840.10008.1.2.4.57</para>
                <para xml:id="para_03f94dae-23f2-49a9-b0b2-4156d929043e">1.2.840.10008.1.2.4.70</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_4a139fae-7dcf-4bbf-b712-04c773404533">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_a7cd9ba0-5683-45ef-87c0-9e30f7c62bac">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_d463d992-9339-4bff-b494-926fe8e83ed8">0 or 1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_170d404f-b606-4fae-aec2-8d7310fa4bb3">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_b8ef92e7-18d5-487b-bbdd-df53ba92d8b7">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_febea6ce-dcb4-4a81-a4dc-0051d5450373">0-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_3735041e-8f90-4ff0-a34d-4f1d31d2a5ac">PALETTE COLOR</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_229ef4fe-2fb6-4736-abc4-99b1714382f0">JPEG Lossless, Non-Hierarchical</para>
                <para xml:id="para_9676f134-5881-4638-9247-27f7f4ae1758">JPEG Lossless, Non-Hierarchical, SV1</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_f7fdc91b-eed7-434f-9bb2-46fce548cc3d">1.2.840.10008.1.2.4.57</para>
                <para xml:id="para_939c086a-6f33-4d65-9e6f-2ceb219e5902">1.2.840.10008.1.2.4.70</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_cddcfefe-c25f-4c60-994c-a6ec204260ab">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_69a59093-a886-4487-baeb-80ca52eb613a">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_546ffadc-8174-4933-b8c2-154ef277a9ba">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_f086b011-fe41-428b-bb11-1e94cc27f9ad">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_7df81375-e56e-44df-ac70-3e0d9f8a6380">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_6422b522-ce76-43d4-a4ef-314bb1a5dc53">0-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_88156f50-11f9-42dc-ba0b-dd884dbf4fb7">YBR_FULL</para>
                <para xml:id="para_6318ce11-b3ce-4913-a94b-5e13c2bf10ac">RGB</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a33d1334-8e81-4fb7-8491-b66bf1b7439d">JPEG Lossless, Non-Hierarchical</para>
                <para xml:id="para_764b8a43-d0c0-499e-a630-a714b0ebe7b6">JPEG Lossless, Non-Hierarchical, SV1</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_c7d47145-683f-4674-a86f-021e7a138d01">1.2.840.10008.1.2.4.57</para>
                <para xml:id="para_e4d49879-5b98-4dc8-8115-eecf68064306">1.2.840.10008.1.2.4.70</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_61bb5100-71ee-468e-b5d9-2173c7bb6885">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_5ad99581-9f2b-4aec-aeec-e3c3d3e6e56b">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_87e3131c-4ef6-432d-8dee-a2ccd233a509">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_1832dee8-9eaf-40cc-ae75-0d0a0ebe91b5">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_8737a20b-2aaa-4ccd-a755-0a89e436815c">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_37e995a2-4bbb-4e54-bea6-ed2f28e8d7a3">0-15</para>
              </td>
            </tr>
          </tbody>
        </table>
        <para xml:id="para_c2ac8f4a-9824-420f-a861-6a1c61719ee7">The Pixel Data characteristics included in the JPEG Interchange Format shall be used to decode the compressed data stream.</para>
        <note>
          <orderedlist numeration="arabic">
            <listitem>
              <para xml:id="para_651e0fda-0843-4bef-b448-30495fd6330f">These requirements were formerly specified in terms of the "uncompressed pixel data from which the compressed data stream was derived". However, since the form of the "original" uncompressed data stream could vary between different implementations, this requirement is now specified in terms of consistency with what is encapsulated.</para>
              <para xml:id="para_07617cc6-a4a9-4751-9435-7b496910168d">When decompressing, should the characteristics explicitly specified in the compressed data stream (e.g., spatial subsampling or number of components or planar configuration) be inconsistent with those specified in the DICOM Data Elements, those explicitly specified in the compressed data stream should be used to control the decompression. The DICOM data elements, if inconsistent, can be regarded as suggestions as to the form in which an uncompressed Data Set might be encoded, subject to the general and IOD-specific rules for uncompressed Photometric Interpretation and Planar Configuration, which may require that decompressed data be converted to one of the permitted forms.</para>
            </listitem>
            <listitem>
              <para xml:id="para_6424f9ef-dfaa-40ff-9ca9-109d42a93363">Those characteristics not explicitly specified in the compressed data stream (e.g., the color space of the compressed components, which is not specified in the JPEG Interchange Format), or implied by the definition of the compression scheme (e.g., always unsigned in JPEG), can therefore be determined from the DICOM Data Element in the enclosing Data Set. For example a Photometric Interpretation of "YBR_FULL_422" would describe the color space that is commonly used to lossy compress images using JPEG. It is unusual to use an RGB color space for lossy compression, since no advantage is taken of correlation between the red, green and blue components (e.g., of luminance), and poor compression is achieved.</para>
            </listitem>
            <listitem>
              <para xml:id="para_e639eb95-8d71-43a2-9a21-017e0bd8eb56">The JPEG Interchange Format is distinct from the JPEG File Interchange Format (JFIF). The JPEG Interchange Format is defined in <xref linkend="biblio_ISOIEC10918-1"/> section 4.9.1, and refers to the inclusion of decoding tables, as distinct from the "abbreviated format" in which these tables are not sent (and the decoder is assumed to already have them). The JPEG Interchange Format does NOT specify the color space. The JPEG File Interchange Format, not part of the original JPEG standard, but defined in <xref linkend="biblio_ECMA_TR-098"/> and <xref linkend="biblio_ISOIEC10918-5"/>, is often used to store JPEG bit streams in consumer format files, and does include the ability to specify the color space of the components. The JFIF APP0 marker segment is NOT required to be present in DICOM encapsulated JPEG bit streams, and should not be relied upon to recognize the color space. Its presence is not forbidden (unlike the JP2 information for JPEG 2000 Transfer Syntaxes), but it is recommended that it be absent.</para>
            </listitem>
            <listitem>
              <para xml:id="para_b217610e-776a-4c22-88c2-6c765f687a4b">Should the compression process be incapable of encoding a particular form of pixel data representation (e.g., JPEG cannot encode signed integers, only unsigned integers), then ideally only the appropriate form should be "fed" into the compression process. However, for certain characteristics described in DICOM Data Elements but not explicitly described in the compressed data stream (such as Pixel Representation), then the DICOM Data Element should be considered to describe what has been compressed (e.g., the pixel data really is to be interpreted as signed if Pixel Representation so specifies).</para>
            </listitem>
            <listitem>
              <para xml:id="para_c141d2a1-75f6-426e-85fe-e99495d48030">DICOM Data Elements should not describe characteristics that are beyond the capability of the compression scheme used. For example, JPEG lossy processes are limited to 12 bits, hence the value of Bits Stored should be 12 or less. Bits Allocated is irrelevant, and is likely to be constrained by the Information Object Definition in <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/> to values of 8 or 16. Also, JPEG compressed data streams are always color-by-pixel and should be specified as such (a decoder can essentially ignore this element however as the value for JPEG compressed data is already known).</para>
            </listitem>
            <listitem>
              <para xml:id="para_e47ec72b-e48e-4484-8cfb-62153e734c28">If JPEG Compressed Pixel Data is decompressed and re-encoded in Native (uncompressed) form, then the Data Elements that are related to the Pixel Data encoding are updated accordingly. If color components are converted from YBR_FULL_422 to RGB during decompression and Native re-encoding, the Photometric Interpretation will be changed to RGB in the Data Set with the Native encoding.</para>
            </listitem>
          </orderedlist>
        </note>
      </section>
      <section label="8.2.2" status="3" xml:id="sect_8.2.2">
        <title>Run Length Encoding Image Compression</title>
        <para xml:id="para_85ca0802-972c-4db3-bc67-7f344dc8aeb8">DICOM provides a mechanism for supporting the use of Run Length Encoding (RLE) Image Compression, which is a byte oriented lossless compression scheme through the encapsulated Format (see <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/> of this Standard). <xref linkend="chapter_G" xrefstyle="template:Annex %n"/> defines RLE Image Compression and its Transfer Syntax.</para>
        <note>
          <para xml:id="para_68100f7a-9340-4d87-af3f-2f6950af6a3f">The RLE Image Compression algorithm described in <xref linkend="chapter_G" xrefstyle="template:Annex %n"/> is the compression used in the TIFF 6.0 specification known as the "PackBits" scheme.</para>
        </note>
        <para xml:id="para_f46aa917-6020-441c-a144-02b3a06c3e39">The use of the DICOM Encapsulated Format to support RLE Compressed Pixel Data requires that the Data Elements that are related to the Pixel Data encoding (e.g., Photometric Interpretation, Samples per Pixel, Planar Configuration, Bits Allocated, Bits Stored, High Bit, Pixel Representation, Rows, Columns, etc.) shall contain values that are consistent with the compressed data.</para>
        <para xml:id="para_d65635ee-be9b-4ec5-afe2-2d54380611e8">The requirements when using a Standard Photometric Interpretation (i.e., a Defined Term from PS.3. C.7.6.3.1.2) are specified in <xref linkend="table_8.2.2-1" xrefstyle="select: label"/>. No other Standard Photometric Interpretation values shall be used.</para>
        <table frame="box" label="8.2.2-1" rules="all" xml:id="table_8.2.2-1">
          <caption>Valid Values of Pixel Data Related Attributes for RLE Compression using Standard Photometric Interpretations</caption>
          <thead>
            <tr valign="top">
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_9498f082-afd7-4d92-96e8-f673102f896d">Photometric Interpretation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_043ab0e7-9013-41e1-9489-aeb5f9ba1d6a">Samples per Pixel</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_0d9e77f4-fbb6-4483-a0b4-19ef3678f3f6">Planar Configuration</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_7d86a88a-7806-40b2-8075-112b9d811c54">Pixel Representation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_3822907e-10a3-4159-836b-91b3ab6fc73d">Bits Allocated</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_fa6cc296-d46e-4731-a240-0c5a29f1aabf">Bits Stored</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_72c26f34-9f0c-4eff-bfc2-102029c8eaa4">High Bit</para>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_2571e683-4742-4c4f-9d68-a864b5557428">MONOCHROME1</para>
                <para xml:id="para_8fd1c4f0-bfb2-47c2-81e1-ebd5c0a39d04">MONOCHROME2</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_2e209ffb-1435-4ed0-b5ed-b2e5bd5333f8">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3c831d8a-cb79-4a03-8658-1c22b3070b57">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_594d6351-af64-429f-a212-4014281aa105">0 or 1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_37d05e51-16fa-4a62-9170-717430e91bfd">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_da080a8d-0471-4fa5-8d8c-54270dd4828c">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3f2b6659-a8d6-4d53-aa05-015652b870f5">0-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_433c1b2c-e69a-4e5b-a7f6-fb6c1976dfc3">PALETTE COLOR</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c5390d6d-cff2-4724-b077-e9439cd78a18">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_fd684e8d-9442-4d64-b669-007de8a10829">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_57274047-f337-474b-b71c-21eb3916db79">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_202459e8-e491-43f6-a7fb-25b5cede1ed8">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_01a07bd3-5bcd-49c4-b2bd-7ef9116c0eef">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_093b5316-aff3-4e7f-895a-6a56a43c1863">0-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_40e5ecfd-7329-42eb-864d-7016fc2639f2">YBR_FULL</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_03f5c942-430f-4737-87a5-08a4eaf9898a">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_547ae630-0bcd-4541-985b-29d832bf73ea"><emphasis role="bold"><emphasis role="underline">0 or </emphasis></emphasis>1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_8b149c18-e49a-4667-9d79-bd5595245670">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_a51cee16-dec5-472a-838a-0e22252c2431">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_7ef79b6f-e965-4293-bbd3-05906f788b9f">1-8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_30eea63a-d371-4ab5-978a-22a1f6db8ec1">0-7</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_4f3046da-87d6-4f67-bd01-0bae9cab3ba8">RGB</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_24c3d1c5-0809-4c54-91df-c87306a5e472">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_fd43d5bc-2292-437e-967e-e3ef1578d0b9"><emphasis role="bold"><emphasis role="underline">0 or </emphasis></emphasis>1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_345b2ba3-7ffe-4840-a78c-f38c256c07ea">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c03e1579-23ba-4963-a2e4-141b31f25352">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_57514f92-4054-4539-99a1-b7d92a6ced19">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_f3f87a75-8f23-48e9-9ab4-17030667af53">0-15</para>
              </td>
            </tr>
          </tbody>
        </table>
        <note>
          <orderedlist numeration="arabic">
            <listitem>
              <para xml:id="para_6f9c3153-4628-4f7e-a842-a7d81a6845ab">These requirements were formerly specified in terms of the "uncompressed pixel data from which the compressed data was derived". However, since the form of the "original" uncompressed data stream could vary between different implementations, this requirement is now specified in terms of consistency with what is encapsulated.</para>
            </listitem>
            <listitem>
              <para xml:id="para_d1bb8f9b-f160-4538-b2db-6717374398e2">Those characteristics not implied by the definition of the compression scheme (e.g., always color-by-plane in RLE), can therefore be determined from the DICOM Data Element in the enclosing Data Set. For example a Photometric Interpretation of "YBR_FULL" would describe the color space that is commonly used to losslessly compress images using RLE. It is unusual to use an RGB color space for RLE compression, since no advantage is taken of correlation between the red, green and blue components (e.g., of luminance), and poor compression is achieved (note however that the conversion from RGB to YBR_FULL is itself lossy. A new photometric interpretation may be proposed in the future that allows lossless conversion from RGB and also results in better RLE compression ratios).</para>
            </listitem>
            <listitem>
              <para xml:id="para_7844c3d7-4b28-4f14-bcf3-19476a836b6b">DICOM Data Elements should not describe characteristics that are beyond the capability of the compression scheme used. For example, RLE compressed data streams (using the algorithm mandated in the DICOM Standard) are always color-by-plane.</para>
            </listitem>
            <listitem>
              <para xml:id="para_57b858fe-3b23-47e7-bfc9-f67233f1188f">If RLE Compressed Pixel Data is decompressed and re-encoded in Native (uncompressed) form, then the Data Elements that are related to the Pixel Data encoding are updated accordingly. If color components are converted from YBR_FULL to RGB during decompression and Native re-encoding, the Photometric Interpretation will be changed to RGB in the Data Set with the Native encoding. It is permitted, however, to leave the YBR_FULL color components unconverted but decompressed in the Native format, in which case the Photometric Interpretation in the Data Set with the Native encoding would be YBR_FULL.</para>
            </listitem>
          </orderedlist>
        </note>
      </section>
      <section label="8.2.3" status="3" xml:id="sect_8.2.3">
        <title>JPEG-LS Image Compression</title>
          <para xml:id="para_eccda448-0381-4c4d-90d9-7e251c4a4e1e">DICOM provides a mechanism for supporting the use of JPEG-LS Image Compression through the Encapsulated Format (see PS3.3<!--<olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>-->). Annex A<!--<xref linkend="chapter_A" xrefstyle="template:Annex %n"/>--> defines a number of Transfer Syntaxes that reference the JPEG-LS Standard and provide a number of lossless (bit preserving) and lossy (near-lossless) compression schemes.</para>
        <note>
          <para xml:id="para_c0ca469e-6703-4121-a744-14e04ae8ce0f">The context where the usage of lossy (near-lossless) compression of medical images is clinically acceptable is beyond the scope of the DICOM Standard. The policies associated with the selection of appropriate compression parameters (e.g., compression ratio) for JPEG-LS lossy (near-lossless) compression is also beyond the scope of this standard.</para>
        </note>
        <para xml:id="para_573ea007-d4e1-4c07-a82a-2d6b13d109eb">The use of the DICOM Encapsulated Format to support JPEG-LS Compressed Pixel Data requires that the Data Elements that are related to the Pixel Data encoding (e.g., Photometric Interpretation, Samples per Pixel, Planar Configuration, Bits Allocated, Bits Stored, High Bit, Pixel Representation, Rows, Columns, etc.) shall contain values that are consistent with the characteristics of the compressed data stream. The Pixel Data characteristics included in the JPEG-LS Interchange Format shall be used to decode the compressed data stream.</para>
        <para xml:id="para_5976cf65-a31f-4316-8505-601ebc3b7401">The requirements when using a Standard Photometric Interpretation (i.e., a Defined Term from PS.3. C.7.6.3.1.2) are specified in <xref linkend="table_8.2.3-1" xrefstyle="select: label"/>. No other Standard Photometric Interpretation values shall be used.</para>
        <table frame="box" label="8.2.3-1" rules="all" xml:id="table_8.2.3-1">
          <caption>Valid Values of Pixel Data Related Attributes for JPEG-LS Compression using Standard Photometric Interpretations</caption>
          <thead>
            <tr valign="top">
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_5614a946-aaf0-4cc9-969a-7e97cbac7118">Photometric Interpretation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_282729ba-af3b-48e4-94ac-01a42fe3a826">Transfer Syntax</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_fe69eb9f-0071-4972-b4ba-5bb90ec081b7">Transfer Syntax UID</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_cb1006ca-9c60-4062-824c-db15cea5ebb8">Samples per Pixel</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_42a5bf49-c61b-40bc-bef8-84246c581007">Planar Configuration</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_153bc552-d052-431f-9db6-d8ff2deb4aa1">Pixel Representation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_3392603f-b982-4cc1-9bdb-fc78d7c4e971">Bits Allocated</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_8151c9db-bb77-48a9-b544-464edd77946c">Bits Stored</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_30a9d51a-51aa-4942-9e6e-aeb75cd062da">High Bit</para>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_79c646c6-64ec-4bb2-937f-18fc5efda3c6">MONOCHROME1</para>
                <para xml:id="para_c59f3f67-cb5b-4d4c-8b14-2d63de97bde6">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_78580c17-1197-4ad1-b639-d6a210771b42">JPEG-LS Lossless</para>
                <para xml:id="para_892f86d3-2c80-4c11-ae2c-e56ca11512ea">JPEG-LS Lossy (Near-Lossless)</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_cbf4a833-709c-444a-ba1a-e9be7da89f8f">1.2.840.10008.1.2.​4.​80</para>
                <para xml:id="para_35544077-233c-42be-88ed-fd1072bb7bc6">1.2.840.10008.1.2.​4.​81</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_7bc1c147-9f8b-42ac-834c-1eed4e5deb97">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_261ccf2c-94df-4f13-826c-13f1b388857e">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_e02a5158-ffcd-4010-ad63-eff07576d960">0 or 1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_09291f71-a537-4cbf-939e-d1559f7dbf38">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_5972ddaf-1761-4184-9555-7e6145ed8921">2-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_67f87c56-c5d3-45c3-87a0-f4c6be879e88">1-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_56364724-ae54-4cc9-a1b8-81f7921a0fbe">PALETTE COLOR</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a35bb2df-a5b3-4d38-8d57-646f8e6b9143">JPEG-LS Lossless</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_1313c4f0-dfe5-4133-86b7-2934ea12f7db">1.2.840.10008.1.2.​4.​80</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_e0cbb0cd-84b5-4346-9c43-4471699f8e94">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_fb1e894a-ac2c-4947-9e8b-a6dd9b54e3b5">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_0a62d444-ac08-40fc-b0c5-333284e9598c">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_9d1ca959-a91a-4f54-8611-63879351c653">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_4951654c-47d1-4583-b1be-96e0788220bb">2-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_940c5556-998a-47d2-a2d0-0946e8c3eb57">1-15</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_cff8ff5e-f778-4a65-820f-1ff150f37714">YBR_FULL</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_c5b7c170-7678-400a-977b-24c454b0b4e0">JPEG-LS Lossless</para>
                <para xml:id="para_0b89882a-8389-4447-abb6-71923eb1923f">JPEG-LS Lossy (Near-Lossless)</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_141f2a0a-9c1a-48e6-b563-ee213bb33a0e">1.2.840.10008.1.2.​4.​80</para>
                <para xml:id="para_c22e7b68-7dfb-4dd7-bf2f-aa72614d86c3">1.2.840.10008.1.2.​4.​81</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_7384f6e0-d83a-48ce-8cf5-a5ffb59acc94">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_b816ec37-4e76-4b33-a3fe-d4fad4ca9003"><emphasis role="bold"><emphasis role="strikethrough">1</emphasis><emphasis role="underline">0</emphasis></emphasis></para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_98e148f9-c2f4-4095-9db1-cb313492e911">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_2be96511-88be-4f5d-840a-400e9a4ca1fa">8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3c5f94c3-336f-4046-bfb7-901f9cae1369">2-8</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3d9f4f89-eef3-4d6c-91a2-9a066cbb8209">1-7</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_01ce45b2-ec24-4ccd-8fac-cad20ba44beb">RGB</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_5e69964a-1cb8-4dbc-a326-811f19ea2697">JPEG-LS Lossless</para>
                <para xml:id="para_dbc0a1bf-c0a5-42a9-8d7a-9042d58a1b7d">JPEG-LS Lossy (Near-Lossless)</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_e6ec1acf-8ef9-443d-aa9a-6f053e08c559">1.2.840.10008.1.2.​4.​80</para>
                <para xml:id="para_7224edd7-2bb4-476f-8402-99a3576467d2">1.2.840.10008.1.2.​4.​81</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_0aaeedaf-043d-4b16-b1bf-c766cf01c8be">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_cd9e6af4-39eb-4895-b294-d75178b5663c"><emphasis role="bold"><emphasis role="strikethrough">1</emphasis><emphasis role="underline">0</emphasis></emphasis></para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_b383ed94-b4ba-4bf7-bf6a-a59ddfb77ceb">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c3d84f94-2ff8-4229-9793-e0c47956e7c9">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_36b36dd3-845a-45e6-a277-b6946bd608be">2-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c9b84225-3167-43ff-bba9-b4df864bc830">1-15</para>
              </td>
            </tr>
          </tbody>
        </table>
        <note>
          <orderedlist numeration="arabic">
            <listitem>
              <para xml:id="para_e40960fc-63dd-45b0-8ed7-993b40cbd763">See also the notes in <xref linkend="sect_8.2.1" xrefstyle="select: label"/>.</para>
            </listitem>
            <listitem>
              <para xml:id="para_7eacfba3-42dd-43d0-b47f-45efb2fb200b">No color transformation Photometric Interpretation specific for JPEG-LS is currently defined in DICOM. Annex F of ISO 14495-2 describes a <foreignphrase xml:lang="en-GB">"Sample transformation for inverse colour transform"</foreignphrase> and a marker segment to encode its parameters, but this is not known to have been implemented. Common practice is to compress the RGB components unconverted, which sacrifices compression performance, and send the Photometric Interpretation as RGB. Though the YBR_RCT Photometric Interpretation and component conversion could theoretically be used, in the absence of DC shifting it results in signed values to be encoded, which are not supported by JPEG-LS.</para>
            </listitem>
            <listitem>
              <para xml:id="para_1510f0e0-33b0-4e0e-9d66-73f03399a37b">If JPEG-LS Compressed Pixel Data is decompressed and re-encoded in Native (uncompressed) form, then the Data Elements that are related to the Pixel Data encoding are updated accordingly. If color components are converted from any other Photometric Interpretation to RGB during decompression and Native re-encoding, the Photometric Interpretation will be changed to RGB in the Data Set with the Native encoding.</para>
            </listitem>
            <listitem>
                            <para xml:id="para_b61815a9-f533-4ae7-92f4-8add6d4310d6">The lower limit of 2 on Bits Stored (0028,0101) reflects the minimum JPEG-LS sample precision of 2.</para>
                        </listitem>
          </orderedlist>
         </note>
          <para><emphasis role="bold"><emphasis role="underline">The value of Planar Configuration (0028,0006) is irrelevant since the manner of encoding components is specified in the JPEG-LS bit stream as component, line or sample interleaved, hence it shall be set to 0.</emphasis></emphasis></para>
      </section>
      <section label="8.2.4" status="3" xml:id="sect_8.2.4">
        <title>JPEG 2000 Image Compression</title>
          <para xml:id="para_e87e36c7-4f0c-49e5-a267-38982870ce88">DICOM provides a mechanism for supporting the use of JPEG 2000 Image Compression through the Encapsulated Format (see PS.3<!--<olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>-->). Annex A<!--<xref linkend="chapter_A" xrefstyle="template:Annex %n"/>--> defines a number of Transfer Syntaxes that reference the JPEG 2000 Standard and provide lossless (bit preserving) and lossy compression schemes.</para>
        <note>
          <para xml:id="para_80ad309d-34ab-4927-9e16-8720489de547">The context where the usage of lossy compression of medical images is clinically acceptable is beyond the scope of the DICOM Standard. The policies associated with the selection of appropriate compression parameters (e.g., compression ratio) for JPEG 2000 lossy compression are also beyond the scope of this standard.</para>
        </note>
        <para xml:id="para_b8bb4636-3e99-4465-86d3-207414bb06a5">The use of the DICOM Encapsulated Format to support JPEG 2000 Compressed Pixel Data requires that the Data Elements that are related to the Pixel Data encoding (e.g., Photometric Interpretation, Samples per Pixel, Planar Configuration, Bits Allocated, Bits Stored, High Bit, Pixel Representation, Rows, Columns, etc.) shall contain values that are consistent with the characteristics of the compressed data stream. The Pixel Data characteristics included in the JPEG 2000 bit stream shall be used to decode the compressed data stream.</para>
        <para xml:id="para_97016112-b006-4f38-8ab5-2a3fe84802dd">The requirements when using a Standard Photometric Interpretation (i.e., a Defined Term from PS.3. C.7.6.3.1.2) are specified in <xref linkend="table_8.2.4-1" xrefstyle="select: label"/>. No other Standard Photometric Interpretation values shall be used.</para>
        <table frame="box" label="8.2.4-1" rules="all" xml:id="table_8.2.4-1">
          <caption>Valid Values of Pixel Data Related Attributes for JPEG 2000 Transfer Syntaxes using Standard Photometric Interpretations</caption>
          <thead>
            <tr valign="top">
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_35459f36-f10b-4394-a1ff-3c3d17390cd0">Photometric Interpretation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_9862e1ce-b92f-4aae-87b7-c3144e3d4ffd">Transfer Syntax</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_e2aec428-4649-4e8b-8c12-53e68a4a8c75">Transfer Syntax UID</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_aa415c66-8591-4ca1-80e3-ba87452adb65">Samples per Pixel</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_5ef10fcd-48bf-4370-bc2c-b5b6cb46c4eb">Planar Configuration</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_a899853b-ede1-4880-8cb7-8a082a7c5466">Pixel Representation</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_b9b49268-11f3-432d-840f-ca42b1ee5e73">Bits Allocated</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_7db87f1d-ca80-4caa-a4a0-037b27e1e167">Bits Stored</para>
              </th>
              <th align="center" colspan="1" rowspan="1">
                <para xml:id="para_d84053a1-54bc-446e-81bd-b0b908771ccc">High Bit</para>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_16c240c9-28ce-4ae3-8f69-f5d97ab83591">MONOCHROME1</para>
                <para xml:id="para_7cc96afd-0ebb-47a4-9e14-03250aa5b058">MONOCHROME2</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_17d2e1f8-9cdc-49b2-a21c-b1601acfd9f5">JPEG 2000 (Lossless Only)</para>
                <para xml:id="para_ff5c01d5-9833-4def-94c2-f056111e868f">JPEG 2000</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_8b641476-7e40-4e9a-b0b2-83772114571d">1.2.840.10008.1.2.​4.​90</para>
                <para xml:id="para_a6db3b63-ad11-4848-9c4a-ebe4f9ec973d">1.2.840.10008.1.2.​4.​91</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_ea57ed1e-ee8a-4cdd-900d-0f68de3fd328">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_4a5df3bc-c8f0-45ac-a5fc-ba2f58aec4eb">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3aa61a0f-8f00-4be6-87a6-e70cc09ede1c">0 or 1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3f6cee1e-045f-4064-b8bf-6d4b4f7d5f6c">8, 16, 24, 32 or 40</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_73f00d00-8eb9-46ad-82a6-99b600dbef2f">1-38</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_84648432-7845-48b2-a4fb-43b53007b813">0-37</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_d4dc64d9-52b2-4884-a36d-52dacb670f86">PALETTE COLOR</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a46dfe18-3634-4911-a2bf-7d35417c69e2">JPEG 2000 (Lossless Only)</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_1635000b-f50f-46ec-bbb8-15ee71b0dc9e">1.2.840.10008.1.2.​4.​90</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_429bb8b2-b569-4c49-8df8-6f4a6a80f413">1</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_0ecc50a9-2e90-4d82-81ca-01193f01b0f2">absent</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_819c3c16-c6aa-4107-9e7d-704507866c1e">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_37a0f877-7d8d-49cb-ac77-0317c115cd42">8 or 16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_30f57a3a-d896-4053-81a6-0a56a6974d28">1-16</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_fdf16c43-4618-44ad-b2a4-feee75840c6e">0-15</para>
              </td>
            </tr>    <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_e03a8539-6991-4f28-98cb-3ee92acc85b9">YBR_RCT</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_84dddd64-a1cf-488e-b6d7-c2e41ad5067f">JPEG 2000 (Lossless Only)</para>
                <para xml:id="para_f7d4c34b-0db8-4827-9295-b6cafdfe4b86">JPEG 2000</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_0dec6996-d462-4a84-97e2-1d5ab3edff14">1.2.840.10008.1.2.​4.​90</para>
                <para xml:id="para_78328edd-16d7-4b6e-93bb-748956aeef38">1.2.840.10008.1.2.​4.​91</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_00a93500-8c13-4e58-ad5f-f40b70edcaa6">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_84397e4d-a848-4546-861d-f82c37cabda6">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_8f339a30-199e-48e4-aafe-fc265cdd1d26">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_3ba7e3b1-b74d-498c-bf09-46fe5e5dea59">8, 16, 24, 32 or 40</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_5f7f16b0-b549-48b2-9e0d-975bb72af52e">1-38</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_4fafeadc-bdf7-4f74-b50c-d21e394d52c6">0-37</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a63776b4-993e-49c3-be41-1728dca36c7a">YBR_ICT</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_eb2572d8-27e6-4d29-97a9-38ebcbba11f3">JPEG 2000</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_ef483df6-2b49-46c5-a7ed-53e9d4f80720">1.2.840.10008.1.2.4.91</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c9c4ce94-427c-447a-b740-98f7566e8953">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_de2ed178-0f00-403b-9bdf-9119e3411a76">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_4b4698ba-ffb1-4d9c-b539-aa8d2682642c">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_755cf1d4-9c4f-42ae-9210-b5dea3f8642c">8, 16, 24, 32 or 40</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_1da8a624-18a7-447e-b482-365c6e10af0d">1-38</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_10e3b01a-35ae-4b89-930c-af44089288d0">0-37</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_0c1d7688-0053-4680-863a-d8bdf5e31e1a">RGB</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_fc6dbc64-b91f-4836-98cd-3ffcc82c9918">JPEG 2000 (Lossless Only)</para>
                <para xml:id="para_18ccd3ea-b762-4f61-b82c-cdd76193a597">JPEG 2000</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_3e7e7961-1e52-491d-a1cc-f0e51cb8d35e">1.2.840.10008.1.2.​4.​90</para>
                <para xml:id="para_2ae97037-c28a-4b42-a2bd-0f3f3b71a53b">1.2.840.10008.1.2.​4.​91</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_b0ed4cbc-9003-41d8-ad96-5d7192aa7f9e">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_41295474-3f69-4f77-8afb-3f5e6de63a0c">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_c1d28b66-4390-48f3-93b8-359e3d10f943">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_1f1ae7ae-9ec7-40a2-8f99-efd06623e9d6">8, 16, 24, 32 or 40</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_ec88d6cd-5f47-4ee3-9700-5a7ec63d7fb8">1-38</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_540dce22-3115-497d-9f16-e14d8387e594">0-37</para>
              </td>
            </tr>
            <tr valign="top">
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a378332d-c41d-44d2-b3a6-c633b76e9da4">YBR_FULL</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_a725b70b-7405-45ea-bb3b-3f99833655a5">JPEG 2000 (Lossless Only)</para>
                <para xml:id="para_97a7fb96-25b0-4592-9a47-e36809672daf">JPEG 2000</para>
              </td>
              <td align="left" colspan="1" rowspan="1">
                <para xml:id="para_7297b7fa-e579-4144-8b22-9a79eef16943">1.2.840.10008.1.2.​4.​90</para>
                <para xml:id="para_26b04ca1-626f-44b2-bf5d-e1529cb2e166">1.2.840.10008.1.2.​4.​91</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_5cd010d9-b3b7-41f9-9e7f-0608bd0bb176">3</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_e534fdd9-5e5e-4ac1-9b6b-4579adc44f35">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_f4630f8f-0623-499e-89c2-fb26bede4da1">0</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_72196ac2-2cad-4179-95bc-54aa44c7d346">8, 16, 24, 32 or 40</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_6c8cba46-c7fc-47e5-bcb3-23c9328b4723">1-38</para>
              </td>
              <td align="center" colspan="1" rowspan="1">
                <para xml:id="para_2b791323-4f7f-4328-8548-6996ec8bcabf">0-37</para>
              </td>
            </tr>
          </tbody>
        </table> 
        <note>
          <para xml:id="para_0e5c196d-7b04-42b4-9c18-22c0162d12ca">These requirements are specified in terms of consistency with what is encapsulated, rather than in terms of the uncompressed pixel data from which the compressed data stream may have been derived.</para>
        </note>
        <para xml:id="para_307b3170-88ee-4604-b4c4-958a8cc15009">When decompressing, should the characteristics explicitly specified in the compressed data stream be inconsistent with those specified in the DICOM Data Elements, those explicitly specified in the compressed data stream should be used to control the decompression. The DICOM data elements, if inconsistent, can be regarded as suggestions as to the form in which an uncompressed Data Set might be encoded, subject to the general and IOD-specific rules for uncompressed Photometric Interpretation and Planar Configuration, which may require that decompressed data be converted to one of the permitted forms.</para>
        <para xml:id="para_db847fdd-ca67-4516-bb90-45d161167bee">The JPEG 2000 bit stream specifies whether or not a reversible or irreversible multi-component (color) transformation [ISO 15444-1 Annex G], if any, has been applied. If no multi-component transformation has been applied, then the components shall correspond to those specified by the DICOM Attribute Photometric Interpretation (0028,0004). If the JPEG 2000 Part 1 reversible multi-component transformation has been applied then the DICOM Attribute Photometric Interpretation (0028,0004) shall be YBR_RCT. If the JPEG 2000 Part 1 irreversible multi-component transformation has been applied then the DICOM Attribute Photometric Interpretation (0028,0004) shall be YBR_ICT.</para>
        <note>
          <orderedlist numeration="arabic">
            <listitem>
              <para xml:id="para_08197219-168c-4756-88fc-be63881c1cbf">For example, single component may be present, and the Photometric Interpretation (0028,0004) may be MONOCHROME2.</para>
            </listitem>
            <listitem>
              <para xml:id="para_832bcbc5-922e-43d1-9f35-4cba78b53059">The application of a JPEG 2000 Part 1 reversible multi-component transformation is signaled in the JPEG 2000 bit stream by a value of 1 rather than 0 in the SGcod Multiple component transformation type of the COD marker segment [ISO 15444-1 Table A.17]. No other value of Photometric Interpretation than YBR_RCT or YBR_ICT is permitted when SGcod Multiple component transformation type is 1.</para>
            </listitem>
            <listitem>
              <para xml:id="para_0a77cfd2-db8f-40f4-8d23-3a10092406af">Though it would be unusual, would not take advantage of correlation between the red, green and blue components, and would not achieve effective compression, a Photometric Interpretation of RGB could be specified as long as no multi-component transformation [ISO 15444-1 Annex G] was specified by the JPEG 2000 bit stream. Alternative methods of decorrelation of the color components than those specified in [ISO 15444-1 Annex G] are permitted as defined in PS3.3, such as a Photometric Interpretation of YBR_FULL; this may be useful when converting existing YBR_FULL Pixel Data (e.g., in a different Transfer Syntax) without further loss.</para>
              <para xml:id="para_30071ffc-c6fa-43f8-84a7-56424cb8f633">In either case (Photometric Interpretation of RGB or YBR_FULL), the value of SGcod Multiple component transformation type would be 0.</para>
              <para xml:id="para_1d6dc6c4-c9e9-4b2b-8175-94181e7c3deb">
<olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/> may constrain the values of Photometric Interpretation for specific IODs.</para>
            </listitem>
            <listitem>
              <para xml:id="para_9146fe8f-7760-48f7-8a52-9c1dbf1ca927">Despite the application of a multi-component color transformation and its reflection in the Photometric Interpretation attribute, the "color space" remains undefined. There is currently no means of conveying "standard color spaces" either by fixed values (such as sRGB) or by ICC profiles. Note in particular that the JP2 file header is not sent in the JPEG 2000 bit stream that is encapsulated in DICOM.</para>
            </listitem>
            <listitem>
              <para xml:id="para_e8f7c114-fe18-4f0d-a9f3-6b8367bfb3b2">If JPEG 2000 Compressed Pixel Data is decompressed and re-encoded in Native (uncompressed) form, then the Data Elements that are related to the Pixel Data encoding are updated accordingly. If color components are converted from YBR_ICT or YBR_RCT to RGB during decompression and Native re-encoding, the Photometric Interpretation will be changed to RGB in the Data Set with the Native encoding.</para>
            </listitem>
            <listitem>
              <para xml:id="para_3cbb0823-4c0f-4d89-b88b-7664eea9ef5d">The upper limit of 40 on Bits Allocated (0028,0100) and 38 on Bits Stored (0028,0101) reflects the maximum JPEG 2000 sample precision of 38 and the DICOM requirement to describe Bits Allocated (0028,0100) as multiples of bytes (octets).</para>
            </listitem>
          </orderedlist>
        </note>
        <para xml:id="para_a89ecd90-af2d-401e-99e6-e7ac76600d56">The JPEG 2000 bit stream is capable of encoding both signed and unsigned pixel values, hence the value of Pixel Representation (0028,0103) may be either 0 or 1 for monochrome Photometric Interpretations depending on what has been encoded (as specified in the SIZ marker segment in the precision and sign of component parameter).</para>
        <para xml:id="para_2b48c289-0ee9-4ec6-9685-99e6a1a9a16f">The value of Planar Configuration (0028,0006) is irrelevant since the manner of encoding components is specified in the JPEG 2000 standard, hence it shall be set to 0.</para>
      </section>
</section>
        
        
        
        <section label="G" status="1" xml:id="chapter_G">
            <title>Encapsulated RLE Compressed Images (Normative)</title>
            <section label="G.1" status="2" xml:id="sect_G.1">
                <title>Summary</title>
                <para xml:id="para_7226cecc-0aa5-498e-975c-007d2681a11e">This annex describes how to apply RLE Image Compression to an image or an individual frame of a multi-frame image. This method can be used for any image, independent of the values of the data elements that describe the image (i.e., Photometric Interpretation (0028,0004) and Bits Stored (0028,0101)).</para>
                <para xml:id="para_0084df9f-c291-4be8-8bda-031ec29b65b3">RLE Image Compression consists of the following steps:</para>
                <orderedlist numeration="arabic">
                    <listitem>
                        <para xml:id="para_c1e48d1f-ca2b-4340-b3af-15d6390099c9">The image is converted to a sequence of Composite Pixel Codes (see <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>).</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_26bd893b-213e-4e73-8aad-52f19feaf5aa">The Composite Pixel Codes are used to generate a set of Byte Segments (see <xref linkend="sect_G.2" xrefstyle="select: label"/>).</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_247de3a1-81d1-42ac-8e8a-316e1b4ce6c0">Each Byte Segment is RLE compressed to produce a RLE Segment (see Section G.4<!--<xref linkend="sect_G.4" xrefstyle="select: label"/>-->).</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_ddce0321-6e00-4d27-b349-32889cfddf6c">The RLE Header is appended in front of the concatenated RLE Segments (see Section G.5<!--<xref linkend="sect_G.5" xrefstyle="select: label"/>-->).</para>
                    </listitem>
                </orderedlist>
            </section>
            <section label="G.2" status="2" xml:id="sect_G.2">
                <title>Byte Segments</title>
                <para xml:id="para_fdeeb53a-6274-4532-ae75-600690b410d7">A Byte Segment is a series of bytes generated by decomposing the Composite Pixel Code (see <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>).</para>
                <para xml:id="para_6d3dcdf2-e9ae-4170-a5da-3168ac985140">If the Composite Pixel Code is not an integral number of bytes in size, sufficient Most Significant zero bits are added to make it an integral byte size. This is known as the Padded Composite Pixel Code.</para>
                <para xml:id="para_4b175cb6-fe3d-487b-a2c3-89bb68342b28">The first Segment is generated by stripping off the most significant byte of each Padded Composite Pixel Code and ordering these bytes sequentially. The second Segment is generated by repeating this process on the stripped Padded Composite Pixel Code continuing until the last Pixel Segment is generated by ordering the least significant byte of each Padded Component Pixel Code sequentially.</para>
                <note>
                    <orderedlist>
                        <listitem>
                            <para xml:id="para_e077ba60-fc25-41b5-8058-45dabdd41a7f">If Photometric Interpretation (0028, 0004) equals RGB and Bits Allocated equals 8, then three Segments are generated. The first one holds all the Red values, the second all the Green values, and the third all the Blue values.</para>
                        </listitem>
                        <listitem>
                            <para xml:id="para_16bd5512-a42f-47ce-9ddf-98806465f1d7">The use of separate segments implies that the Planar Configuration (0028,0006) <emphasis role="bold"><emphasis role="strikethrough">will always</emphasis><emphasis role="underline">could theoretically</emphasis></emphasis> be 1 for RLE compressed images<emphasis role="bold"><emphasis role="underline">, but for consistency with other Encapsulated (compressed) Transfer Syntaxes and restrictions on Planar Configuration in many IODs, it may be 0</emphasis></emphasis>.</para>
                        </listitem>
                    </orderedlist>
                </note>
            </section>
        </section>
      
    </chapter>
</book>
