<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0">
    <title>CP-1899</title>
    <subtitle>Number of Frames attribute should never have a value of zero</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>Submitted</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>2019/04/26</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>John Perry</para><para><link
                    xl:href="mailto:johnperry@dls.net"/></para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Submission Date</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>2019/02/19</para></td>
            </tr>
        </informaltable>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Correction Number CP-1899</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Log Summary: Number of Frames attribute should never have a value of zero</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>The Number of Frames attribute should never have a value of zero, since then there would be no image.</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="C.7.6.6" status="4" xml:id="sect_C.7.6.6">
            <title>Multi-frame Module</title>
            <table frame="box" label="C.7-14" rules="all" xml:id="table_C.7-14">
                <caption>Multi-frame Module Attributes</caption>
                <thead>
                    <tr valign="top">
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_0215757a-84e2-4bc2-9ee3-0bfde4e3e09a">Attribute Name</para>
                        </th>
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_30cf5c7b-d8a8-42fa-a344-25430cc63dcf">Tag</para>
                        </th>
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_e0015bb9-e34e-40cc-8570-034f0aa9ffef">Type</para>
                        </th>
                        <th align="center" colspan="1" rowspan="1">
                            <para xml:id="para_99064f22-5951-46a0-9d99-cd80be1e069c">Attribute Description</para>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr valign="top">
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_c6798678-5f49-4bf5-8b42-465ea686c28c">Number of Frames</para>
                        </td>
                        <td align="center" colspan="1" rowspan="1">
                            <para xml:id="para_37c045d9-4757-4c9c-b4ae-e3a6eb483edb">(0028,0008)</para>
                        </td>
                        <td align="center" colspan="1" rowspan="1">
                            <para xml:id="para_db393087-b151-4f48-976c-ccf996e74fc5">1</para>
                        </td>
                        <td align="left" colspan="1" rowspan="1">
                            <para xml:id="para_cf13eb17-5479-4d78-bc50-1918596fd8f3">Number of frames in a Multi-frame Image. See <xref linkend="sect_C.7.6.6.1.1" xrefstyle="select: label"/> for further explanation.</para>
                        </td>
                    </tr>
                </tbody>
            </table>
            <section label="C.7.6.6.1" status="5" xml:id="sect_C.7.6.6.1">
                <title>Multi-frame Attribute Descriptions</title>
                <section label="C.7.6.6.1.1" status="6" xml:id="sect_C.7.6.6.1.1">
                    <title>Number of Frames and Frame Increment Pointer</title>
                    <para xml:id="para_d3d36f49-02b9-40f8-bce7-c52aa298a3d3">A Multi-frame Image is defined as a Image whose pixel data consists of a sequential set of individual Image Pixel frames. A Multi-frame Image is transmitted as a single contiguous stream of pixels. Frame headers do not exist within the data stream.</para>
                    <para xml:id="para_9f634dd5-ee84-4c51-8b3b-3f8ce3fa43b6">Each individual frame shall be defined (and thus can be identified) by the Attributes in the <xref linkend="sect_C.7.6.3" xrefstyle="select: title"/> (see <xref linkend="sect_C.7.6.3" xrefstyle="select: label"/>). All Image IE Attributes shall be related to the first frame in the Multi-frame image.</para>
                    <para xml:id="para_1d5f78ad-b288-49f7-87e7-9dcf7c9e3ad0">The total number of frames contained within a Multi-frame Image is conveyed in the Number of Frames (0028,0008).<emphasis role="bold"><emphasis role="underline"> Number of Frames (0028,0008) shall have a value greater than zero.</emphasis></emphasis></para>
                </section>
            </section>
        </section>
        
        <section label="C.7.6.16" status="4" xml:id="sect_C.7.6.16">
          <title>Multi-frame Functional Groups Module</title>
          <table frame="box" label="C.7.6.16-1" rules="all" xml:id="table_C.7.6.16-1">
            <caption>Multi-frame Functional Groups Module Attributes</caption>
            <thead>
              <tr valign="top">
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_efd07f13-1243-42bd-93c8-919ea56a1145">Attribute Name</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_171895f0-b152-4207-973c-ffb9c84c6a01">Tag</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_d1a5c9f2-8074-4a22-b652-84b9ddd75672">Type</para>
                </th>
                <th align="center" colspan="1" rowspan="1">
                  <para xml:id="para_00043efd-ea22-4575-b910-c72be0c72adf">Attribute Description</para>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_57b15c28-50c9-4c02-8604-75f34911043d">Number of Frames</para>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_27542988-edb1-41a7-a5fc-9bcfe8c27414">(0028,0008)</para>
                </td>
                <td align="center" colspan="1" rowspan="1">
                  <para xml:id="para_00ba676a-0947-4fdb-b4cb-fabfd51a7f6b">1</para>
                </td>
                <td align="left" colspan="1" rowspan="1">
                  <para xml:id="para_0e0f6da7-1fac-4eba-81e1-48c472fd359b">Number of frames in a multi-frame image. See <xref linkend="sect_C.7.6.6.1.1" xrefstyle="select: label"/> for further explanation.</para>
                </td>
              </tr>
            </tbody>
          </table>
        </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.1" status="2" xml:id="sect_8.1">
            <title>Pixel and Overlay Data, and Related Data Elements</title>
            <section label="8.1.1" status="3" xml:id="sect_8.1.1">
                <title>Pixel Data Encoding of Related Data Elements</title>
                <para xml:id="para_3e55e85c-a189-418d-a160-3837b41c7240">In a multi-frame object that is transmitted in Native Format, the individual frames are not padded. The individual frames shall be concatenated and padding bits (if necessary) apply to the complete Value Field.<emphasis role="bold"><emphasis role="underline"> At least one frame shall be present.</emphasis></emphasis></para>
                <note>
                    <para xml:id="para_362cebd6-ea8c-4a91-a674-3cd2a3097ad2">Receiving applications should be aware that some older applications may send Pixel Data with excess padding, which was not explicitly prohibited in earlier versions of the Standard. Applications should be prepared to accept such Pixel Data elements, but may delete the excess padding. In no case should a sending application place private data in the padding data.</para>
                </note>
            </section>
        </section>
        
        <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">...</para>
      <para xml:id="para_6287384f-06a5-47f6-ab74-625074661b31">If sent in an Encapsulated Format (i.e., other than the Native Format) the Value Representation OB is used. The Pixel Cells are encoded according to the encoding process defined by one of the negotiated Transfer Syntaxes (see <xref linkend="chapter_A" xrefstyle="template:Annex %n"/>). The encapsulated pixel stream of encoded pixel data is segmented into one or more Fragments, each of which conveys its own explicit length. The sequence of Fragments of the encapsulated pixel stream is terminated by a delimiter, thus allowing the support of encoding processes where the resulting length of the entire pixel stream is not known until it is entirely encoded. This Encapsulated Format supports both Single-Frame and Multi-Frame images (as defined in <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>). <emphasis role="bold"><emphasis role="underline">At least one frame shall be present, and hence at least one
                        fragment will be present.</emphasis></emphasis></para>
      <note>
        <para xml:id="para_b50189ee-a299-4737-bea1-c0510c91ffe1">Depending on the Transfer Syntax, a frame may be entirely contained within a single fragment, or may span multiple fragments to support buffering during compression or to avoid exceeding the maximum size of a fixed length fragment. A recipient can detect fragmentation of frames by comparing the number of fragments (the number of Items minus one for the Basic Offset Table) with the number of frames. Some performance optimizations may be available to a recipient in the absence of fragmentation of frames, but an implementation that fails to support such fragmentation does not conform to the Standard.</para>
      </note>
</section>
        

        
        
        
        
        
          
        
         
    </chapter>
</book>
